gpg: Screen keyserver responses.
[gnupg.git] / g10 / Makefile.am
index 3e81ae4..0ae4ef7 100644 (file)
@@ -42,13 +42,26 @@ else
 bzip2_source =
 endif
 
+if ENABLE_CARD_SUPPORT
+card_source = card-util.c
+else
+card_source =
+endif
+
+if NO_TRUST_MODELS
+trust_source =
+else
+trust_source = trustdb.c trustdb.h tdbdump.c tdbio.c tdbio.h
+endif
+
+
 if HAVE_W32_SYSTEM
 resource_objs += gpg-w32info.o
 endif
 
 common_source =  \
              gpg.h             \
-             cipher.h          \
+             dek.h             \
              build-packet.c    \
              compress.c        \
              $(bzip2_source)   \
@@ -97,11 +110,7 @@ gpg2_SOURCES  = gpg.c               \
              dearmor.c         \
              import.c          \
              export.c          \
-             trustdb.c         \
-             trustdb.h         \
-             tdbdump.c         \
-             tdbio.c           \
-             tdbio.h           \
+             migrate.c         \
              delkey.c          \
              keygen.c          \
              helptext.c        \
@@ -110,7 +119,8 @@ gpg2_SOURCES  = gpg.c               \
              call-dirmngr.c call-dirmngr.h \
              photoid.c photoid.h \
              call-agent.c call-agent.h \
-             card-util.c \
+             trust.c $(trust_source) \
+             $(card_source) \
              exec.c exec.h
 
 gpgv2_SOURCES = gpgv.c           \