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