]>
Commit | Line | Data |
---|---|---|
1815bff5 A |
1 | ############################################################################### |
2 | # NeXT Makefile.preamble | |
3 | # Copyright 1996, NeXT Software, 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. Each node in a project | |
9 | # tree of sub-projects, tools, etc. should have its own Makefile.preamble and | |
10 | # Makefile.postamble. | |
11 | # | |
12 | ############################################################################### | |
13 | ## Configure the flags passed to $(CC) here. These flags will also be | |
14 | ## inherited by all nested sub-projects and bundles. Put your -I, -D, -U, and | |
15 | ## -L flags in ProjectBuilder's Build Options inspector if at all possible. | |
16 | ## To change the default flags that get passed to ${CC} | |
17 | ## (e.g. change -O to -O2), see Makefile.postamble. | |
18 | ||
19 | # Flags passed to compiler (in addition to -g, -O, etc) | |
20 | OTHER_CFLAGS = | |
21 | # Flags passed to ld (in addition to -ObjC, etc.) | |
22 | OTHER_LDFLAGS = | |
23 | # Flags passed to libtool when building libraries | |
24 | OTHER_LIBTOOL_FLAGS = | |
25 | # For ordering named sections on NEXTSTEP (see ld(1)) | |
26 | SECTORDER_FLAGS = | |
27 | ||
28 | # If you do not want any headers exported before compilations begin, | |
29 | # uncomment the following line. This can be a big time saver. | |
30 | #SKIP_EXPORTING_HEADERS = YES | |
31 | ||
83f6dbe8 A |
32 | # These variables provide hooks enabling you to add behavior at almost every |
33 | # stage of the make: | |
34 | # | |
35 | # BEFORE_PREBUILD: targets to build before installing headers for a subproject | |
36 | # AFTER_PREBUILD: targets to build after installing headers for a subproject | |
37 | # BEFORE_BUILD_RECURSION: targets to make before building subprojects | |
38 | # BEFORE_BUILD: targets to make before a build, but after subprojects | |
39 | # AFTER_BUILD: targets to make after a build | |
40 | # | |
41 | # BEFORE_INSTALL: targets to build before installing the product | |
42 | # AFTER_INSTALL: targets to build after installing the product | |
43 | ||
44 | AFTER_INSTALL += install-man-pages | |
45 | ||
1815bff5 A |
46 | # Stuff related to exporting headers from this project that isn't already |
47 | # handled by PB. | |
48 | OTHER_PUBLIC_HEADERS = | |
49 | OTHER_PROJECT_HEADERS = | |
50 | OTHER_PRIVATE_HEADERS = | |
51 | ||
52 | # Set these two macros if you want a precomp to be built as part of | |
53 | # installation. The cc -precomp will be run in the public header directory | |
54 | # on the specified public header files with the specified additional flags. | |
55 | PUBLIC_PRECOMPILED_HEADERS = | |
56 | PUBLIC_PRECOMPILED_HEADERS_CFLAGS = | |
57 | ||
58 | # Set this for library projects if you want to publish header files. If your | |
59 | # app or tool project exports headers Don't | |
60 | # include $(DSTROOT); this is added for you automatically. | |
61 | PUBLIC_HEADER_DIR = | |
62 | PRIVATE_HEADER_DIR = | |
63 | ||
64 | # If, in a subproject, you want to append to the parent's PUBLIC_HEADER_DIR# | |
65 | # (say, to add a subdirectory like "/sys"), you can use: | |
66 | PUBLIC_HEADER_DIR_SUFFIX = | |
67 | PRIVATE_HEADER_DIR_SUFFIX = | |
68 | ||
69 | # Set this for dynamic library projects on platforms where code which references | |
70 | # a dynamic library must link against an import library (i.e., Windows NT) | |
71 | # Don't include $(DSTROOT); this is added for you automatically. | |
72 | IMPORT_LIBRARY_DIR = | |
73 | ||
74 | # Additional (non-localized) resources for this project, which can be generated | |
75 | OTHER_RESOURCES = | |
76 | ||
77 | # Uncomment this to produce a static archive-style (.a) library | |
78 | #LIBRARY_STYLE = STATIC | |
79 | ||
80 | # Set this to YES if you don't want a final libtool call for a library/framework. | |
81 | BUILD_OFILES_LIST_ONLY = | |
82 | ||
83 | # Additional relocatables to be linked into this project | |
84 | OTHER_OFILES = | |
85 | # Additional libraries to link against | |
86 | OTHER_LIBS = | |
87 | # To include a version string, project source must exist in a directory named | |
88 | # $(NAME).%d[.%d][.%d] and the following line must be uncommented. | |
89 | # OTHER_GENERATED_OFILES = $(VERS_OFILE) | |
90 | ||
91 | ## Configure how things get built here. Additional dependencies, source files, | |
92 | ## derived files, and build order should be specified here. | |
93 | ||
94 | # Other dependencies of this project | |
95 | OTHER_PRODUCT_DEPENDS = | |
96 | # Built *before* building subprojects/bundles | |
97 | OTHER_INITIAL_TARGETS = | |
98 | # Other source files maintained by .pre/postamble | |
99 | OTHER_SOURCEFILES = | |
100 | # Additional files to be removed by `make clean' | |
101 | OTHER_GARBAGE = | |
102 | ||
103 | # Targets to build before installation | |
104 | OTHER_INSTALL_DEPENDS = | |
105 | ||
106 | # More obscure flags you might want to set for pswrap, yacc, lex, etc. | |
107 | PSWFLAGS = | |
108 | YFLAGS = | |
109 | LFLAGS = | |
110 | ||
111 | ## Delete this line if you want fast and loose cleans that will not remove | |
112 | ## things like precomps and user-defined OTHER_GARBAGE in subprojects. | |
113 | CLEAN_ALL_SUBPROJECTS = YES | |
114 | ||
115 | ## Add more obscure source files here to cause them to be automatically | |
116 | ## processed by the appropriate tool. Note that these files should also be | |
117 | ## added to "Supporting Files" in ProjectBuilder. The desired .o files that | |
118 | ## result from these files should also be added to OTHER_OFILES above so they | |
119 | ## will be linked in. | |
120 | ||
121 | # .msg files that should have msgwrap run on them | |
122 | MSGFILES = | |
123 | # .defs files that should have mig run on them | |
124 | DEFSFILES = | |
125 | # .mig files (no .defs files) that should have mig run on them | |
126 | MIGFILES = | |
127 | # .x files that should have rpcgen run on them | |
128 | RPCFILES = | |
129 | ||
130 | ## Add additional Help directories here (add them to the project as "Other | |
131 | ## Resources" in Project Builder) so that they will be compressed into .store | |
132 | ## files and copied into the app wrapper. If the help directories themselves | |
133 | ## need to also be in the app wrapper, then a cp command will need to be added | |
134 | ## in an after_install target. | |
135 | OTHER_HELP_DIRS = | |
136 | ||
137 | # After you have saved your project using the 4.0 PB, you will automatically | |
138 | # start using the makefiles in $(SYSTEM_DEVELOPER_DIR)/Makefiles/project. If you should | |
139 | # need to revert back to the old 3.3 Makefile behavior, override MAKEFILEDIR to | |
140 | # be $(SYSTEM_DEVELOPER_DIR)/Makefiles/app. | |
141 | ||
142 | # Don't add more rules here unless you want the first one to be the default | |
143 | # target for make! Put all your targets in Makefile.postamble. | |
144 |