1 ###############################################################################
2 # NeXT Makefile.postamble Template
3 # Copyright 1993, NeXT Computer, Inc.
5 # This Makefile is used for configuring the standard app makefiles associated
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.
14 ###############################################################################
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:
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
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
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
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.
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
58 ###############################################################################
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).
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
70 # Some compiler flags can be easily overridden here, but onlytake effect at
72 #OPTIMIZATION_CFLAG = -O
73 #DEBUG_SYMBOLS_CFLAG = -g
74 #WARNING_CFLAGS = -Wall
75 #DEBUG_BUILD_CFLAGS = -DDEBUG
76 #PROFILE_BUILD_CFLAGS = -pg -DPROFILE
78 # Flags passed to yacc
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
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)
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
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
98 #LIBRARY_STRIP_OPTS = -S # for .a archives
99 #DYNAMIC_STRIP_OPTS = -S # for bundles and shared libraries
101 #########################################################################
102 # Put rules to extend the behavior of the standard Makefiles here. "Official"
103 # user-defined rules are:
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.
112 mkdir -p "$(DSTROOT)/usr/share/man/man3"
113 install -c -m 644 getaddrinfo.3 "$(DSTROOT)/usr/share/man/man3"
114 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getaddrinfo.3" "$(DSTROOT)/usr/share/man/man3/freeaddrinfo.3"
115 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getaddrinfo.3" "$(DSTROOT)/usr/share/man/man3/gai_strerror.3"
116 install -c -m 644 getnameinfo.3 "$(DSTROOT)/usr/share/man/man3"
117 install -c -m 644 gethostbyname.3 "$(DSTROOT)/usr/share/man/man3"
118 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/endhostent.3"
119 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/gethostbyaddr.3"
120 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/gethostbyname2.3"
121 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/gethostent.3"
122 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/herror.3"
123 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/hstrerror.3"
124 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" "$(DSTROOT)/usr/share/man/man3/sethostent.3"
125 install -c -m 644 getifaddrs.3 "$(DSTROOT)/usr/share/man/man3"
126 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getifaddrs.3" "$(DSTROOT)/usr/share/man/man3/freeifaddrs.3"
127 install -c -m 644 getipnodebyname.3 "$(DSTROOT)/usr/share/man/man3"
128 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getipnodebyname.3" "$(DSTROOT)/usr/share/man/man3/freehostent.3"
129 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getipnodebyname.3" "$(DSTROOT)/usr/share/man/man3/getipnodebyaddr.3"
130 install -c -m 644 getnetent.3 "$(DSTROOT)/usr/share/man/man3"
131 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getnetent.3" "$(DSTROOT)/usr/share/man/man3/endnetent.3"
132 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getnetent.3" "$(DSTROOT)/usr/share/man/man3/getnetbyaddr.3"
133 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getnetent.3" "$(DSTROOT)/usr/share/man/man3/getnetbyname.3"
134 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getnetent.3" "$(DSTROOT)/usr/share/man/man3/setnetent.3"
135 install -c -m 644 getprotoent.3 "$(DSTROOT)/usr/share/man/man3"
136 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getprotoent.3" "$(DSTROOT)/usr/share/man/man3/endprotoent.3"
137 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getprotoent.3" "$(DSTROOT)/usr/share/man/man3/getprotobyname.3"
138 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getprotoent.3" "$(DSTROOT)/usr/share/man/man3/getprotobynumber.3"
139 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getprotoent.3" "$(DSTROOT)/usr/share/man/man3/setprotoent.3"
140 install -c -m 644 getservent.3 "$(DSTROOT)/usr/share/man/man3"
141 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getservent.3" "$(DSTROOT)/usr/share/man/man3/endservent.3"
142 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getservent.3" "$(DSTROOT)/usr/share/man/man3/getservbyname.3"
143 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getservent.3" "$(DSTROOT)/usr/share/man/man3/getservbyport.3"
144 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getservent.3" "$(DSTROOT)/usr/share/man/man3/setservent.3"
145 install -c -m 644 if_indextoname.3 "$(DSTROOT)/usr/share/man/man3"
146 $(LN) -f "$(DSTROOT)/usr/share/man/man3/if_indextoname.3" "$(DSTROOT)/usr/share/man/man3/if_freenameindex.3"
147 $(LN) -f "$(DSTROOT)/usr/share/man/man3/if_indextoname.3" "$(DSTROOT)/usr/share/man/man3/if_nameindex.3"
148 $(LN) -f "$(DSTROOT)/usr/share/man/man3/if_indextoname.3" "$(DSTROOT)/usr/share/man/man3/if_nametoindex.3"
149 install -c -m 644 inet6_option_space.3 "$(DSTROOT)/usr/share/man/man3"
150 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_alloc.3"
151 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_append.3"
152 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_find.3"
153 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_init.3"
154 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_option_next.3"
155 install -c -m 644 inet6_rthdr_space.3 "$(DSTROOT)/usr/share/man/man3"
156 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_add.3"
157 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_getaddr.3"
158 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_getflags.3"
159 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_init.3"
160 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_lasthop.3"
161 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_reverse.3"
162 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_segments.3"
163 install -c -m 644 linkaddr.3 "$(DSTROOT)/usr/share/man/man3"
164 $(LN) -f "$(DSTROOT)/usr/share/man/man3/linkaddr.3" "$(DSTROOT)/usr/share/man/man3/link_addr.3"
165 $(LN) -f "$(DSTROOT)/usr/share/man/man3/linkaddr.3" "$(DSTROOT)/usr/share/man/man3/link_ntoa.3"