]>
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 the directory to which resources are copied. | |
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 | ||
60 | ||
61 | # Change defaults assumed by the standard makefiles here. Edit the | |
62 | # following default values as appropriate. (Note that if no Makefile.postamble | |
63 | # exists, these values will have defaults set in common.make). | |
64 | ||
65 | # Versioning of frameworks, libraries, bundles, and palettes: | |
66 | #CURRENTLY_ACTIVE_VERSION = YES # Set to "NO" to produce a compatibility binary | |
67 | #DEPLOY_WITH_VERSION_NAME = A | |
68 | #COMPATIBILITY_PROJECT_VERSION = 1 | |
69 | ||
70 | # Some compiler flags can be easily overridden here, but onlytake effect at | |
71 | # the top-level: | |
72 | #OPTIMIZATION_CFLAG = -O | |
73 | #DEBUG_SYMBOLS_CFLAG = -g | |
74 | #WARNING_CFLAGS = -Wall | |
75 | #DEBUG_BUILD_CFLAGS = -DDEBUG | |
76 | #PROFILE_BUILD_CFLAGS = -pg -DPROFILE | |
77 | ||
78 | # Flags passed to yacc | |
79 | #YFLAGS = -d | |
80 | ||
81 | # Library and Framework projects only: | |
82 | # 1. If you want something other than the default .dylib name, override it here | |
83 | #DYLIB_INSTALL_NAME = lib$(NAME).dylib | |
84 | ||
85 | # 2. If you want to change the -install_name flag from the absolute path to the development area, change it here. One good choice is the installation directory. Another one might be none at all. | |
86 | #DYLIB_INSTALL_DIR = $(INSTALLDIR) | |
87 | ||
88 | # Ownership and permissions of files installed by 'install' target | |
89 | #INSTALL_AS_USER = root # User/group ownership | |
90 | #INSTALL_AS_GROUP = wheel # (probably want to set both of these) | |
91 | #INSTALL_PERMISSIONS = # If set, 'install' chmod's executable to this | |
92 | ||
93 | # Options to strip for various project types. Note: -S strips debugging symbols | |
94 | # (executables can be stripped down further with -x or, if they load no bundles, with no | |
95 | # options at all). | |
96 | #APP_STRIP_OPTS = -S | |
97 | #TOOL_STRIP_OPTS = -S | |
98 | #LIBRARY_STRIP_OPTS = -S # for .a archives | |
99 | #DYNAMIC_STRIP_OPTS = -S # for bundles and shared libraries | |
100 | STRIPFLAGS = | |
101 | ||
102 | ######################################################################### | |
103 | # Put rules to extend the behavior of the standard Makefiles here. "Official" | |
104 | # user-defined rules are: | |
105 | # * before_install | |
106 | # * after_install | |
107 | # * after_installhdrs | |
108 | # You should avoid redefining things like "install" or "app", as they are | |
109 | # owned by the top-level Makefile API and no context has been set up for where | |
110 | # derived files should go. | |
111 |