]> git.saurik.com Git - apple/configd.git/blobdiff - Makefile
configd-395.10.tar.gz
[apple/configd.git] / Makefile
index 61c7f5a3e8fde2a837f827ce70d59f8d4e8d7e19..1102fd323d14e62541b3e00e2059c381effb117d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,46 +1,59 @@
+#----------------------------------------------------------------------
 #
-# Generated by the Apple Project Builder.
+# Build for [current] release
 #
-# NOTE: Do NOT change this file -- Project Builder maintains it.
+#----------------------------------------------------------------------
+
+all :
+       /usr/local/bin/buildit .                                \
+         -noinstallsrc -noinstallhdrs -noverify -nosum         \
+         -arch i386 -arch x86_64 -arch ppc                     \
+         -target All                                           \
+         -project configd                                      \
+         -configuration Debug                                  \
+         -release $(shell cat /usr/share/buildit/.releaseName) \
+
+#----------------------------------------------------------------------
 #
-# Put all of your customizations in files called Makefile.preamble
-# and Makefile.postamble (both optional), and Makefile will include them.
+# Build for SnowLeopard, SUSnowXXX, ...
 #
+# Note: assumes that the "pppcontroller_sendmsg" routine has been defined
+#       in pppcontroller.defs.
+#
+#----------------------------------------------------------------------
+
+PROJECT=$(shell basename `pwd -P`)
+
+SNOW_CFLAGS += -D__MAC_10_7=1060
+SNOW_CFLAGS += -D__AVAILABILITY_INTERNAL__MAC_10_7=__AVAILABILITY_INTERNAL__MAC_10_6
+SNOW_CFLAGS += -D__AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_7=__AVAILABILITY_INTERNAL__MAC_10_5
+#SNOW_CFLAGS += -DHAVE_PPPCONTROLLER_SENDMSG=YES
+
+snow :
+       /usr/local/bin/buildit .                                \
+         -noinstallsrc -noinstallhdrs -noverify -nosum         \
+         -arch i386 -arch x86_64 -arch ppc                     \
+         -target All                                           \
+         -project ${PROJECT}                                   \
+         -configuration Debug                                  \
+         -release $(shell cat /usr/share/buildit/.releaseName) \
+         -othercflags "\"$(SNOW_CFLAGS)\""                     \
+
+#----------------------------------------------------------------------
+#
+# Build for Lion, SULionXXX, ...
+#
+#----------------------------------------------------------------------
 
-NAME = configd
-
-PROJECTVERSION = 2.8
-PROJECT_TYPE = Aggregate
-
-TOOLS = configd.tproj scselect.tproj scutil.tproj
-
-FRAMEWORK_SUBPROJECTS = SystemConfiguration.fproj
-
-OTHERSRCS = Makefile.preamble Makefile Makefile.postamble
-
-MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
-CODE_GEN_STYLE = DYNAMIC
-MAKEFILE = aggregate.make
-LIBS = 
-DEBUG_LIBS = $(LIBS)
-PROF_LIBS = $(LIBS)
-
-
-
-
-NEXTSTEP_OBJCPLUS_COMPILER = /usr/bin/cc
-WINDOWS_OBJCPLUS_COMPILER = $(DEVDIR)/gcc
-PDO_UNIX_OBJCPLUS_COMPILER = $(NEXTDEV_BIN)/gcc
-NEXTSTEP_JAVA_COMPILER = /usr/bin/javac
-WINDOWS_JAVA_COMPILER = $(JDKBINDIR)/javac.exe
-PDO_UNIX_JAVA_COMPILER = $(JDKBINDIR)/javac
-
-include $(MAKEFILEDIR)/platform.make
-
--include Makefile.preamble
-
-include $(MAKEFILEDIR)/$(MAKEFILE)
+LION_CFLAGS=
 
--include Makefile.postamble
+lion :
+       /usr/local/bin/buildit .                                \
+         -noinstallsrc -noinstallhdrs -noverify -nosum         \
+         -arch i386 -arch x86_64                               \
+         -target All                                           \
+         -project ${PROJECT}-${VERSION}                        \
+         -configuration Debug                                  \
+         -release $(shell cat /usr/share/buildit/.releaseName) \
+         -othercflags "$(LION_CFLAGS)"                         \
 
--include Makefile.dependencies