]> git.saurik.com Git - apple/bootx.git/blame - Makefile.preamble
BootX-34.tar.gz
[apple/bootx.git] / Makefile.preamble
CommitLineData
04fee52e
A
1INCLUDED_ARCHS = ppc
2OTHER_RECURSIVE_VARIABLES += INCLUDED_ARCHS
3
4###############################################################################
5# Makefile.preamble
6# Copyright 1997, Apple Computer, Inc.
7#
8# Use this makefile for configuring the standard application makefiles
9# associated with ProjectBuilder. It is included before the main makefile.
10# In Makefile.preamble you set attributes for a project, so they are available
11# to the project's makefiles. In contrast, you typically write additional rules or
12# override built-in behavior in the Makefile.postamble.
13#
14# Each directory in a project tree (main project plus subprojects) should
15# have its own Makefile.preamble and Makefile.postamble.
16###############################################################################
17#
18# Before the main makefile is included for this project, you may set:
19#
20# MAKEFILEDIR: Directory in which to find $(MAKEFILE)
21# MAKEFILE: Top level mechanism Makefile (e.g., app.make, bundle.make)
22
23# Compiler/linker flags added to the defaults: The OTHER_* variables will be
24# inherited by all nested sub-projects, but the LOCAL_ versions of the same
25# variables will not. Put your -I, -D, -U, and -L flags in ProjectBuilder's
26# Build Attributes inspector if at all possible. To override the default flags
27# that get passed to ${CC} (e.g. change -O to -O2), see Makefile.postamble. The
28# variables below are *inputs* to the build process and distinct from the override
29# settings done (less often) in the Makefile.postamble.
30#
31# OTHER_CFLAGS, LOCAL_CFLAGS: additional flags to pass to the compiler
32# Note that $(OTHER_CFLAGS) and $(LOCAL_CFLAGS) are used for .h, ...c, .m,
33# .cc, .cxx, .C, and .M files. There is no need to respecify the
34# flags in OTHER_MFLAGS, etc.
35# OTHER_MFLAGS, LOCAL_MFLAGS: additional flags for .m files
36# OTHER_CCFLAGS, LOCAL_CCFLAGS: additional flags for .cc, .cxx, and ...C files
37# OTHER_MMFLAGS, LOCAL_MMFLAGS: additional flags for .mm and .M files
38# OTHER_PRECOMPFLAGS, LOCAL_PRECOMPFLAGS: additional flags used when
39# precompiling header files
40# OTHER_LDFLAGS, LOCAL_LDFLAGS: additional flags passed to ld and libtool
41# OTHER_PSWFLAGS, LOCAL_PSWFLAGS: additional flags passed to pswrap
42# OTHER_RPCFLAGS, LOCAL_RPCFLAGS: additional flags passed to rpcgen
43# OTHER_YFLAGS, LOCAL_YFLAGS: additional flags passed to yacc
44# OTHER_LFLAGS, LOCAL_LFLAGS: additional flags passed to lex
45
46# These variables provide hooks enabling you to add behavior at almost every
47# stage of the make:
48#
49# BEFORE_PREBUILD: targets to build before installing headers for a subproject
50# AFTER_PREBUILD: targets to build after installing headers for a subproject
51# BEFORE_BUILD_RECURSION: targets to make before building subprojects
52# BEFORE_BUILD: targets to make before a build, but after subprojects
53# AFTER_BUILD: targets to make after a build
54#
55# BEFORE_INSTALL: targets to build before installing the product
56# AFTER_INSTALL: targets to build after installing the product
57# BEFORE_POSTINSTALL: targets to build before postinstalling every subproject
58# AFTER_POSTINSTALL: targts to build after postinstalling every subproject
59#
60# BEFORE_INSTALLHDRS: targets to build before installing headers for a
61# subproject
62# AFTER_INSTALLHDRS: targets to build after installing headers for a subproject
63# BEFORE_INSTALLSRC: targets to build before installing source for a subproject
64# AFTER_INSTALLSRC: targets to build after installing source for a subproject
65#
66# BEFORE_DEPEND: targets to build before building dependencies for a
67# subproject
68# AFTER_DEPEND: targets to build after building dependencies for a
69# subproject
70#
71# AUTOMATIC_DEPENDENCY_INFO: if YES, then the dependency file is
72# updated every time the project is built. If NO, the dependency
73# file is only built when the depend target is invoked.
74
75# Framework-related variables:
76# FRAMEWORK_DLL_INSTALLDIR: On Windows platforms, this variable indicates
77# where to put the framework's DLL. This variable defaults to
78# $(INSTALLDIR)/../Executables
79
80# Library-related variables:
81# PUBLIC_HEADER_DIR: Determines where public exported header files
82# should be installed. Do not include $(DSTROOT) in this value --
83# it is prefixed automatically. For library projects you should
84# set this to something like /Developer/Headers/$(NAME). Do not set
85# this variable for framework projects unless you do not want the
86# header files included in the framework.
87# PRIVATE_HEADER_DIR: Determines where private exported header files
88# should be installed. Do not include $(DSTROOT) in this value --
89# it is prefixed automatically.
90# LIBRARY_STYLE: This may be either STATIC or DYNAMIC, and determines
91# whether the libraries produced are statically linked when they
92# are used or if they are dynamically loadable. This defaults to
93# DYNAMIC.
94# LIBRARY_DLL_INSTALLDIR: On Windows platforms, this variable indicates
95# where to put the library's DLL. This variable defaults to
96# $(INSTALLDIR)/../Executables
97#
98# INSTALL_AS_USER: owner of the intalled products (default root)
99# INSTALL_AS_GROUP: group of the installed products (default wheel)
100# INSTALL_PERMISSIONS: permissions of the installed product (default o+rX)
101#
102# OTHER_RECURSIVE_VARIABLES: The names of variables which you want to be
103# passed on the command line to recursive invocations of make. Note that
104# the values in OTHER_*FLAGS are inherited by subprojects automatically --
105# you do not have to (and shouldn't) add OTHER_*FLAGS to
106# OTHER_RECURSIVE_VARIABLES.
107
108LIBRARY_STYLE = STATIC
109
110# Additional headers to export beyond those in the PB.project:
111# OTHER_PUBLIC_HEADERS
112# OTHER_PROJECT_HEADERS
113# OTHER_PRIVATE_HEADERS
114
115# Additional files for the project's product: <<path relative to proj?>>
116# OTHER_RESOURCES: (non-localized) resources for this project
117# OTHER_OFILES: relocatables to be linked into this project
118# OTHER_LIBS: more libraries to link against
119# OTHER_PRODUCT_DEPENDS: other dependencies of this project
120# OTHER_SOURCEFILES: other source files maintained by .pre/postamble
121# OTHER_GARBAGE: additional files to be removed by `make clean'
122
123# Set this to YES if you don't want a final libtool call for a library/framework.
124# BUILD_OFILES_LIST_ONLY
125
126# To include a version string, project source must exist in a directory named
127# $(NAME).%d[.%d][.%d] and the following line must be uncommented.
128# OTHER_GENERATED_OFILES = $(VERS_OFILE)
129
130# This definition will suppress stripping of debug symbols when an executable
131# is installed. By default it is YES.
132# STRIP_ON_INSTALL = NO
133
134# Uncomment to suppress generation of a KeyValueCoding index when installing
135# frameworks (This index is used by WOB and IB to determine keys available
136# for an object). Set to YES by default.
137# PREINDEX_FRAMEWORK = NO
138
139# Change this definition to install projects somewhere other than the
140# standard locations. NEXT_ROOT defaults to "C:/Apple" on Windows systems
141# and "" on other systems.
142DSTROOT = $(HOME)