aboutsummaryrefslogtreecommitdiffstats
path: root/common/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-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