head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 95.06.28.17.32.35; author p-pomes; state Exp; branches; next 1.3; 1.3 date 95.06.26.22.16.34; author p-pomes; state Exp; branches; next 1.2; 1.2 date 95.01.10.23.53.57; author p-pomes; state Exp; branches; next 1.1; 1.1 date 94.10.31.17.39.14; author p-pomes; state Exp; branches; next ; desc @@ 1.4 log @*** empty log message *** @ text @# Copyright (c) 1985 Corporation for Research and Educational Networking # Copyright (c) 1988 University of Illinois Board of Trustees, Steven # Dorner, and Paul Pomes # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software # must display the following acknowledgement: # This product includes software developed by the Corporation for # Research and Educational Networking (CREN), the University of # Illinois at Urbana, and their contributors. # 4. Neither the name of CREN, the University nor the names of their # contributors may be used to endorse or promote products derived from # this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE TRUSTEES AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE TRUSTEES OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # @@(#)$Id: Makefile.templ,v 1.3 1995/06/26 22:16:34 p-pomes Exp p-pomes $ SHELL = /bin/sh ###################################################################### # variables set by Configure ###################################################################### CC = _CC_ CFLAGS = _Cflags_ LFLAGS = _Lflags_ ###################################################################### # other variables ###################################################################### SRCS = phquery.c OBJS = phquery.o conf.o BINS = phquery SCRIPTS = all: $(BINS) ###################################################################### # specific targets ###################################################################### phquery: phquery.o conf.o $(CC) $(LFLAGS) -o phquery phquery.o conf.o _ApiLib_ _MoreLib_ ###################################################################### # standard targets ###################################################################### install: $(BINS) $(SCRIPTS) -mkdir _QiUtilDir_ # for b in $(SCRIPTS) ; do \ # _SrcDir_/bin/install.sh -c -m _Mode_ -o _Owner_ -g _Group_ $$b _QiUtilDir_; done for b in $(BINS) ; do \ _SrcDir_/bin/install.sh -m _Mode_ -o _Owner_ -g _Group_ $$b _QiUtilDir_; done touch install rcs: $(SRCS) _Ci_ $? touch rcs clean: rm -f $(BINS) $(OBJS) tags install depend: perl -i -e 'while(<>){print;if (/^# DO NOT DELETE/) {last;}}' Makefile $(CC) _Depend_ $(CFLAGS) $(SRCS) >> Makefile @ 1.3 log @*** empty log message *** @ text @d35 1 a35 1 # @@(#)$Id: Makefile.templ,v 1.2 1995/01/10 23:53:57 p-pomes Exp p-pomes $ d61 1 a61 1 $(CC) $(LFLAGS) -o phquery phquery.o conf.o _ApiLib_ @ 1.2 log @*** empty log message *** @ text @d35 1 a35 1 # @@(#)$Id: Makefile.templ,v 1.1 1994/10/31 17:39:14 p-pomes Exp p-pomes $ d37 2 d61 1 a61 1 $(CC) $(CFLAGS) -o phquery phquery.o conf.o _ApiLib_ d68 4 a71 2 for b in $(BINS) $(SCRIPTS) ; do \ _Install_ -m _Mode_ -o _Owner_ -g _Group_ $$b _QiUtilDir_; done @ 1.1 log @Initial revision @ text @d35 1 a35 1 # @@(#)$Id: Makefile.templ,v 1.3 1994/08/18 16:28:05 p-pomes Exp $ d46 1 a46 2 SRCS = border.c build.c credb.c id.c maked.c \ makei.c maket.c mdump.c nsck.c ssnid.c ssnload.c ssndump.c d48 1 a48 4 OBJS = \ border.o build.o credb.o id.o \ maked.o makei.o maket.o mdump.o \ nsck.o ssnid.o ssnload.o ssndump.o brute2.o d50 1 a50 4 BINS = \ border build credb maked \ makei mdump nsck ssnid \ ssnload ssndump brute d52 1 a52 3 SCRIPTS = addnickname age aliasassign aliasprepare f.unblock \ froshlog h.unblock merge3 pg phify phoneaddr qierrs \ s.unblock sizedb zaplist d54 1 a54 2 ALLLIB = _QiLib_ _NsLib_ _ApiLib_ all:_Para_$(BINS) d58 2 a59 2 brute:_Para_ brute2.o $(CC) $(CFLAGS) -o brute brute2.o a60 30 build:_Para_ build.o maket.o $(ALLLIB) $(CC) $(CFLAGS) -o build build.o maket.o $(ALLLIB) _MoreLib_ maked :_Para_ maked.o $(ALLLIB) $(CC) $(CFLAGS) -o maked maked.o $(ALLLIB) _MoreLib_ mdump :_Para_ mdump.o $(ALLLIB) $(CC) $(CFLAGS) -o mdump mdump.o $(ALLLIB) _MoreLib_ nsck :_Para_ nsck.o ../qi/conf.o $(ALLLIB) $(CC) $(CFLAGS) -o nsck nsck.o $(ALLLIB) _MoreLib_ border : border.o $(CC) $(CFLAGS) -o border border.o ssnid : ssnid.o id.o $(CC) $(CFLAGS) -o ssnid ssnid.o id.o _DbmLib_ ssndump : ssndump.o id.o $(CC) $(CFLAGS) -o ssndump ssndump.o id.o _DbmLib_ ssnload : ssnload.o id.o $(CC) $(CFLAGS) -o ssnload ssnload.o id.o _DbmLib_ makei :_Para_ makei.o $(ALLLIB) $(CC) $(CFLAGS) -o makei makei.o $(ALLLIB) _MoreLib_ credb : credb.o $(CC) $(CFLAGS) -o credb credb.o $(ALLLIB) _MoreLib_ d64 2 a65 1 install:_Para_$(BINS) $(SCRIPTS) @