]> git.saurik.com Git - apple/libinfo.git/blobdiff - lookup.subproj/Makefile.preamble
Libinfo-278.0.3.tar.gz
[apple/libinfo.git] / lookup.subproj / Makefile.preamble
index 0f382d03f17e3736fe91e6c7dfee5d17113f73d5..0300b74bb37e93670508d58fc19659657ef33073 100644 (file)
@@ -1,15 +1,16 @@
 RPCFILES = _lu_types.x
-OTHER_OFILES = lookupUser.o _lu_types_xdr.o
-AFTER_PREBUILD = _lu_types.h lookupUser.c 
-ASYNC_HDRS = netdb_async.h
-NETINFO_HDRS = lookup.h _lu_types.h lookup_types.h lookup.defs _lu_types.x
-BEFORE_INSTALLHDRS += $(SFILE_DIR) $(ASYNC_HDRS) $(NETINFO_HDRS)
-AFTER_INSTALLHDRS += async_hdrs netinfo_hdrs
+OTHER_OFILES = DSlibinfoMIGUser.o DSlibinfoMIGAsyncReplyServer.o
+AFTER_PREBUILD = _lu_types.h DSlibinfoMIGUser.c DSlibinfoMIGAsyncReplyServer.c
+PRIVATE_HDRS = kvbuf.h netdb_async.h
+NETINFO_HDRS = DSlibinfoMIG.h DSlibinfoMIGAsyncReply.h lookup.h _lu_types.h lookup_types.h lookup.defs _lu_types.x
+BEFORE_INSTALLHDRS += $(SFILE_DIR) $(PRIVATE_HDRS) $(NETINFO_HDRS)
+AFTER_INSTALLHDRS += private_hdrs netinfo_hdrs
 PUBLIC_HEADER_DIR_SUFFIX = 
 PRIVATE_HEADER_DIR = /usr/local/include
-ASYNC_HEADER_DIR_SUFFIX = /
+PRIVATE_HEADER_DIR_SUFFIX = /
 NETINFO_HEADER_DIR_SUFFIX = /netinfo
 AFTER_POSTINSTALL += install-man-page
+OTHER_CFLAGS += -D__MigTypeCheck=1 -D__DARWIN_NON_CANCELABLE=1
 
 # for building 64-bit
 # <rdar://problem/3819761> Libinfo need to build with gcc-3.5 and 3-way fat