]> git.saurik.com Git - apple/system_cmds.git/blobdiff - getconf.tproj/Makefile
system_cmds-433.tar.gz
[apple/system_cmds.git] / getconf.tproj / Makefile
index 37f83c9313ef5f06a3fcbb18bd9d4b92d8c1c7fd..5e86b05e6caf50f0a4846c1f04c411cfbcb5f65a 100644 (file)
@@ -1,52 +1,18 @@
-#
-# Generated by the NeXT Project Builder.
-#
-# NOTE: Do NOT change this file -- Project Builder maintains it.
-#
-# Put all of your customizations in files called Makefile.preamble
-# and Makefile.postamble (both optional), and Makefile will include them.
-#
+Project = getconf
+Install_Dir = /usr/bin
 
-NAME = getconf
+CFILES = getconf.c \
+       $(OBJROOT)/$(Project)/confstr.c \
+       $(OBJROOT)/$(Project)/limits.c \
+       $(OBJROOT)/$(Project)/pathconf.c \
+       $(OBJROOT)/$(Project)/progenv.c \
+       $(OBJROOT)/$(Project)/sysconf.c 
+MANPAGES = getconf.1
 
-PROJECTVERSION = 1.0
-PROJECT_TYPE = Tool
+Extra_CC_Flags = -include _fbsd_compat.h -DAPPLE_GETCONF_UNDERSCORE \
+               -DAPPLE_GETCONF_SPEC -I.
 
-CFILES = getconf.c
+include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
 
-OTHERSRCS = Makefile.preamble Makefile Makefile.postamble\
-       _fbsd_compat.h confstr.gperf fake-gperf.awk getconf.1\
-       getconf.h limits.gperf pathconf.gperf progenv.gperf sysconf.gperf 
-OTHER_GENERATED_SRCFILES = $(OBJROOT)/confstr.c $(OBJROOT)/limits.c\
-       $(OBJROOT)/pathconf.c $(OBJROOT)/progenv.c $(OBJROOT)/sysconf.c 
-OTHER_GENERATED_OFILES = confstr.o limits.o pathconf.o progenv.o sysconf.o 
-
-MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
-CODE_GEN_STYLE = DYNAMIC
-MAKEFILE = tool.make
-NEXTSTEP_INSTALLDIR = /usr/bin
-WINDOWS_INSTALLDIR = /usr/bin
-PDO_UNIX_INSTALLDIR = /usr/bin
-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)
-
--include Makefile.postamble
-
--include Makefile.dependencies
+$(OBJROOT)/$(Project)/%.c: %.gperf
+       LC_ALL=C awk -f fake-gperf.awk $< > $@