# etc-tcp-makefile # John Simpson 1999-07-22 # # install as /etc/tcp/Makefile # ############################################################################### # # Copyright (C) 1999,2005,2007 John Simpson. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2, as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # or visit http://www.gnu.org/licenses/gpl.txt # ############################################################################### ######################################## # list the .cdb files to be built by this Makefile. # separate multiple filenames with spaces, like this: # # all: smtp.cdb smtpssl.cdb ftp.cdb # # because this is the first target listed in the file, this is what will be # processed if you just type "make" without a target name. all: smtp.cdb ######################################## # if any of these files are built using something other than the standard # "xxx makes xxx.cdb" idea, list them with their dependencies here. for # example, if "smtp.cdb" is built from "smtp" and "smtp.dynamic", you might # include a line like this: # # smtp.cdb: smtp smtp.dynamic ######################################## # blanket rule which tells "make" how to build a .cdb file by sending # one or more files through "tcprules". %.cdb: % umask 022 cat $^ | tcprules $@ $@.tmp chmod 644 $@ $^