2 GCCLIBS = -lgcc -lgcc_eh
4 BEFORE_BUILD += comm-page-symbols
5 BEFORE_INSTALL += profile debug
6 AFTER_INSTALL += compat-next compat-bsd copy_plist
8 PROFILE_BUILD_LIBS := $(foreach LIBS, $(LIBS), $(LIBS)_profile) $(GCCLIBS)
9 DEBUG_BUILD_LIBS := $(foreach LIBS, $(LIBS), $(LIBS)_debug ) $(GCCLIBS)
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
19 BSD_LIBS = c info kvm m pthread dbm poll dl rpcsvc
21 include $(MAKEFILEPATH)/CoreOS/ProjectBuilder/Makefile.Preamble.Common