]>
Commit | Line | Data |
---|---|---|
876ca35d A |
1 | GCC = gcc-4.0 |
2 | GCCLIBS = -lgcc -lgcc_eh | |
8594eb27 | 3 | |
e29534dc | 4 | BEFORE_BUILD += comm-page-symbols |
435227b9 | 5 | BEFORE_INSTALL += profile debug |
4a9703e6 | 6 | AFTER_INSTALL += compat-next compat-bsd copy_plist |
435227b9 | 7 | |
10dba534 A |
8 | PROFILE_BUILD_LIBS := $(foreach LIBS, $(LIBS), $(LIBS)_profile) $(GCCLIBS) |
9 | DEBUG_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 |
12 | OTHER_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 |
17 | ifndef LP64 |
18 | OTHER_LIBTOOL_FLAGS += -sectorder __TEXT __text System.order | |
19 | endif | |
8594eb27 | 20 | |
e29534dc | 21 | BSD_LIBS = c info kvm m pthread dbm poll dl rpcsvc |
435227b9 A |
22 | |
23 | include $(MAKEFILEPATH)/CoreOS/ProjectBuilder/Makefile.Preamble.Common |