]> git.saurik.com Git - apple/libsystem.git/blame - Makefile.preamble
Libsystem-111.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
7a301563
A
11ifeq ($(BUILD_TYPE),normal)
12LIBMATHCOMMONSUFFIX =
13else
14LIBMATHCOMMONSUFFIX = $(BUILD_TYPE_SUFFIX)
8081b39d 15endif
7a301563
A
16OTHER_LIBTOOL_FLAGS = \
17 -L/usr/lib/system -sub_library libmathCommon$(LIBMATHCOMMONSUFFIX) \
18 -lmathCommon$(LIBMATHCOMMONSUFFIX) \
19 -segcreate __DATA __commpage $(OFILE_DIR)/CommPageSymbols.o \
20 -Wl,-order_file,SystemInit.order -Wl,-order_file,System.order
8594eb27 21
7a301563 22BSD_LIBS = c info m pthread dbm poll dl rpcsvc proc
435227b9
A
23
24include $(MAKEFILEPATH)/CoreOS/ProjectBuilder/Makefile.Preamble.Common