]> git.saurik.com Git - apple/libsystem.git/blob - Makefile.preamble
98ad143caadd4334828156f95a93a89a038df2f4
[apple/libsystem.git] / Makefile.preamble
1 BEFORE_BUILD += comm-page-symbols
2 BEFORE_INSTALL += profile debug
3 AFTER_INSTALL += compat-next compat-bsd copy_plist
4
5 PROFILE_BUILD_LIBS := $(foreach LIBS, $(LIBS), $(LIBS)_profile) -lcc_noc++
6 DEBUG_BUILD_LIBS := $(foreach LIBS, $(LIBS), $(LIBS)_debug ) -lcc_noc++
7
8 # the _stub.o files need to come first to ensure that they override the default stubs
9 OTHER_LIBTOOL_FLAGS = $(OFILE_DIR)/spinlock_stub.o \
10 $(OFILE_DIR)/spinlocktry_stub.o \
11 $(OFILE_DIR)/spinunlock_stub.o \
12 -L/usr/lib/system -sub_library libmathCommon \
13 -lmathCommon -sectorder __TEXT __text System.order \
14 -segcreate __DATA __commpage $(OFILE_DIR)/CommPageSymbols.o
15
16 BSD_LIBS = c info kvm m pthread dbm poll dl rpcsvc
17
18 include $(MAKEFILEPATH)/CoreOS/ProjectBuilder/Makefile.Preamble.Common