@matheusbsbs / matheus-bagliano / commits / 58eda02257
Fork 0

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>

Johannes Sixt committed Dec 1, 2007 at 11:10 UTC 58eda02257a89df6e05f504bdf87e578d90f3b5e
1 file changed +4 -2
Makefile
+4 -2
@@ -273,11 +273,9 @@ EXTRA_PROGRAMS =
273
274 # ... and all the rest that could be moved out of bindir to gitexecdir
275 PROGRAMS += $(EXTRA_PROGRAMS)
276 -PROGRAMS += git-daemon$X
276 PROGRAMS += git-fast-import$X
277 PROGRAMS += git-fetch-pack$X
278 PROGRAMS += git-hash-object$X
280 -PROGRAMS += git-imap-send$X
279 PROGRAMS += git-index-pack$X
280 PROGRAMS += git-merge-index$X
281 PROGRAMS += git-merge-tree$X
@@ -773,6 +771,10 @@ ifdef ZLIB_PATH
771 endif
772 EXTLIBS += -lz
773
774 +ifndef NO_POSIX_ONLY_PROGRAMS
775 + PROGRAMS += git-daemon$X
776 + PROGRAMS += git-imap-send$X
777 +endif
778 ifndef NO_OPENSSL
779 OPENSSL_LIBSSL = -lssl
780 ifdef OPENSSLDIR