|
|
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: ## Added to QBEPalette
19: ## Folders to place link library and header files
20: LIBRARY_FOLDER = ./Lib
21: HEADER_FOLDER = ./Headers
22:
23: ## Library Name
24: LIBRARY_NAME = libQBE.a
25:
26: ## Configure the flags passed to $(CC) here. These flags will also be
27: ## inherited by all nested sub-projects and bundles. Put your -I, -D, -U, and
28: ## -L flags here. To change the default flags that get passed to ${CC}
29: ## (e.g. change -O to -O2), see Makefile.postamble.
30:
31: # Flags passed to compiler (in addition to -g, -O, etc)
32: OTHER_CFLAGS =
33: # Flags passed to ld (in addition to -ObjC, etc.)
34: OTHER_LDFLAGS =
35:
36: ## Configure what is linked in at each level here. Libraries are only used in
37: ## the final 'app' linking step. Final 'app' linking is only done via the
38: ## 'app', 'debug', and 'profile' targets when they are invoked for
39: ## the top-level app.
40:
41: # Additional relocatables to be linked in at this level
42: OTHER_OFILES =
43: # Additional libs to link apps against ('app' target)
44: OTHER_LIBS =
45: # Additional libs to link apps against ('debug' target)
46: OTHER_DEBUG_LIBS =
47: # Additional libs to link apps against ('profile' target)
48: OTHER_PROF_LIBS =
49:
50: # More 'app' libraries when $(JAPANESE) = "YES"
51: OTHER_JAPANESE_LIBS =
52: # More 'debug' libraries when $(JAPANESE) = "YES"
53: OTHER_JAPANESE_DEBUG_LIBS =
54: # More 'profile' libs when $(JAPANESE) = "YES"
55: OTHER_JAPANESE_PROF_LIBS =
56:
57: ## Configure how things get built here. Additional dependencies, sourcefiles,
58: ## derived files, and build order should be specified here.
59:
60: # Other dependencies of this project
61: OTHER_PRODUCT_DEPENDS = $(LIBRARY_FOLDER) $(HEADER_FOLDER) \
62: $(LIBRARY_FOLDER)/$(LIBRARY_NAME)
63:
64: # Built *before* building subprojects/bundles
65: OTHER_EARLY_TARGETS =
66: # Other source files maintained by .pre/postamble
67: OTHER_SOURCEFILES =
68: # Additional files to be removed by `make clean'
69: OTHER_GARBAGE = $(LIBRARY_FOLDER) $(HEADER_FOLDER)
70: # Precompiled headers to be built before any compilation occurs (e.g., draw.p)
71: PRECOMPS =
72:
73: # Targets to be built before subprojects & bundles
74: OTHER_INITIAL_TARGETS =
75:
76: # A virtual root directory (other than /) to be prepended to the $(INSTALLDIR)
77: # passed from ProjectBuilder.
78: DSTROOT =
79:
80:
81: ## Add more obscure source files here to cause them to be automatically
82: ## processed by the appropriate tool. Note that these files should also be
83: ## added to "Supporting Files" in ProjectBuilder. The desired .o files that
84: ## result from these files should also be added to OTHER_OFILES above so they
85: ## will be linked in.
86:
87: # .msg files that should have msgwrap run on them
88: MSGFILES =
89: # .defs files that should have mig run on them
90: DEFSFILES =
91: # .mig files (no .defs files) that should have mig run on them
92: MIGFILES =
93:
94: ## Add additional Help directories here (add them to the project as "Other
95: ## Resources" in Project Builder) so that they will be compressed into .store
96: ## files and copied into the app wrapper. If the help directories themselves
97: ## need to also be in the app wrapper, then a cp command will need to be added
98: ## in an after_install target.
99: OTHER_HELP_DIRS =
100:
101: ## Build the link library and header folders.
102: LIBOFILES = DictionaryDataSource.o QBE.o SortOrderSetter.o
103: LIBHFILES = DictionaryDataSource.h QBE.h SortOrderSetter.h
104:
105: # On make install, libQBE.a, and the headers will be generated by this target
106: OTHER_INSTALL_DEPENDS = installLib installHdr
107: INSTALLDIR = $(HOME)/Library/Palettes
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.