]> git.saurik.com Git - apple/system_cmds.git/blobdiff - dynamic_pager.tproj/Makefile
system_cmds-433.8.tar.gz
[apple/system_cmds.git] / dynamic_pager.tproj / Makefile
index 6bc4214b4b0826486e3b45ff9599c423faab5fde..24bf360c03b0a17f95cb36c4e6412ace8b833647 100644 (file)
@@ -1,51 +1,25 @@
-#
-# 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.
-#
-
-NAME = dynamic_pager
-
-PROJECTVERSION = 2.8
-PROJECT_TYPE = Tool
+Project = dynamic_pager
+Install_Dir = /sbin
 
 CFILES = dynamic_pager.c
-
-OTHERSRCS = Makefile.preamble Makefile Makefile.postamble\
-            default_pager_alerts.defs backing_store_alerts.defs\
-            backing_store_triggers.defs
-
-
-MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
-CODE_GEN_STYLE = DYNAMIC
-MAKEFILE = tool.make
-NEXTSTEP_INSTALLDIR = /sbin
-LIBS = 
-DEBUG_LIBS = $(LIBS)
-PROF_LIBS = $(LIBS)
-
-
-NEXTSTEP_PB_CFLAGS = -no-cpp-precomp -DNO_DIRECT_RPC
-
-
-NEXTSTEP_BUILD_OUTPUT_DIR = /tmp/$(USER)/BUILD
-
-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 = $(NEXTDEV_BIN)/javac
-
-include $(MAKEFILEDIR)/platform.make
-
--include Makefile.preamble
-
-include $(MAKEFILEDIR)/$(MAKEFILE)
-
--include Makefile.postamble
-
--include Makefile.dependencies
+SERVERDEFS = default_pager_alerts.defs \
+       backing_store_triggers.defs
+USERDEFS = backing_store_alerts.defs
+MANPAGES = dynamic_pager.8
+LAUNCHD_PLISTS = com.apple.dynamic_pager.plist
+
+Extra_CC_Flags = -no-cpp-precomp -DNO_DIRECT_RPC
+
+Extra_LD_Flags = -framework CoreFoundation -framework IOKit
+Extra_MIG_Flags = -no-cpp-precomp -R -untyped -DNO_DIRECT_RPC
+
+include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
+
+Embedded=$(shell tconf --test TARGET_OS_EMBEDDED)
+        
+after_install:
+ifeq "$(Embedded)" "YES"
+       /usr/libexec/PlistBuddy -x \
+       -c "Add :Disabled bool true" \
+       "$(DSTROOT)/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist"
+endif