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