X-Git-Url: https://git.saurik.com/apple/libinfo.git/blobdiff_plain/c29f2fccbf0d388644e29ea3e98c38a343688bd2..1a2907aabfebd6237767824a531b603e3e978a05:/membership.subproj/Makefile diff --git a/membership.subproj/Makefile b/membership.subproj/Makefile index 2544a39..20b6836 100644 --- a/membership.subproj/Makefile +++ b/membership.subproj/Makefile @@ -1,48 +1,36 @@ -# -# Generated by the NeXT Project Builder. -# -# NOTE: Do NOT change this file -- Project Builder maintains it. -# -# Put all of your customizations in files called Makefile.preamble -# and Makefile.postamble (both optional), and Makefile will include them. -# +Project = membership +ProductType = staticlib +Install_Dir = /scratch +BuildDebug = YES +BuildProfile = YES -NAME = membership +PRODUCT = $(shell tconf --product) -PROJECTVERSION = 2.8 -PROJECT_TYPE = Component - -HFILES = membership.h membershipPriv.h memberd_defines.h ntsid.h +HFILES = membership.h membershipPriv.h ntsid.h CFILES = membership.c -OTHERSRCS = Makefile.preamble Makefile Makefile.postamble memberd.defs - -MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles -CODE_GEN_STYLE = DYNAMIC -MAKEFILE = subproj.make -NEXTSTEP_INSTALLDIR = /Local/Developer/System -LIBS = -DEBUG_LIBS = $(LIBS) -PROF_LIBS = $(LIBS) - - -PUBLIC_HEADERS = membership.h ntsid.h - +MANPAGES = mbr_check_membership.3 mbr_uid_to_uuid.3 -NEXTSTEP_OBJCPLUS_COMPILER = /usr/bin/cc -WINDOWS_OBJCPLUS_COMPILER = $(DEVDIR)/gcc -PDO_UNIX_OBJCPLUS_COMPILER = $(NEXTDEV_BIN)/gcc -NEXTSTEP_JAVA_COMPILER = /usr/bin/javac -WINDOWS_JAVA_COMPILER = $(JDKBINDIR)/javac.exe -PDO_UNIX_JAVA_COMPILER = $(JDKBINDIR)/javac +ifeq ($(PRODUCT),MacOSX) +USERDEFS = /usr/local/include/DSmemberdMIG.defs +endif -include $(MAKEFILEDIR)/platform.make +Install_Headers = membership.h ntsid.h +Install_Private_Headers = membershipPriv.h --include Makefile.preamble +Extra_CC_Flags = -Wall -fno-common \ + -D__MigTypeCheck=1 -D__DARWIN_NON_CANCELABLE=1 +ifeq ($(PRODUCT),MacOSX) +Extra_CC_Flags += -DDS_AVAILABLE +endif -include $(MAKEFILEDIR)/$(MAKEFILE) +include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make --include Makefile.postamble +after_install: + @for LINK in mbr_gid_to_uuid.3 mbr_sid_to_uuid.3 mbr_uuid_to_id.3 \ + mbr_uuid_to_sid.3 ; do \ + $(LN) -f "$(DSTROOT)/usr/share/man/man3/mbr_uid_to_uuid.3" \ + "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \ + done --include Makefile.dependencies