]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # NeXT Makefile.postamble Template | |
3 | # Copyright 1993, NeXT Computer, Inc. | |
4 | # | |
5 | # This Makefile is used for configuring the standard app makefiles associated | |
6 | # with ProjectBuilder. | |
7 | # | |
8 | # Use this template to set attributes for a project, sub-project, bundle, or | |
9 | # palette. Each node in the project's tree of sub-projects and bundles | |
10 | # should have it's own Makefile.preamble and Makefile.postamble. Additional | |
11 | # rules (e.g., after_install) that are defined by the developer should be | |
12 | # defined in this file. | |
13 | # | |
14 | ############################################################################### | |
15 | # | |
16 | # Here are the variables exported by the common "app" makefiles that can be | |
17 | # used in any customizations you make to the template below: | |
18 | # | |
19 | # PRODUCT_ROOT - Name of top-level app-wrapper (e.g., Webster.app) | |
20 | # OFILE_DIR - Directory into which .o object files are generated. | |
21 | # (Note that this name is calculated based on the target | |
22 | # architectures specified in Project Builder). | |
23 | # DERIVED_SRC_DIR - Directory used for all other derived files | |
24 | # ALL_CFLAGS - All the flags passed to the cc(1) driver for compilations | |
25 | # | |
26 | # NAME - name of application, bundle, subproject, palette, etc. | |
27 | # LANGUAGE - langage in which the project is written (default "English") | |
28 | # ENGLISH - boolean flag set iff $(LANGUAGE) = "English" | |
29 | # JAPANESE - boolean flag set iff $(LANGUAGE) = "Japanese" | |
30 | # LOCAL_RESOURCES - localized resources (e.g. nib's, images) of project | |
31 | # GLOBAL_RESOURCES - non-localized resources of project | |
32 | # PROJECTVERSION - version of ProjectBuilder that output Makefile | |
33 | # APPICON - application icon file | |
34 | # DOCICONS - dock icon files | |
35 | # ICONSECTIONS - Specifies icon sections when linking executable | |
36 | # | |
37 | # CLASSES - Class implementation files in project. | |
38 | # HFILES - Header files in project. | |
39 | # MFILES - Other Objective-C source files in project. | |
40 | # CFILES - Other C source files in project. | |
41 | # PSWFILES - .psw files in the project | |
42 | # PSWMFILES - .pswm files in the project | |
43 | # SUBPROJECTS - Subprojects of this project | |
44 | # BUNDLES - Bundle subprojects of this project | |
45 | # OTHERSRCS - Other miscellaneous sources of this project | |
46 | # OTHERLINKED - Source files not matching a standard source extention | |
47 | # | |
48 | # LIBS - Libraries to link with when making app target | |
49 | # DEBUG_LIBS - Libraries to link with when making debug target | |
50 | # PROF_LIBS - Libraries to link with when making profile target | |
51 | # OTHERLINKEDOFILES - Other relocatable files to (always) link in. | |
52 | # | |
53 | # APP_MAKEFILE_DIR - Directory in which to find generic set of Makefiles | |
54 | # MAKEFILEDIR - Directory in which to find $(MAKEFILE) | |
55 | # MAKEFILE - Top level mechanism Makefile (e.g., app.make, bundle.make) | |
56 | # INSTALLDIR - Directory app will be installed into by 'install' target | |
57 | ||
58 | ||
59 | # Change defaults assumed by the standard app makefiles here. Edit the | |
60 | # following default values as appropriate. (Note that if no Makefile.postamble | |
61 | # exists, these values will have defaults set in common.make). | |
62 | ||
63 | # Add Makefile.preamble, Makefile.postamble, and Makefile.dependencies here if | |
64 | # you would like changes to them to invalidate previous builds. The project | |
65 | # depends on $(MAKEFILES) so that changes to Makefiles will trigger a re-build. | |
66 | #MAKEFILES = Makefile | |
67 | ||
68 | # Optimization flag passed to compiler: | |
69 | #OPTIMIZATION_CFLAG = -O | |
70 | ||
71 | # Flags always passed to compiler: | |
72 | #COMMON_CFLAGS = $(PROJECT_SPECIFIC_CFLAGS) -g -Wall | |
73 | ||
74 | # Flags passed to compiler in normal 'app' compiles: | |
75 | #NORMAL_CFLAGS = $(COMMON_CFLAGS) $(OPTIMIZATION_CFLAG) | |
76 | ||
77 | # Flags passed to compiler in 'debug' compiles: | |
78 | #DEBUG_CFLAGS = $(COMMON_CFLAGS) -DDEBUG | |
79 | ||
80 | # Flags passed to compiler in 'profile' compiles | |
81 | #PROFILE_CFLAGS = $(COMMON_CFLAGS) -pg $(OPTIMIZATION_CFLAG) -DPROFILE | |
82 | ||
83 | # Flags passed to yacc | |
84 | #YFLAGS = -d | |
85 | ||
86 | # Ownership and permissions of files installed by 'install' target | |
87 | #INSTALL_AS_USER = root # User to chown app to | |
88 | #INSTALL_AS_GROUP = wheel # Group to chgrp app to | |
89 | #INSTALL_PERMISSIONS = # If set, 'install' chmod's executable to this | |
90 | ||
91 | # Options to strip for bundles, apps with bundles, and apps without bundles, | |
92 | # respectively. | |
93 | #RELOCATABLE_STRIP_OPTS = -x -u | |
94 | #DYLD_APP_STRIP_OPTS = -A -n | |
95 | #APP_STRIP_OPTS = | |
96 | #TOOL_STRIP_OPTS = | |
97 | #LIBRARY_STRIP_OPTS = -x -S # Note: -S strips debugging symbols | |
98 | # (Note: APP_STRIP_OPTS and TOOL_STRIP_OPTS default to empty, but | |
99 | # developers doing their own dynamic loading should set this to | |
100 | # $(DYLD_APP_STRIP_OPTS)). | |
101 | ||
102 | ||
103 | ######################################################################### | |
104 | # Put rules to extend the behavior of the standard Makefiles here. Typical | |
105 | # user-defined rules are before_install and after_install (please don't | |
106 | # redefine things like install or app, as they are owned by the top-level | |
107 | # Makefile API), which are rules that get invoked before and after the install | |
108 | # target runs. Such rules should be specified with the '::' syntax rather than | |
109 | # a single colon. |