X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/34d340d711a2b033f5da480ed7b5eb147679a588..916eb79ee6e2fd3e1ab08275e76ec4e126cab685:/getconf.tproj/Makefile?ds=sidebyside diff --git a/getconf.tproj/Makefile b/getconf.tproj/Makefile index 37f83c9..5e86b05 100644 --- a/getconf.tproj/Makefile +++ b/getconf.tproj/Makefile @@ -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 $< > $@