]>
Commit | Line | Data |
---|---|---|
d49d4c81 A |
1 | Project = info |
2 | ProductType = staticlib | |
3 | Install_Dir = /usr/local/lib/system | |
4 | BuildDebug = YES | |
5 | BuildProfile = YES | |
6 | ||
7 | DIRS = dns gen lookup membership netinfo nis rpc util | |
8 | ||
9 | SubProjects = $(foreach DIR, $(DIRS), $(DIR).subproj) | |
10 | ||
11 | include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make | |
12 | ||
13 | after_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 |