summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2007-12-01 10:10:54 (GMT)
committerJohannes Sixt <johannes.sixt@telecom.at>2008-06-22 09:32:45 (GMT)
commit58eda02257a89df6e05f504bdf87e578d90f3b5e (patch)
tree4dcd7c73babdbf5b69e237fb9ea37d61d1383d42 /Makefile
parentf05951fe3ffe461eb9cb715bf7cd08535657f29c (diff)
downloadgit-58eda02257a89df6e05f504bdf87e578d90f3b5e.zip
git-58eda02257a89df6e05f504bdf87e578d90f3b5e.tar.gz
git-58eda02257a89df6e05f504bdf87e578d90f3b5e.tar.bz2
Compile some programs only conditionally.
These programs depend on difficult to emulate POSIX functionality. On Windows, we won't compile them. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b003e3e..95572ef 100644
--- a/Makefile
+++ b/Makefile
@@ -273,11 +273,9 @@ EXTRA_PROGRAMS =
# ... and all the rest that could be moved out of bindir to gitexecdir
PROGRAMS += $(EXTRA_PROGRAMS)
-PROGRAMS += git-daemon$X
PROGRAMS += git-fast-import$X
PROGRAMS += git-fetch-pack$X
PROGRAMS += git-hash-object$X
-PROGRAMS += git-imap-send$X
PROGRAMS += git-index-pack$X
PROGRAMS += git-merge-index$X
PROGRAMS += git-merge-tree$X
@@ -773,6 +771,10 @@ ifdef ZLIB_PATH
endif
EXTLIBS += -lz
+ifndef NO_POSIX_ONLY_PROGRAMS
+ PROGRAMS += git-daemon$X
+ PROGRAMS += git-imap-send$X
+endif
ifndef NO_OPENSSL
OPENSSL_LIBSSL = -lssl
ifdef OPENSSLDIR