|
|
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: ! 20: ifneq "ppc" "${TARGET_ARCH}" ! 21: MD_CFLAGS= ! 22: else ! 23: MD_CFLAGS= -msoft-float -force_cpusubtype_ALL -mcpu=604 -finline -fno-keep-inline-functions ! 24: endif ! 25: ! 26: KERNEL_CFLAGS= -DMACH -DKERNEL -DKERNEL_PRIVATE -DMACH_USER_API \ ! 27: -D_KERNEL $(MD_CFLAGS) ! 28: ! 29: OTHER_CFLAGS = $(KERNEL_CFLAGS) -Wno-precomp ! 30: # Flags passed to ld (in addition to -ObjC, etc.) ! 31: OTHER_LDFLAGS = ! 32: # Flags passed to libtool when building libraries ! 33: OTHER_LIBTOOL_FLAGS = ! 34: ! 35: # Stuff related to exporting headers from this project that isn't already ! 36: # handled by PB. ! 37: #PRIVATE_HEADERS = NXCharacterSet.h NXPropertyList.h NXString.h maptable.h unichar.h ! 38: #PRIVATE_HEADER_DIR = $(LOCAL_DEVELOPER_DIR)/Headers/objc ! 39: ! 40: OTHER_PUBLIC_HEADERS = ! 41: OTHER_PROJECT_HEADERS = ! 42: OTHER_PRIVATE_HEADERS = ! 43: ! 44: #PUBLIC_HEADER_DIR = $(SYSTEM_DEVELOPER_DIR)/Headers/objc ! 45: PUBLIC_PRECOMPILED_HEADERS = ! 46: PUBLIC_PRECOMPILED_HEADERS_CFLAGS = ! 47: ! 48: PROJECT_PRECOMPILED_HEADERS = ! 49: ! 50: # Set this to YES if you don't want a final libtool call for a library/framework. ! 51: BUILD_OFILES_LIST_ONLY = YES ! 52: ! 53: # Additional relocatables to be linked into this project ! 54: OTHER_OFILES = ! 55: # Additional libs to link against ! 56: OTHER_LIBS = ! 57: # Additional libs to link against when $(JAPANESE) = "YES" ! 58: OTHER_JAPANESE_LIBS = ! 59: # To include a version string, project source must exist in a directory named ! 60: # $(NAME).%d[.%d][.%d] and the following line must be uncommented. ! 61: ! 62: OTHER_GENERATED_OFILES = $(VERS_OFILE) ! 63: ! 64: ## Configure how things get built here. Additional dependencies, source files, ! 65: ## derived files, and build order should be specified here. ! 66: ! 67: # Other dependencies of this project ! 68: OTHER_PRODUCT_DEPENDS = ! 69: # Built *before* building subprojects/bundles ! 70: OTHER_INITIAL_TARGETS = ! 71: # Other source files maintained by .pre/postamble ! 72: OTHER_SOURCEFILES = ! 73: # Additional files to be removed by `make clean' ! 74: OTHER_GARBAGE = ! 75: ! 76: # Targets to build 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: # More obscure flags you might want to set for pswrap, yacc, lex, etc. ! 84: PSWFLAGS = ! 85: YFLAGS = ! 86: LFLAGS = ! 87: ! 88: ## Delete this line if you want fast and loose cleans that will not remove ! 89: ## things like precomps and user-defined OTHER_GARBAGE in subprojects. ! 90: CLEAN_ALL_SUBPROJECTS = YES ! 91: ! 92: ## Add more obscure source files here to cause them to be automatically ! 93: ## processed by the appropriate tool. Note that these files should also be ! 94: ## added to "Supporting Files" in ProjectBuilder. The desired .o files that ! 95: ## result from these files should also be added to OTHER_OFILES above so they ! 96: ## will be linked in. ! 97: ! 98: # .msg files that should have msgwrap run on them ! 99: MSGFILES = ! 100: # .defs files that should have mig run on them ! 101: DEFSFILES = ! 102: # .mig files (no .defs files) that should have mig run on them ! 103: MIGFILES = ! 104: ! 105: ## Add additional Help directories here (add them to the project as "Other ! 106: ## Resources" in Project Builder) so that they will be compressed into .store ! 107: ## files and copied into the app wrapper. If the help directories themselves ! 108: ## need to also be in the app wrapper, then a cp command will need to be added ! 109: ## in an after_install target. ! 110: OTHER_HELP_DIRS = ! 111: ! 112: # Don't add more rules here unless you want the first one to be the default ! 113: # target for make! Put all your targets in Makefile.postamble. ! 114: ! 115: CODE_GEN_STYLE = STATIC
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.