1#
2# Get the 'head' of the build environment.  This includes default targets and
3# paths to tools
4#
5
6include $(AP_WORK)/build/NWGNUhead.inc
7
8#
9# build this level's files
10
11#
12# If there is an NLM target, put it here
13#
14TARGET_nlm = \
15	$(OBJDIR)/ab.nlm \
16	$(OBJDIR)/htpasswd.nlm \
17	$(OBJDIR)/htdigest.nlm \
18	$(OBJDIR)/htdbm.nlm \
19	$(OBJDIR)/htcacheclean.nlm \
20	$(OBJDIR)/httxt2dbm.nlm \
21	$(OBJDIR)/logres.nlm \
22	$(OBJDIR)/rotlogs.nlm \
23	$(EOLIST)
24
25#
26# implement targets and dependancies (leave this section alone)
27#
28
29libs :: $(OBJDIR) $(TARGET_lib)
30
31nlms :: libs $(TARGET_nlm)
32
33#
34# Updated this target to create necessary directories and copy files to the 
35# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
36#
37install :: nlms FORCE
38	$(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/bin/)
39
40#
41# Any specialized rules here
42#
43
44#
45# Include the 'tail' makefile that has targets that depend on variables defined
46# in this makefile
47#
48
49include $(APBUILD)/NWGNUtail.inc
50
51
52