]> git.saurik.com Git - apple/configd.git/blob - Makefile
configd-395.10.tar.gz
[apple/configd.git] / Makefile
1 #----------------------------------------------------------------------
2 #
3 # Build for [current] release
4 #
5 #----------------------------------------------------------------------
6
7 all :
8 /usr/local/bin/buildit . \
9 -noinstallsrc -noinstallhdrs -noverify -nosum \
10 -arch i386 -arch x86_64 -arch ppc \
11 -target All \
12 -project configd \
13 -configuration Debug \
14 -release $(shell cat /usr/share/buildit/.releaseName) \
15
16 #----------------------------------------------------------------------
17 #
18 # Build for SnowLeopard, SUSnowXXX, ...
19 #
20 # Note: assumes that the "pppcontroller_sendmsg" routine has been defined
21 # in pppcontroller.defs.
22 #
23 #----------------------------------------------------------------------
24
25 PROJECT=$(shell basename `pwd -P`)
26
27 SNOW_CFLAGS += -D__MAC_10_7=1060
28 SNOW_CFLAGS += -D__AVAILABILITY_INTERNAL__MAC_10_7=__AVAILABILITY_INTERNAL__MAC_10_6
29 SNOW_CFLAGS += -D__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_7=__AVAILABILITY_INTERNAL__MAC_10_5
30 #SNOW_CFLAGS += -DHAVE_PPPCONTROLLER_SENDMSG=YES
31
32 snow :
33 /usr/local/bin/buildit . \
34 -noinstallsrc -noinstallhdrs -noverify -nosum \
35 -arch i386 -arch x86_64 -arch ppc \
36 -target All \
37 -project ${PROJECT} \
38 -configuration Debug \
39 -release $(shell cat /usr/share/buildit/.releaseName) \
40 -othercflags "\"$(SNOW_CFLAGS)\"" \
41
42 #----------------------------------------------------------------------
43 #
44 # Build for Lion, SULionXXX, ...
45 #
46 #----------------------------------------------------------------------
47
48 LION_CFLAGS=
49
50 lion :
51 /usr/local/bin/buildit . \
52 -noinstallsrc -noinstallhdrs -noverify -nosum \
53 -arch i386 -arch x86_64 \
54 -target All \
55 -project ${PROJECT}-${VERSION} \
56 -configuration Debug \
57 -release $(shell cat /usr/share/buildit/.releaseName) \
58 -othercflags "$(LION_CFLAGS)" \
59