# $Id: Makefile.defs,v 1.1 1998/09/01 18:10:35 alexis Exp $ PROGID = helpme # This package can have more than one config file, no lib files, no logs # but it works out for itself if there is more than one config file, so # directory paths are set up as if it hasd only one config file. ############################################################################### # # CONFIGURABLE STUFF STARTS HERE # ############################################################################### # If you want to install into /usr/local then uncomment these lines # LCLDIR = /usr/local # LCLBINDIR = $(LCLDIR)/bin # LCLSBINDIR = $(LCLDIR)/sbin # LCLXBINDIR = $(LCLDIR)/bin/X11 # LCLMANDIR = $(LCLDIR)/man # LCLLIBDIR = $(LCLDIR)/lib # LCLDOCDIR = $(LCLDIR)/doc # LCLCFGDIR = $(LCLDIR)/etc # LCLLOGDIR = /var/log # PRGDOCDIR = $(LCLDOCDIR)/$(PROGID) # PRGLIBDIR = $(LCLLIBDIR) # # PRGLIBDIR = $(LCLLIBDIR)/$(PROGID) # PRGCFGDIR = $(LCLCFGDIR) # # PRGCFGDIR = $(LCLCFGDIR)/$(PROGID) # PRGLOGDIR = $(LCLLOGDIR) # # PRGLOGDIR = $(LCLLOGDIR)/$(PROGID) # If you want to install into /usr/local/opt/packagename then use these LCLDIR = /usr/local/opt/$(PROGID) LCLBINDIR = $(LCLDIR)/bin LCLSBINDIR = $(LCLDIR)/bin LCLXBINDIR = $(LCLDIR)/bin LCLMANDIR = $(LCLDIR)/man LCLLIBDIR = $(LCLDIR)/lib LCLDOCDIR = $(LCLDIR)/doc LCLCFGDIR = /usr/local/etc LCLLOGDIR = /var/log PRGDOCDIR = $(LCLDOCDIR)/$(PROGID) PRGLIBDIR = $(LCLLIBDIR) # PRGLIBDIR = $(LCLLIBDIR)/$(PROGID) PRGCFGDIR = $(LCLCFGDIR) # PRGCFGDIR = $(LCLCFGDIR)/$(PROGID) PRGLOGDIR = $(LCLLOGDIR) # PRGLOGDIR = $(LCLLOGDIR)/$(PROGID) # If you want to install into /opt/packagename then use these # LCLDIR = /opt/$(PROGID) # LCLBINDIR = $(LCLDIR)/bin # LCLSBINDIR = $(LCLDIR)/bin # LCLXBINDIR = $(LCLDIR)/bin # LCLMANDIR = $(LCLDIR)/man # LCLLIBDIR = $(LCLDIR)/lib # LCLDOCDIR = $(LCLDIR)/doc # LCLCFGDIR = /etc # LCLLOGDIR = /var/log # PRGDOCDIR = $(LCLDOCDIR)/$(PROGID) # PRGLIBDIR = $(LCLLIBDIR) # # PRGLIBDIR = $(LCLLIBDIR)/$(PROGID) # PRGCFGDIR = $(LCLCFGDIR) # # PRGCFGDIR = $(LCLCFGDIR)/$(PROGID) # PRGLOGDIR = $(LCLLOGDIR) # # PRGLOGDIR = $(LCLLOGDIR)/$(PROGID) # If you want to install into / then use these # LCLDIR = / # LCLBINDIR = $(LCLDIR)/usr/bin # LCLSBINDIR = $(LCLDIR)/usr/sbin # LCLXBINDIR = $(LCLDIR)/usr/bin/X11 # LCLMANDIR = $(LCLDIR)/usr/man # LCLLIBDIR = $(LCLDIR)/usr/lib # LCLDOCDIR = $(LCLDIR)/usr/doc # LCLCFGDIR = /etc # LCLLOGDIR = /var/log # PRGDOCDIR = $(LCLDOCDIR)/$(PROGID) # PRGLIBDIR = $(LCLLIBDIR) # # PRGLIBDIR = $(LCLLIBDIR)/$(PROGID) # PRGCFGDIR = $(LCLCFGDIR) # # PRGCFGDIR = $(LCLCFGDIR)/$(PROGID) # PRGLOGDIR = $(LCLLOGDIR) # # PRGLOGDIR = $(LCLLOGDIR)/$(PROGID) # And if you want to install to somewhere completely different then set these # entries up as you see fit. # LCLDIR = # LCLBINDIR = # LCLSBINDIR = # LCLXBINDIR = # LCLMANDIR = # LCLLIBDIR = # LCLDOCDIR = # LCLCFGDIR = # LCLLOGDIR = # PRGDOCDIR = # PRGLIBDIR = # PRGCFGDIR = # PRGLOGDIR = # Where are lock files stored? LOCK_DIR = /tmp # Where is BSD or GNU install? If yous doesn't support '-d' then use the # supplied script 'shinstall'. INSTALL = install # INSTALL = shinstall # Where is GNU make? MAKE = make # MAKE = gmake # Which Bourne-like shell understands functions? 'ksh' is a good choice. SCRIPTSHELLCMD = /usr/bin/ksh # Where is perl? # PERLCMD = /usr/bin/perl # If these commands are in your PATH, then leave them unset. # GUNZIPCMD = # GZIPCMD = # COMPRESSCMD = # UNCOMPRESSCMD = # LOGGERCMD = # What compiler do you want to use? # CC = gcc # CFLAGS = -O2 # Various commands used by scripts ############################################################################### # # CONFIGURABLE STUFF ENDS HERE - DON'T MODIFY ANYTHING BELOW HERE # ############################################################################### PRE_MKREL_CMPTS = bin doc POST_MKREL_CMPTS = html SHPP = $(SUPPORT_DIR)/shpp SHPPFLAGS = -D LCLDIR_MARKER=$(LCLDIR) \ -D LCLBINDIR_MARKER=$(LCLBINDIR) \ -D LCLSBINDIR_MARKER=$(LCLSBINDIR) \ -D LCLXBINDIR_MARKER=$(LCLXBINDIR) \ -D LCLMANDIR_MARKER=$(LCLMANDIR) \ -D LCLLIBDIR_MARKER=$(LCLLIBDIR) \ -D LCLDOCDIR_MARKER=$(LCLDOCDIR) \ -D LCLCFGDIR_MARKER=$(LCLCFGDIR) \ -D LCLLOGDIR_MARKER=$(LCLLOGDIR) \ -D PRGDOCDIR_MARKER=$(PRGDOCDIR) \ -D PRGLIBDIR_MARKER=$(PRGLIBDIR) \ -D PRGCFGDIR_MARKER=$(PRGCFGDIR) \ -D PRGLOGDIR_MARKER=$(PRGLOGDIR) \ \ -D LOCK_DIR_MARKER=$(LOCK_DIR) \ \ -D SCRIPTSHELLCMD_MARKER=$(SCRIPTSHELLCMD) \ \ -D PERLCMD_MARKER=$(PERLCMD) \ -D LOGGERCMD_MARKER=$(LOGGERCMD) \ -D GZIPCMD_MARKER=$(GZIPCMD) \ -D GUNZIPCMD_MARKER=$(GUNZIPCMD) \ -D XXXCOMPRESSCMD_MARKER=$(XXXCOMPRESSCMD) \ -D XXXUNCOMPRESSCMD_MARKER=$(XXXUNCOMPRESSCMD) default: compile