]>
Commit | Line | Data |
---|---|---|
b7080c8e A |
1 | ############################################################################### |
2 | # NeXT Makefile.preamble 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. 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 | # Stuff related to exporting headers from this project that isn't already | |
29 | # handled by PB. | |
30 | OTHER_PUBLIC_HEADERS = | |
31 | OTHER_PROJECT_HEADERS = | |
32 | OTHER_PRIVATE_HEADERS = | |
33 | ||
34 | # Set all three of these if you want a precomp to be built as part of | |
35 | # installation. The cc -precomp will be run in the specified dir on the | |
36 | # specified public header files with the specified additional flags. Don't put | |
37 | # $(DSTROOT) in PUBLIC_HEADER_DIR; this is done for you. | |
38 | PUBLIC_HEADER_DIR = | |
39 | PUBLIC_PRECOMPILED_HEADERS = | |
40 | PUBLIC_PRECOMPILED_HEADERS_CFLAGS = | |
41 | ||
42 | PRIVATE_HEADER_DIR = | |
43 | ||
44 | # If, in a subproject, you want to append to the parent's PUBLIC_HEADER_DIR# | |
45 | # (say, to add a subdirectory like "/sys"), you can use: | |
46 | PUBLIC_HEADER_DIR_SUFFIX = | |
47 | PRIVATE_HEADER_DIR_SUFFIX = | |
48 | ||
49 | # Additional (non-localized) resources for this project, which can be generated | |
50 | OTHER_RESOURCES = | |
51 | ||
52 | # Set this to YES if you don't want a final libtool call for a library/framework. | |
53 | BUILD_OFILES_LIST_ONLY = | |
54 | ||
55 | # Additional relocatables to be linked into this project | |
56 | OTHER_OFILES = | |
57 | # Additional libs to link against | |
58 | OTHER_LIBS = | |
59 | # Additional libs to link against when $(JAPANESE) = "YES" | |
60 | OTHER_JAPANESE_LIBS = | |
61 | # To include a version string, project source must exist in a directory named | |
62 | # $(NAME).%d[.%d][.%d] and the following line must be uncommented. | |
63 | # OTHER_GENERATED_OFILES = $(VERS_OFILE) | |
64 | ||
65 | ## Configure how things get built here. Additional dependencies, source files, | |
66 | ## derived files, and build order should be specified here. | |
67 | ||
68 | # Other dependencies of this project | |
69 | OTHER_PRODUCT_DEPENDS = | |
70 | # Built *before* building subprojects/bundles | |
71 | OTHER_INITIAL_TARGETS = | |
72 | # Other source files maintained by .pre/postamble | |
73 | OTHER_SOURCEFILES = | |
74 | # Additional files to be removed by `make clean' | |
75 | OTHER_GARBAGE = | |
76 | ||
77 | # Targets to build before installation | |
78 | OTHER_INSTALL_DEPENDS = | |
79 | ||
80 | # A virtual root directory (other than /) to be prepended to the $(INSTALLDIR) | |
81 | # passed from ProjectBuilder. | |
82 | DSTROOT = | |
83 | ||
84 | # More obscure flags you might want to set for pswrap, yacc, lex, etc. | |
85 | PSWFLAGS = | |
86 | YFLAGS = | |
87 | LFLAGS = | |
88 | ||
89 | ## Delete this line if you want fast and loose cleans that will not remove | |
90 | ## things like precomps and user-defined OTHER_GARBAGE in subprojects. | |
91 | CLEAN_ALL_SUBPROJECTS = YES | |
92 | ||
93 | ## Add more obscure source files here to cause them to be automatically | |
94 | ## processed by the appropriate tool. Note that these files should also be | |
95 | ## added to "Supporting Files" in ProjectBuilder. The desired .o files that | |
96 | ## result from these files should also be added to OTHER_OFILES above so they | |
97 | ## will be linked in. | |
98 | ||
99 | # .msg files that should have msgwrap run on them | |
100 | MSGFILES = | |
101 | # .defs files that should have mig run on them | |
102 | DEFSFILES = | |
103 | # .mig files (no .defs files) that should have mig run on them | |
104 | MIGFILES = | |
105 | ||
106 | ## Add additional Help directories here (add them to the project as "Other | |
107 | ## Resources" in Project Builder) so that they will be compressed into .store | |
108 | ## files and copied into the app wrapper. If the help directories themselves | |
109 | ## need to also be in the app wrapper, then a cp command will need to be added | |
110 | ## in an after_install target. | |
111 | OTHER_HELP_DIRS = | |
112 | ||
113 | # After you have saved your project using the 4.0 PB, you will automatically | |
114 | # start using the makefiles in $(SYSTEM_DEVELOPER_DIR)/Makefiles/project. If you should | |
115 | # need to revert back to the old 3.3 Makefile behavior, override MAKEFILEDIR to | |
116 | # be $(SYSTEM_DEVELOPER_DIR)/Makefiles/app. | |
117 | ||
118 | # Don't add more rules here unless you want the first one to be the default | |
119 | # target for make! Put all your targets in Makefile.postamble. | |
120 | ||
121 | -include ../Makefile.include |