|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: M T
Length: 5177 (0x1439) Types: TextFile Names: »Makefile«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/others/quipu/uips/fred/Makefile«
############################################################################### # Instructions to Make, for compilation of ISODE QUIPU White Pages interface ############################################################################### ############################################################################### # # $Header: /f/osi/others/quipu/uips/fred/RCS/Makefile,v 7.1 90/01/11 18:36:18 mrose Exp $ # # # $Log: Makefile,v $ # Revision 7.1 90/01/11 18:36:18 mrose # real-sync # # Revision 7.0 89/11/23 22:08:51 mrose # Release 6.0 # ############################################################################### ############################################################################### # # NOTICE # # Acquisition, use, and distribution of this module and related # materials are subject to the restrictions of a license agreement. # Consult the Preface in the User's Manual for the full terms of # this agreement. # ############################################################################### ############################################################################### # Generation Rules for program modules ############################################################################### .c.o:; $(CC) $(CFLAGS) -c $*.c ############################################################################### # Programs and Libraries ############################################################################### LIBES = $(TOPDIR)libisode.a LLIBS = $(TOPDIR)llib-lisode ############################################################################### # FILES ############################################################################### HFILES = fred.h CFILES = fred.c dispatch.c miscellany.c pipe.c whois.c ############################################################## # Here it is... ############################################################## all: fred whitepages fredrc fredsh inst-all: inst-fred inst-fredrc inst-fredsh inst-fredman manuals # inst-whitepages install: inst-all clean lint: l-fred ################################################################### # fred ################################################################### inst-fred: $(BINDIR)fred $(BINDIR)fred: xfred -cp $@ zxfred -rm -f $@ cp xfred $@ -rm -f $(SBINDIR)in.whitepages if ln $@ $(SBINDIR)in.whitepages; \ then exit 0; \ else cp xfred $(SBINDIR)in.whitepages; \ fi -@ls -gls $@ $(SBINDIR)in.whitepages -@echo "" fred: xfred xfred: fred.o dispatch.o miscellany.o pipe.o socket.o whois.o $(LDCC) $(LDFLAGS) -o $@ fred.o dispatch.o miscellany.o \ pipe.o socket.o whois.o \ $(LIBES) $(LSOCKET) l-fred:; $(LINT) $(LFLAGS) fred.c dispatch.c miscellany.c pipe.c \ ../dish/socket.c whois.c $(LLIBS) fred.o: fred.h dispatch.o: fred.h miscellany.o: fred.h pipe.o: fred.h socket.o: ../dish/socket.c $(CC) $(CFLAGS) -c ../dish/socket.c whois.o: fred.h ################################################################### # fredrc ################################################################### inst-fredrc: $(ETCDIR)fredrc $(ETCDIR)fredrc: true if [ -s $@ ]; \ then exit 0; \ else cp fredrc $@; ls -gls $@; \ fi if ln $(ETCDIR)fredrc $(ETCDIR)fredrc.old; \ then rm -f $@ ; cp fredrc $@; ls -gls $@; \ else exit 0; \ fi fredrc: ################################################################### # fredsh ################################################################### inst-fredsh: $(SBINDIR)fredsh $(SBINDIR)fredsh: xfredsh Makefile -cp $@ zxfredsh -rm -f $@ sed -e 's%@(BINDIR)%$(BINDIR)%' < fredsh.sh > $@ chmod a+rx $@ -@ls -gls $@ -@echo "" fredsh: xfredsh xfredsh: fredsh.sh cp fredsh.sh $@ chmod a+rx $@ ################################################################### # fredman ################################################################### inst-fredman: $(ETCDIR)fred.0 $(ETCDIR)fred.0: fred.1c Makefile -cp $@ zfred.0 -rm -f $@ nroff -man < fred.1c > $@ -@ls -gls $@ -@echo "" ################################################################### # whitepages ################################################################### inst-whitepages: $(BINDIR)whitepages $(BINDIR)whitepages: xwhitepages -cp $@ zxwhitepages -rm -f $@ cp xwhitepages $@ -@ls -gls $@ -@echo "" whitepages: xwhitepages xwhitepages: whitepages.sh cp whitepages.sh $@ chmod a+rx $@ ################################################################ # manual pages ################################################################ MANUALS = fred.1c manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) -@echo "" ############################################################## # clean ############################################################## clean:; rm -f *.ph *.o *.a a.out _* x* z* *.orig \ core $(CLEANSTRINGS) grind:; iprint Makefile whitepages.sh fredsh tgrind -lc $(HFILES) $(CFILES) @echo $(MANUALS) | \ tr " " "\012" | \ sed -e "s%.*%itroff -man &%" | \ sh -ve true:;