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