]> git.saurik.com Git - apple/mdnsresponder.git/blob - Makefile
mDNSResponder-878.70.2.tar.gz
[apple/mdnsresponder.git] / Makefile
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 $(MAKEFILEPATH)/pb_makefiles/platform.make
18
19 MVERS = "mDNSResponder-878.70.2"
20
21 VER =
22 ifneq ($(strip $(GCC_VERSION)),)
23 VER = -- GCC_VERSION=$(GCC_VERSION)
24 endif
25 echo "VER = $(VER)"
26
27 installSome:
28 ifneq ($(findstring iphoneos, $(shell echo '$(SDKROOT)' | tr '[:upper:]' '[:lower:]')),)
29 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target Build\ Some\ iOS $(VER)
30 else
31 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target Build\ Some $(VER)
32 endif
33
34 SystemLibraries:
35 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target SystemLibraries $(VER)
36
37 install:
38 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) $(VER)
39
40 installsrc:
41 ditto . "$(SRCROOT)"
42
43 installhdrs::
44 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild installhdrs OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target SystemLibraries $(VER)
45 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild installhdrs OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target dns_services $(VER)
46
47 java:
48 cd "$(SRCROOT)/mDNSMacOSX"; xcodebuild install OBJROOT=$(OBJROOT) SYMROOT=$(SYMROOT) DSTROOT=$(DSTROOT) MVERS=$(MVERS) SDKROOT=$(SDKROOT) -target libjdns_sd.jnilib $(VER)
49
50 clean::
51 echo clean