2 ProductType = staticlib
3 Install_Dir = /usr/local/lib/system
7 DIRS = dns gen lookup membership netinfo nis rpc util
9 SubProjects = $(foreach DIR, $(DIRS), $(DIR).subproj)
11 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
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