]>
Commit | Line | Data |
---|---|---|
6bb65964 A |
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 |