]>
Commit | Line | Data |
---|---|---|
8594eb27 A |
1 | ifeq ($(RC_ARCHS),ppc) |
2 | GCCLIBS = -lgcc-ppc | |
3 | OTHER_PRODUCT_DEPENDS += $(OFILE_DIR)/libgcc.unexport | |
4 | else | |
5 | GCCLIBS = -lcc_noc++ | |
6 | endif | |
7 | ||
e29534dc | 8 | BEFORE_BUILD += comm-page-symbols |
435227b9 | 9 | BEFORE_INSTALL += profile debug |
4a9703e6 | 10 | AFTER_INSTALL += compat-next compat-bsd copy_plist |
435227b9 | 11 | |
8594eb27 A |
12 | ifeq ($(RC_ARCHS),ppc) |
13 | LIBSYSTEM_LIBS := -lldbl128 $(LIBSYSTEM_LIBS) | |
14 | endif | |
15 | PROFILE_BUILD_LIBS := $(foreach LIB, $(LIBSYSTEM_LIBS), $(LIB)_profile) $(GCCLIBS) | |
16 | DEBUG_BUILD_LIBS := $(foreach LIB, $(LIBSYSTEM_LIBS), $(LIB)_debug) $(GCCLIBS) | |
435227b9 | 17 | |
e29534dc A |
18 | # the _stub.o files need to come first to ensure that they override the default stubs |
19 | OTHER_LIBTOOL_FLAGS = $(OFILE_DIR)/spinlock_stub.o \ | |
20 | $(OFILE_DIR)/spinlocktry_stub.o \ | |
21 | $(OFILE_DIR)/spinunlock_stub.o \ | |
22 | -L/usr/lib/system -sub_library libmathCommon \ | |
23 | -lmathCommon -sectorder __TEXT __text System.order \ | |
24 | -segcreate __DATA __commpage $(OFILE_DIR)/CommPageSymbols.o | |
435227b9 | 25 | |
8594eb27 A |
26 | ifeq ($(RC_ARCHS),ppc) |
27 | OTHER_LIBTOOL_FLAGS += -unexported_symbols_list $(OFILE_DIR)/libgcc.unexport | |
28 | endif | |
29 | ||
e29534dc | 30 | BSD_LIBS = c info kvm m pthread dbm poll dl rpcsvc |
435227b9 A |
31 | |
32 | include $(MAKEFILEPATH)/CoreOS/ProjectBuilder/Makefile.Preamble.Common |