Blame support/NWGNUmakefile

Packit 90a5c9
#
Packit 90a5c9
# Get the 'head' of the build environment.  This includes default targets and
Packit 90a5c9
# paths to tools
Packit 90a5c9
#
Packit 90a5c9
Packit 90a5c9
include $(AP_WORK)/build/NWGNUhead.inc
Packit 90a5c9
Packit 90a5c9
#
Packit 90a5c9
# build this level's files
Packit 90a5c9
Packit 90a5c9
#
Packit 90a5c9
# If there is an NLM target, put it here
Packit 90a5c9
#
Packit 90a5c9
TARGET_nlm = \
Packit 90a5c9
	$(OBJDIR)/ab.nlm \
Packit 90a5c9
	$(OBJDIR)/htpasswd.nlm \
Packit 90a5c9
	$(OBJDIR)/htdigest.nlm \
Packit 90a5c9
	$(OBJDIR)/htdbm.nlm \
Packit 90a5c9
	$(OBJDIR)/htcacheclean.nlm \
Packit 90a5c9
	$(OBJDIR)/httxt2dbm.nlm \
Packit 90a5c9
	$(OBJDIR)/logres.nlm \
Packit 90a5c9
	$(OBJDIR)/rotlogs.nlm \
Packit 90a5c9
	$(EOLIST)
Packit 90a5c9
Packit 90a5c9
#
Packit 90a5c9
# implement targets and dependancies (leave this section alone)
Packit 90a5c9
#
Packit 90a5c9
Packit 90a5c9
libs :: $(OBJDIR) $(TARGET_lib)
Packit 90a5c9
Packit 90a5c9
nlms :: libs $(TARGET_nlm)
Packit 90a5c9
Packit 90a5c9
#
Packit 90a5c9
# Updated this target to create necessary directories and copy files to the 
Packit 90a5c9
# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
Packit 90a5c9
#
Packit 90a5c9
install :: nlms FORCE
Packit 90a5c9
	$(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/bin/)
Packit 90a5c9
Packit 90a5c9
#
Packit 90a5c9
# Any specialized rules here
Packit 90a5c9
#
Packit 90a5c9
Packit 90a5c9
#
Packit 90a5c9
# Include the 'tail' makefile that has targets that depend on variables defined
Packit 90a5c9
# in this makefile
Packit 90a5c9
#
Packit 90a5c9
Packit 90a5c9
include $(APBUILD)/NWGNUtail.inc
Packit 90a5c9
Packit 90a5c9