]> git.saurik.com Git - apple/libinfo.git/blame - Makefile
Libinfo-330.10.tar.gz
[apple/libinfo.git] / Makefile
CommitLineData
d49d4c81
A
1Project = info
2ProductType = staticlib
3Install_Dir = /usr/local/lib/system
4BuildDebug = YES
5BuildProfile = YES
6
7DIRS = dns gen lookup membership netinfo nis rpc util
8
9SubProjects = $(foreach DIR, $(DIRS), $(DIR).subproj)
10
11include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
12
13after_install:
14 $(LIBTOOL) -static -o $(SYMROOT)/libinfo.a \
15 $(foreach DIR, $(DIRS), $(SYMROOT)/lib$(DIR).a)
16 $(LIBTOOL) -static -o $(SYMROOT)/libinfo_debug.a \
17 $(foreach DIR, $(DIRS), $(SYMROOT)/lib$(DIR)_debug.a)
18 $(LIBTOOL) -static -o $(SYMROOT)/libinfo_profile.a \
19 $(foreach DIR, $(DIRS), $(SYMROOT)/lib$(DIR)_profile.a)
20 $(INSTALL_DIRECTORY) $(DSTROOT)/usr/local/lib/system
21 $(INSTALL_LIBRARY) $(SYMROOT)/libinfo.a $(DSTROOT)/usr/local/lib/system
22 $(INSTALL_LIBRARY) $(SYMROOT)/libinfo_debug.a $(DSTROOT)/usr/local/lib/system
23 $(INSTALL_LIBRARY) $(SYMROOT)/libinfo_profile.a $(DSTROOT)/usr/local/lib/system
24 $(RMDIR) $(DSTROOT)/scratch