]> git.saurik.com Git - apple/libinfo.git/blob - gen.subproj/Makefile.postamble
Libinfo-278.tar.gz
[apple/libinfo.git] / gen.subproj / Makefile.postamble
1 ###############################################################################
2 # NeXT Makefile.postamble 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. Additional
11 # rules (e.g., after_install) that are defined by the developer should be
12 # defined in this file.
13 #
14 ###############################################################################
15 #
16 # Here are the variables exported by the common "app" makefiles that can be
17 # used in any customizations you make to the template below:
18 #
19 # PRODUCT_ROOT - Name of the directory to which resources are copied.
20 # OFILE_DIR - Directory into which .o object files are generated.
21 # (Note that this name is calculated based on the target
22 # architectures specified in Project Builder).
23 # DERIVED_SRC_DIR - Directory used for all other derived files
24 # ALL_CFLAGS - All the flags passed to the cc(1) driver for compilations
25 #
26 # NAME - name of application, bundle, subproject, palette, etc.
27 # LANGUAGE - langage in which the project is written (default "English")
28 # ENGLISH - boolean flag set iff $(LANGUAGE) = "English"
29 # JAPANESE - boolean flag set iff $(LANGUAGE) = "Japanese"
30 # LOCAL_RESOURCES - localized resources (e.g. nib's, images) of project
31 # GLOBAL_RESOURCES - non-localized resources of project
32 # PROJECTVERSION - version of ProjectBuilder that output Makefile
33 # APPICON - application icon file
34 # DOCICONS - dock icon files
35 # ICONSECTIONS - Specifies icon sections when linking executable
36 #
37 # CLASSES - Class implementation files in project.
38 # HFILES - Header files in project.
39 # MFILES - Other Objective-C source files in project.
40 # CFILES - Other C source files in project.
41 # PSWFILES - .psw files in the project
42 # PSWMFILES - .pswm files in the project
43 # SUBPROJECTS - Subprojects of this project
44 # BUNDLES - Bundle subprojects of this project
45 # OTHERSRCS - Other miscellaneous sources of this project
46 # OTHERLINKED - Source files not matching a standard source extention
47 #
48 # LIBS - Libraries to link with when making app target
49 # DEBUG_LIBS - Libraries to link with when making debug target
50 # PROF_LIBS - Libraries to link with when making profile target
51 # OTHERLINKEDOFILES - Other relocatable files to (always) link in.
52 #
53 # APP_MAKEFILE_DIR - Directory in which to find generic set of Makefiles
54 # MAKEFILEDIR - Directory in which to find $(MAKEFILE)
55 # MAKEFILE - Top level mechanism Makefile (e.g., app.make, bundle.make)
56 # INSTALLDIR - Directory app will be installed into by 'install' target
57 #
58 ###############################################################################
59
60
61 # Change defaults assumed by the standard makefiles here. Edit the
62 # following default values as appropriate. (Note that if no Makefile.postamble
63 # exists, these values will have defaults set in common.make).
64
65 # Versioning of frameworks, libraries, bundles, and palettes:
66 #CURRENTLY_ACTIVE_VERSION = YES # Set to "NO" to produce a compatibility binary
67 #DEPLOY_WITH_VERSION_NAME = A
68 #COMPATIBILITY_PROJECT_VERSION = 1
69
70 # Some compiler flags can be easily overridden here, but onlytake effect at
71 # the top-level:
72 #OPTIMIZATION_CFLAG = -O
73 #DEBUG_SYMBOLS_CFLAG = -g
74 #WARNING_CFLAGS = -Wall
75 #DEBUG_BUILD_CFLAGS = -DDEBUG
76 #PROFILE_BUILD_CFLAGS = -pg -DPROFILE
77
78 # Flags passed to yacc
79 #YFLAGS = -d
80
81 # Library and Framework projects only:
82 # 1. If you want something other than the default .dylib name, override it here
83 #DYLIB_INSTALL_NAME = lib$(NAME).dylib
84
85 # 2. If you want to change the -install_name flag from the absolute path to the development area, change it here. One good choice is the installation directory. Another one might be none at all.
86 #DYLIB_INSTALL_DIR = $(INSTALLDIR)
87
88 # Ownership and permissions of files installed by 'install' target
89 #INSTALL_AS_USER = root # User/group ownership
90 #INSTALL_AS_GROUP = wheel # (probably want to set both of these)
91 #INSTALL_PERMISSIONS = # If set, 'install' chmod's executable to this
92
93 # Options to strip for various project types. Note: -S strips debugging symbols
94 # (executables can be stripped down further with -x or, if they load no bundles, with no
95 # options at all).
96 #APP_STRIP_OPTS = -S
97 #TOOL_STRIP_OPTS = -S
98 #LIBRARY_STRIP_OPTS = -S # for .a archives
99 #DYNAMIC_STRIP_OPTS = -S # for bundles and shared libraries
100
101 #########################################################################
102 # Put rules to extend the behavior of the standard Makefiles here. "Official"
103 # user-defined rules are:
104 # * before_install
105 # * after_install
106 # * after_installhdrs
107 # You should avoid redefining things like "install" or "app", as they are
108 # owned by the top-level Makefile API and no context has been set up for where
109 # derived files should go.
110 #
111 install-man-page:
112 mkdir -p "$(DSTROOT)/usr/share/man/man3"
113 install -c -m 644 gethostbyname.3 "$(DSTROOT)/usr/share/man/man3"
114 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/endhostent.3"
115 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/gethostbyaddr.3"
116 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/gethostbyname2.3"
117 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/gethostent.3"
118 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/herror.3"
119 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/hstrerror.3"
120 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/sethostent.3"
121 install -c -m 644 getifaddrs.3 "$(DSTROOT)/usr/share/man/man3"
122 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getifaddrs.3" "$(DSTROOT)/usr/share/man/man3/freeifaddrs.3"
123 install -c -m 644 getipnodebyname.3 "$(DSTROOT)/usr/share/man/man3"
124 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getipnodebyname.3" "$(DSTROOT)/usr/share/man/man3/freehostent.3"
125 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getipnodebyname.3" "$(DSTROOT)/usr/share/man/man3/getipnodebyaddr.3"
126 install -c -m 644 getnetent.3 "$(DSTROOT)/usr/share/man/man3"
127 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getnetent.3" "$(DSTROOT)/usr/share/man/man3/endnetent.3"
128 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getnetent.3" "$(DSTROOT)/usr/share/man/man3/getnetbyaddr.3"
129 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getnetent.3" "$(DSTROOT)/usr/share/man/man3/getnetbyname.3"
130 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getnetent.3" "$(DSTROOT)/usr/share/man/man3/setnetent.3"
131 install -c -m 644 getprotoent.3 "$(DSTROOT)/usr/share/man/man3"
132 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getprotoent.3" "$(DSTROOT)/usr/share/man/man3/endprotoent.3"
133 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getprotoent.3" "$(DSTROOT)/usr/share/man/man3/getprotobyname.3"
134 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getprotoent.3" "$(DSTROOT)/usr/share/man/man3/getprotobynumber.3"
135 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getprotoent.3" "$(DSTROOT)/usr/share/man/man3/setprotoent.3"
136 install -c -m 644 getservent.3 "$(DSTROOT)/usr/share/man/man3"
137 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getservent.3" "$(DSTROOT)/usr/share/man/man3/endservent.3"
138 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getservent.3" "$(DSTROOT)/usr/share/man/man3/getservbyname.3"
139 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getservent.3" "$(DSTROOT)/usr/share/man/man3/getservbyport.3"
140 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getservent.3" "$(DSTROOT)/usr/share/man/man3/setservent.3"
141 install -c -m 644 if_indextoname.3 "$(DSTROOT)/usr/share/man/man3"
142 $(LN) -f "$(DSTROOT)/usr/share/man/man3/if_indextoname.3" "$(DSTROOT)/usr/share/man/man3/if_freenameindex.3"
143 $(LN) -f "$(DSTROOT)/usr/share/man/man3/if_indextoname.3" "$(DSTROOT)/usr/share/man/man3/if_nameindex.3"
144 $(LN) -f "$(DSTROOT)/usr/share/man/man3/if_indextoname.3" "$(DSTROOT)/usr/share/man/man3/if_nametoindex.3"
145 install -c -m 644 inet6_option_space.3 "$(DSTROOT)/usr/share/man/man3"
146 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_alloc.3"
147 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_append.3"
148 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_find.3"
149 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_init.3"
150 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_next.3"
151 install -c -m 644 inet6_rthdr_space.3 "$(DSTROOT)/usr/share/man/man3"
152 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_add.3"
153 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_getaddr.3"
154 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_getflags.3"
155 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_init.3"
156 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_lasthop.3"
157 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_reverse.3"
158 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_segments.3"