]> git.saurik.com Git - apple/libinfo.git/blobdiff - gen.subproj/Makefile.preamble
Libinfo-278.0.3.tar.gz
[apple/libinfo.git] / gen.subproj / Makefile.preamble
index 8bcebdcf3fc195472c285cf26a12285ed45022d0..7f9c621bddcf24ea4cc16f2765a72e03916955ed 100644 (file)
@@ -1,4 +1,7 @@
+AFTER_POSTINSTALL += install-man-page
 OTHER_CFLAGS = \
+       -D__DARWIN_NON_CANCELABLE=1 \
+       -DINET6=1 \
        -Dsetservent=_old_setservent \
        -Dgetservent=_old_getservent \
        -Dendservent=_old_endservent \
@@ -29,3 +32,10 @@ OTHER_CFLAGS = \
        -Dgetfsspec=_old_getfsspec \
        -Dinitgroups=_old_initgroups \
        -I../lookup.subproj
+
+# for building 64-bit
+# <rdar://problem/3819761> Libinfo need to build with gcc-3.5 and 3-way fat
+NEXTSTEP_OBJCPLUS_COMPILER = $(CCOMPILER)
+
+$(OFILE_DIR)/_version.c:
+       /Developer/Makefiles/bin/version.pl Libinfo > $@