2 # Declare the sub-directories to be built here
23 # Get the 'head' of the build environment. This includes default targets and
27 include $(APR_WORK)/build/NWGNUhead.inc
30 # Make sure all needed macro's are defined
34 # These directories will be at the beginning of the include list, followed by
39 $(APR)/include/arch/NetWare \
43 $(APU)/include/private \
49 # These flags will come after CFLAGS
55 # These defines will come after DEFINES
61 # These flags will be added to the link.opt file
67 # These values will be appended to the correct variables based on the value of
70 ifeq "$(RELEASE)" "debug"
84 ifeq "$(RELEASE)" "noopt"
98 ifeq "$(RELEASE)" "release"
113 # These are used by the link target if an NLM is being generated
114 # This is used by the link 'name' directive to name the nlm. If left blank
115 # TARGET_nlm (see below) will be used.
120 # This is used by the link '-desc ' directive.
121 # If left blank, NLM_NAME will be used.
126 # This is used by the '-threadname' directive. If left blank,
127 # NLM_NAME Thread will be used.
131 # If this is specified, it will override VERSION value in
132 # $(APR_WORK)/build/NWGNUenvironment.inc
137 # If this is specified, it will override the default of 64K
142 # If this is specified it will be used by the link '-entry' directive
147 # If this is specified it will be used by the link '-exit' directive
152 # If this is specified it will be used by the link '-check' directive
157 # If this is specified it will be used by the link '-flags' directive
162 # If this is specified it will be linked in with the XDCData option in the def
163 # file instead of the default of $(APR)/misc/netware/apache.xdc. XDCData can
164 # be disabled by setting APACHE_UNIPROC in the environment
169 # Declare all target files (you must add your files here)
173 # If there is an NLM target, put it here
179 # If there is an LIB target, put it here
182 $(OBJDIR)/apulib.lib \
186 # These are the OBJ files needed to create the NLM target above.
187 # Paths must all use the '/' character
193 # These are the LIB files needed to create the NLM target above.
194 # These will be added as a library command in the link.opt file.
200 # These are the modules that the above NLM target depends on to load.
201 # These will be added as a module command in the link.opt file.
203 FILES_nlm_modules = \
207 # If the nlm has a msg file, put it's path here
212 # If the nlm has a hlp file put it's path here
217 # If this is specified, it will override $(NWOS)\copyright.txt.
222 # Any additional imports go here
224 FILES_nlm_Ximports = \
228 # Any symbols exported to here
230 FILES_nlm_exports = \
234 # These are the OBJ files needed to create the LIB target above.
235 # Paths must all use the '/' character
238 $(OBJDIR)/apr_base64.o \
239 $(OBJDIR)/apr_brigade.o \
240 $(OBJDIR)/apr_buckets.o \
241 $(OBJDIR)/apr_buckets_alloc.o \
242 $(OBJDIR)/apr_buckets_eos.o \
243 $(OBJDIR)/apr_buckets_file.o \
244 $(OBJDIR)/apr_buckets_flush.o \
245 $(OBJDIR)/apr_buckets_heap.o \
246 $(OBJDIR)/apr_buckets_mmap.o \
247 $(OBJDIR)/apr_buckets_pipe.o \
248 $(OBJDIR)/apr_buckets_pool.o \
249 $(OBJDIR)/apr_buckets_refcount.o \
250 $(OBJDIR)/apr_buckets_simple.o \
251 $(OBJDIR)/apr_buckets_socket.o \
252 $(OBJDIR)/apr_crypto.o \
253 $(OBJDIR)/apr_date.o \
254 $(OBJDIR)/apr_dbm.o \
255 $(OBJDIR)/apr_dbd.o \
256 $(OBJDIR)/apr_dbm_sdbm.o \
257 $(OBJDIR)/apu_dso.o \
258 $(OBJDIR)/apr_hooks.o \
259 $(OBJDIR)/apr_md4.o \
260 $(OBJDIR)/apr_md5.o \
261 $(OBJDIR)/apr_memcache.o \
262 $(OBJDIR)/apr_passwd.o \
263 $(OBJDIR)/apr_queue.o \
264 $(OBJDIR)/apr_reslist.o \
265 $(OBJDIR)/apr_rmm.o \
266 $(OBJDIR)/apr_sha1.o \
267 $(OBJDIR)/apu_version.o \
268 $(OBJDIR)/getuuid.o \
270 $(OBJDIR)/apr_strmatch.o \
271 $(OBJDIR)/apr_thread_pool.o \
272 $(OBJDIR)/apr_uri.o \
273 $(OBJDIR)/crypt_blowfish.o \
275 $(OBJDIR)/sdbm_hash.o \
276 $(OBJDIR)/sdbm_lock.o \
277 $(OBJDIR)/sdbm_pair.o \
282 # implement targets and dependancies (leave this section alone)
285 libs :: $(OBJDIR) $(TARGET_lib)
287 nlms :: libs $(TARGET_nlm)
290 # Updated this target to create necessary directories and copy files to the
291 # correct place. (See $(APR_WORK)/build/NWGNUhead.inc for examples)
293 install :: nlms FORCE
296 # Any specialized rules here
299 vpath %.c buckets:crypto:dbd:dbm:dbm/sdbm:encoding:hooks:ldap:memcache:misc:strmatch:uri:xlate:xml
302 # Include the 'tail' makefile that has targets that depend on variables defined
306 include $(APRBUILD)/NWGNUtail.inc