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