]>
Commit | Line | Data |
---|---|---|
c9b9ae52 A |
1 | # |
2 | # Top level makefile for Build & Integration. | |
3 | # | |
4 | # This file is used to facilitate checking the mDNSResponder project | |
5 | # directly out of CVS and submitting to B&I at Apple. | |
6 | # | |
7 | # The various platform directories contain makefiles or projects | |
8 | # specific to that platform. | |
9 | # | |
10 | # B&I builds must respect the following target: | |
11 | # install: | |
12 | # installsrc: | |
13 | # installhdrs: | |
14 | # clean: | |
15 | # | |
16 | ||
17 | include /Developer/Makefiles/pb_makefiles/platform.make | |
18 | ||
294beb6e | 19 | MVERS = "mDNSResponder-320.5" |
67c8f8a1 A |
20 | |
21 | DDNSWRITECONFIG = "$(DSTROOT)/Library/Application Support/Bonjour/ddnswriteconfig" | |
22 | ||
23 | installSome: | |
24 | cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target Build\ Some | |
25 | ||
26 | SystemLibraries: | |
27 | cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target SystemLibraries | |
c9b9ae52 A |
28 | |
29 | install: | |
67c8f8a1 A |
30 | cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) |
31 | # Make sure ddnswriteconfig is owned by root:wheel, then make it setuid root executable | |
32 | if test -e $(DDNSWRITECONFIG) ; then chown 0:80 $(DDNSWRITECONFIG) ; chmod 4555 $(DDNSWRITECONFIG) ; fi | |
c9b9ae52 A |
33 | |
34 | installsrc: | |
67c8f8a1 | 35 | ditto . "$(SRCROOT)" |
c9b9ae52 A |
36 | |
37 | installhdrs:: | |
294beb6e | 38 | cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild installhdrs OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target SystemLibraries |
c9b9ae52 A |
39 | |
40 | clean:: | |
41 | echo clean |