]> git.saurik.com Git - apple/mdnsresponder.git/blame - Makefile
mDNSResponder-379.27.tar.gz
[apple/mdnsresponder.git] / Makefile
CommitLineData
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
83fb1e36 17include $(MAKEFILEPATH)/pb_makefiles/platform.make
c9b9ae52 18
83fb1e36 19MVERS = "mDNSResponder-379.27"
67c8f8a1
A
20
21DDNSWRITECONFIG = "$(DSTROOT)/Library/Application Support/Bonjour/ddnswriteconfig"
83fb1e36
A
22VER =
23ifneq ($(strip $(GCC_VERSION)),)
24 VER = -- GCC_VERSION=$(GCC_VERSION)
25endif
26echo "VER = $(VER)"
67c8f8a1
A
27
28installSome:
83fb1e36 29 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target Build\ Some $(VER)
67c8f8a1
A
30
31SystemLibraries:
83fb1e36 32 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target SystemLibraries $(VER)
c9b9ae52
A
33
34install:
83fb1e36 35 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) $(VER)
67c8f8a1
A
36 # Make sure ddnswriteconfig is owned by root:wheel, then make it setuid root executable
37 if test -e $(DDNSWRITECONFIG) ; then chown 0:80 $(DDNSWRITECONFIG) ; chmod 4555 $(DDNSWRITECONFIG) ; fi
c9b9ae52
A
38
39installsrc:
67c8f8a1 40 ditto . "$(SRCROOT)"
c9b9ae52
A
41
42installhdrs::
83fb1e36 43 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild installhdrs OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target SystemLibraries $(VER)
c9b9ae52
A
44
45clean::
46 echo clean