|
|
1.1 root 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, 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.
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 here. To change the default flags that get passed to ${CC}
16: ## (e.g. change -O to -O2), see Makefile.postamble.
17:
18: # Flags passed to compiler (in addition to -g, -O, etc)
19: OTHER_CFLAGS = -I./EOFExtensions.subproj
20: # Flags passed to ld (in addition to -ObjC, etc.)
21: OTHER_LDFLAGS = -all_load
22: BUNDLELDFLAGS = # use iff project is a bundle
23: PALETTELDFLAGS = # use iff project is a palette
24:
25: ## Specify which headers in this project should be published to the outside
26: ## world in a flat header directory given in PUBLIC_HEADER_DIR (which will be
27: ## prepended by DSTROOT, below. Any subset of these public headers can be
28: ## precompiled automatically after installation, with extra user-defined flags.
29: PUBLIC_HEADER_DIR =
30: PUBLIC_HEADERS =
31: PUBLIC_PRECOMPILED_HEADERS =
32: PUBLIC_PRECOMPILED_HEADERS_CFLAGS =
33:
34: ## Specify the deployment target for which to build this code. Setting this to
35: ## 3.3 will allow use of the new style shared libraries and is required for
36: ## dynamic library projects.
37: ## (Note: this will eventually become settable in PB, but for now, you must
38: ## modify this line to get the new behavior of the compiler
39: ## and dynamic link editor).
40: NEXTSTEP_DEPLOYMENT_TARGET = 3.2
41:
42: ## If this is a library project, specify the type of library to build
43: ## (either STATIC or DYNAMIC). Note that it is an error to specify DYNAMIC
44: ## here, but leave the NEXTSTEP_DEPLOYMENT_TARGET at 3.2 above.
45: LIBRARY_STYLE = STATIC
46:
47: ## Configure what is linked in at each level here. Libraries are only used in
48: ## the final 'app' linking step. Final 'app' linking is only done via the
49: ## 'app', 'debug', and 'profile' targets when they are invoked for
50: ## the top-level app.
51:
52: # Additional relocatables to be linked in at this level
53: OTHER_OFILES =
54: # Additional libs to link apps against ('app' target)
55: OTHER_LIBS =
56: # Additional libs to link apps against ('debug' target)
57: OTHER_DEBUG_LIBS =
58: # Additional libs to link apps against ('profile' target)
59: OTHER_PROF_LIBS =
60:
61: # More 'app' libraries when $(JAPANESE) = "YES"
62: OTHER_JAPANESE_LIBS =
63: # More 'debug' libraries when $(JAPANESE) = "YES"
64: OTHER_JAPANESE_DEBUG_LIBS =
65: # More 'profile' libs when $(JAPANESE) = "YES"
66: OTHER_JAPANESE_PROF_LIBS =
67:
68: # If this is a bundle, and you *know* the enclosing application will not
69: # be linking with a library which you require in your bundle code, then
70: # mention it here so that it gets linked into the bundle. Note that this
71: # is wasteful but sometimes necessary.
72: BUNDLE_LIBS =
73:
74: ## Configure how things get built here. Additional dependencies, sourcefiles,
75: ## derived files, and build order should be specified here.
76:
77: # Other dependencies of this project
78: OTHER_PRODUCT_DEPENDS =
79: # Built *before* building subprojects/bundles
80: OTHER_INITIAL_TARGETS =
81: # Other source files maintained by .pre/postamble
82: OTHER_SOURCEFILES =
83: # Additional files to be removed by `make clean'
84: OTHER_GARBAGE =
85: # Precompiled headers to be built before any compilation occurs (e.g., draw.p)
86: PRECOMPS =
87:
88: # Targets to be built before installation
89: OTHER_INSTALL_DEPENDS =
90:
91: # A virtual root directory (other than /) to be prepended to the $(INSTALLDIR)
92: # passed from ProjectBuilder.
93: DSTROOT =
94:
95: # Set the following to "YES" if you want the old behavior of recursively
96: # cleaning all nested subprojects during 'make clean'.
97: CLEAN_ALL_SUBPROJECTS =
98:
99: ## Add more obscure source files here to cause them to be automatically
100: ## processed by the appropriate tool. Note that these files should also be
101: ## added to "Supporting Files" in ProjectBuilder. The desired .o files that
102: ## result from these files should also be added to OTHER_OFILES above so they
103: ## will be linked in.
104:
105: # .msg files that should have msgwrap run on them
106: MSGFILES =
107: # .defs files that should have mig run on them
108: DEFSFILES =
109: # .mig files (no .defs files) that should have mig run on them
110: MIGFILES =
111:
112: ## Add additional Help directories here (add them to the project as "Other
113: ## Resources" in Project Builder) so that they will be compressed into .store
114: ## files and copied into the app wrapper. If the help directories themselves
115: ## need to also be in the app wrapper, then a cp command will need to be added
116: ## in an after_install target.
117: OTHER_HELP_DIRS =
118:
119: # Don't add more rules here unless you want the first one to be the default
120: # target for make! Put all your targets in Makefile.postamble.
121:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.