]> git.saurik.com Git - apple/system_cmds.git/blame_incremental - dynamic_pager.tproj/Makefile.postamble
system_cmds-258.tar.gz
[apple/system_cmds.git] / dynamic_pager.tproj / Makefile.postamble
... / ...
CommitLineData
1#PRECOMP_CFLAGS =
2#NONRECURSIVE_PRECOMPFLAGS =
3#OPTIMIZE_BUILD_CFLAGS =
4SRC_ROOT = $(SRCROOT)
5
6###############################################################################
7# Makefile.postamble
8# Copyright 1997, Apple Computer, Inc.
9#
10# Use this makefile, which is imported after all other makefiles, to
11# override attributes for a project's Makefile environment. This allows you
12# to take advantage of the environment set up by the other Makefiles.
13# You can also define custom rules at the end of this file.
14#
15###############################################################################
16#
17# These variables are exported by the standard makefiles and can be
18# used in any customizations you make. They are *outputs* of
19# the Makefiles and should be used, not set.
20#
21# PRODUCTS: products to install. All of these products will be placed in
22# the directory $(DSTROOT)$(INSTALLDIR)
23# GLOBAL_RESOURCE_DIR: The directory to which resources are copied.
24# LOCAL_RESOURCE_DIR: The directory to which localized resources are copied.
25# OFILE_DIR: Directory into which .o object files are generated.
26# DERIVED_SRC_DIR: Directory used for all other derived files
27#
28# ALL_CFLAGS: flags to pass when compiling .c files
29# ALL_MFLAGS: flags to pass when compiling .m files
30# ALL_CCFLAGS: flags to pass when compiling .cc, .cxx, and .C files
31# ALL_MMFLAGS: flags to pass when compiling .mm, .mxx, and .M files
32# ALL_PRECOMPFLAGS: flags to pass when precompiling .h files
33# ALL_LDFLAGS: flags to pass when linking object files
34# ALL_LIBTOOL_FLAGS: flags to pass when libtooling object files
35# ALL_PSWFLAGS: flags to pass when processing .psw and .pswm (pswrap) files
36# ALL_RPCFLAGS: flags to pass when processing .rpc (rpcgen) files
37# ALL_YFLAGS: flags to pass when processing .y (yacc) files
38# ALL_LFLAGS: flags to pass when processing .l (lex) files
39#
40# NAME: name of application, bundle, subproject, palette, etc.
41# LANGUAGE: langage in which the project is written (default "English")
42# LOCAL_RESOURCES: localized resources (e.g. nib's, images) of project
43# GLOBAL_RESOURCES: non-localized resources of project
44#
45# SRCROOT: base directory in which to place the new source files
46# SRCPATH: relative path from SRCROOT to present subdirectory
47#
48# INSTALLDIR: Directory the product will be installed into by 'install' target
49# PUBLIC_HDR_INSTALLDIR: where to install public headers. Don't forget
50# to prefix this with DSTROOT when you use it.
51# PRIVATE_HDR_INSTALLDIR: where to install private headers. Don't forget
52# to prefix this with DSTROOT when you use it.
53#
54# EXECUTABLE_EXT: Executable extension for the platform (i.e. .exe on Windows)
55#
56###############################################################################
57
58# Some compiler flags can be overridden here for certain build situations.
59#
60# WARNING_CFLAGS: flag used to set warning level (defaults to -Wmost)
61# DEBUG_SYMBOLS_CFLAGS: debug-symbol flag passed to all builds (defaults
62# to -g)
63# DEBUG_BUILD_CFLAGS: flags passed during debug builds (defaults to -DDEBUG)
64# OPTIMIZE_BUILD_CFLAGS: flags passed during optimized builds (defaults
65# to -O)
66# PROFILE_BUILD_CFLAGS: flags passed during profile builds (defaults
67# to -pg -DPROFILE)
68# LOCAL_DIR_INCLUDE_DIRECTIVE: flag used to add current directory to
69# the include path (defaults to -I.)
70# DEBUG_BUILD_LDFLAGS, OPTIMIZE_BUILD_LDFLAGS, PROFILE_BUILD_LDFLAGS: flags
71# passed to ld/libtool (defaults to nothing)
72
73
74# Library and Framework projects only:
75# INSTALL_NAME_DIRECTIVE: This directive ensures that executables linked
76# against the framework will run against the correct version even if
77# the current version of the framework changes. You may override this
78# to "" as an alternative to using the DYLD_LIBRARY_PATH during your
79# development cycle, but be sure to restore it before installing.
80
81
82# Ownership and permissions of files installed by 'install' target
83
84#INSTALL_AS_USER = root
85 # User/group ownership
86#INSTALL_AS_GROUP = wheel
87 # (probably want to set both of these)
88#INSTALL_PERMISSIONS =
89 # If set, 'install' chmod's executable to this
90
91
92# Options to strip. Note: -S strips debugging symbols (executables can be stripped
93# down further with -x or, if they load no bundles, with no options at all).
94
95#STRIPFLAGS = -S
96
97
98#########################################################################
99# Put rules to extend the behavior of the standard Makefiles here. Include them in
100# the dependency tree via cvariables like AFTER_INSTALL in the Makefile.preamble.
101#
102# You should avoid redefining things like "install" or "app", as they are
103# owned by the top-level Makefile API and no context has been set up for where
104# derived files should go.
105#
106MIGFLAGS = -no-cpp-precomp -R -untyped -DNO_DIRECT_RPC
107MIG = $(NEXT_ROOT)/usr/bin/mig
108
109default_pager_alerts_server.c : backing_store_alerts.c \
110 backing_store_triggers_server.c \
111 default_pager_alerts.defs
112 cp $(SRCROOT)/dynamic_pager.tproj/default_pager_alerts.defs $(SYM_DIR);
113 cd $(SYM_DIR) && \
114 $(MIG) $(MIGFLAGS) -user /dev/null -server default_pager_alerts_server.c -sheader default_pager_alerts_server.h default_pager_alerts.defs
115
116backing_store_alerts.c: \
117 backing_store_alerts.defs
118 cp $(SRCROOT)/dynamic_pager.tproj/backing_store_alerts.defs $(SYM_DIR);
119 cd $(SYM_DIR) && \
120 $(MIG) $(MIGFLAGS) -server /dev/null -user backing_store_alerts.c -header backing_store_alerts.h backing_store_alerts.defs
121
122backing_store_triggers_server.c: \
123 backing_store_triggers.defs
124 cp $(SRCROOT)/dynamic_pager.tproj/backing_store_triggers.defs $(SYM_DIR);
125 cd $(SYM_DIR) && \
126 $(MIG) $(MIGFLAGS) -user /dev/null -server backing_store_triggers_server.c -sheader backing_store_triggers_server.h backing_store_triggers.defs