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