X-Git-Url: https://git.saurik.com/apple/libinfo.git/blobdiff_plain/c29f2fccbf0d388644e29ea3e98c38a343688bd2..1a2907aabfebd6237767824a531b603e3e978a05:/Makefile diff --git a/Makefile b/Makefile index 6739fad..bd8fd83 100644 --- a/Makefile +++ b/Makefile @@ -1,57 +1,24 @@ -# -# Generated by the Apple 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. -# - -NAME = info - -PROJECTVERSION = 2.8 -PROJECT_TYPE = Library - -SUBPROJECTS = dns.subproj gen.subproj lookup.subproj membership.subproj\ - netinfo.subproj nis.subproj rpc.subproj util.subproj\ - mdns.subproj - -OTHERSRCS = Makefile.preamble Makefile Makefile.postamble - -MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles -CURRENTLY_ACTIVE_VERSION = YES -DEPLOY_WITH_VERSION_NAME = A -CODE_GEN_STYLE = DYNAMIC -MAKEFILE = library.make -NEXTSTEP_INSTALLDIR = /usr/local/lib/system -WINDOWS_INSTALLDIR = /Developer/Libraries -PDO_UNIX_INSTALLDIR = /lib -LIBS = -DEBUG_LIBS = $(LIBS) -PROF_LIBS = $(LIBS) - - - - -NEXTSTEP_PUBLIC_HEADERS_DIR = /usr/include - -WINDOWS_PUBLIC_HEADERS_DIR = /Developer/Headers/$(NAME) - -PDO_UNIX_PUBLIC_HEADERS_DIR = /Developer/Headers/$(NAME) - -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 - -include $(MAKEFILEDIR)/platform.make - --include Makefile.preamble - -include $(MAKEFILEDIR)/$(MAKEFILE) - --include Makefile.postamble - --include Makefile.dependencies +Project = info +ProductType = staticlib +Install_Dir = /usr/local/lib/system +BuildDebug = YES +BuildProfile = YES + +DIRS = dns gen lookup membership netinfo nis rpc util + +SubProjects = $(foreach DIR, $(DIRS), $(DIR).subproj) + +include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make + +after_install: + $(LIBTOOL) -static -o $(SYMROOT)/libinfo.a \ + $(foreach DIR, $(DIRS), $(SYMROOT)/lib$(DIR).a) + $(LIBTOOL) -static -o $(SYMROOT)/libinfo_debug.a \ + $(foreach DIR, $(DIRS), $(SYMROOT)/lib$(DIR)_debug.a) + $(LIBTOOL) -static -o $(SYMROOT)/libinfo_profile.a \ + $(foreach DIR, $(DIRS), $(SYMROOT)/lib$(DIR)_profile.a) + $(INSTALL_DIRECTORY) $(DSTROOT)/usr/local/lib/system + $(INSTALL_LIBRARY) $(SYMROOT)/libinfo.a $(DSTROOT)/usr/local/lib/system + $(INSTALL_LIBRARY) $(SYMROOT)/libinfo_debug.a $(DSTROOT)/usr/local/lib/system + $(INSTALL_LIBRARY) $(SYMROOT)/libinfo_profile.a $(DSTROOT)/usr/local/lib/system + $(RMDIR) $(DSTROOT)/scratch