]> git.saurik.com Git - apple/libsystem.git/blob - Makefile
8b7bc07349a591adea8825fb79a54108d8e6bb29
[apple/libsystem.git] / Makefile
1 #
2 # Generated by the Apple Project Builder.
3 #
4 # NOTE: Do NOT change this file -- Project Builder maintains it.
5 #
6 # Put all of your customizations in files called Makefile.preamble
7 # and Makefile.postamble (both optional), and Makefile will include them.
8 #
9
10 NAME = System
11
12 PROJECTVERSION = 2.8
13 PROJECT_TYPE = Library
14
15 OTHERLINKED = SystemMath.s spinlock_stub.s spinlocktry_stub.s spinunlock_stub.s
16 OTHERLINKEDOFILES = SystemMath.o
17
18 OTHERSRCS = GNUmakefile Makefile.preamble Makefile Makefile.postamble \
19 System.order Info.plist CommPageSymbols.st
20
21 MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
22 CURRENTLY_ACTIVE_VERSION = YES
23 DEPLOY_WITH_VERSION_NAME = B
24 CODE_GEN_STYLE = DYNAMIC
25 MAKEFILE = library.make
26 NEXTSTEP_INSTALLDIR = $(USRLIBDIR)
27 WINDOWS_INSTALLDIR = /Library/Frameworks
28 PDO_UNIX_INSTALLDIR = /Library/Frameworks
29
30 ifneq ($(filter %64,$(RC_ARCHS)),)
31 LP64 = 1
32 endif
33 LIBS = -lc -lcommonCrypto -ldyldapis -linfo -lm -lmacho\
34 -lnotify -lunc -lkeymgr
35 ifndef LP64
36 LIBS += -lstreams -lkvm -llaunch
37 endif
38 DEBUG_LIBS = $(LIBS)
39 PROF_LIBS = $(LIBS)
40
41 ifdef ALTUSRLOCALLIBSYSTEM
42 LIBSYS = $(ALTUSRLOCALLIBSYSTEM)
43 else
44 LIBSYS = $(NEXT_ROOT)/usr/local/lib/system
45 endif
46
47 LIBRARY_PATHS = -L$(LIBSYS)
48 NEXTSTEP_PB_CFLAGS = -Wall -Werror -I$(NEXT_ROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
49 NEXTSTEP_PB_LDFLAGS = -nostdlib -all_load -multi_module -Wl,-search_paths_first
50
51
52 NEXTSTEP_OBJCPLUS_COMPILER = /usr/bin/cc
53 WINDOWS_OBJCPLUS_COMPILER = $(DEVDIR)/gcc
54 PDO_UNIX_OBJCPLUS_COMPILER = $(NEXTDEV_BIN)/gcc
55 NEXTSTEP_JAVA_COMPILER = /usr/bin/javac
56 WINDOWS_JAVA_COMPILER = $(JDKBINDIR)/javac.exe
57 PDO_UNIX_JAVA_COMPILER = $(JDKBINDIR)/javac
58
59 include $(MAKEFILEDIR)/platform.make
60
61 -include Makefile.preamble
62
63 include $(MAKEFILEDIR)/$(MAKEFILE)
64
65 -include Makefile.postamble
66
67 -include Makefile.dependencies