summaryrefslogtreecommitdiffstats
path: root/common/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-03-22 16:00:54 +0100
committerWerner Koch <wk@gnupg.org>2010-03-22 16:00:54 +0100
commitd1591a97f4ea9705f18185c95775afeb965af68f (patch)
tree7f6fc5b50e90af5c8fdd2ca7168b25e127201e1d /common/Makefile.am
parentCode cleanup. (diff)
downloadgnupg2-d1591a97f4ea9705f18185c95775afeb965af68f.tar.xz
gnupg2-d1591a97f4ea9705f18185c95775afeb965af68f.zip
Reorganized the exechelp code.
Diffstat (limited to 'common/Makefile.am')
-rw-r--r--common/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 9a9cd4444..7544d08e7 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -77,7 +77,7 @@ common_sources = \
iobuf.c iobuf.h \
ttyio.c ttyio.h \
asshelp.c asshelp.h \
- exechelp.c exechelp.h \
+ exechelp.h \
signal.c \
audit.c audit.h \
srv.h \
@@ -89,6 +89,18 @@ common_sources = \
userids.c userids.h \
helpfile.c
+# To make the code easier to read we have split home some code into
+# separate source files.
+if HAVE_W32_SYSTEM
+if HAVE_W32CE_SYSTEM
+common_sources += exechelp-w32ce.c
+else
+common_sources += exechelp-w32.c
+endif
+else
+common_sources += exechelp-posix.c
+endif
+
# Sources only useful without PTH.
without_pth_sources = \
get-passphrase.c get-passphrase.h