|
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: 5147 (0x141b) Types: TextFile Names: »Makefile«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« └─⟦d3ac74d73⟧ └─⟦this⟧ »isode-5.0/others/rdbm/Makefile«
############################################################################## # Instructions to Make, for compilation of ROS-based dbm library ############################################################################## ############################################################################## # # $Header: /f/osi/others/rdbm/RCS/Makefile,v 6.0 89/03/18 23:36:16 mrose Rel $ # # # $Log: Makefile,v $ # Revision 6.0 89/03/18 23:36:16 mrose # Release 5.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. # ############################################################################### ############################################################################### # Options ############################################################################### BINDIR = /usr/new/ ############################################################################### # Generation Rules for program modules ############################################################################### .c.o:; $(CC) $(CFLAGS) -c $*.c ############################################################################### # Programs and Libraries ############################################################################### LIBES = -lisode LLIBS = -lisode ############################################################################### # Files ############################################################################### HFILES = ../lookup/ryresponder.h CFILES = rdbmd.c rdbm.c ../lookup/ryresponder.c RYFILES = rdbm.ry ################################################################## # Here it is... ################################################################## all: rdbmd rdbm rdbexample dbexample sample.pag inst-all: inst-rdbmd inst-rdbm # manuals install: inst-all clean lint: l-rdbmd l-rdbm ################################################################## # rdbmd ################################################################## inst-rdbmd: $(ETCDIR)ros.dbm $(ETCDIR)ros.dbm: rdbmd -cp $@ zros.dbm -rm -f $@ cp rdbmd $@ -@ls -gls $@ -@echo "" rdbmd: rdbmd.o RDBM-Rops.o RDBM-Rtypes.o ryresponder.o $(LDCC) $(LDFLAGS) -o $@ rdbmd.o RDBM-Rops.o RDBM-Rtypes.o \ ryresponder.o $(LIBES) $(LSOCKET) -ldbm l-rdbmd: RDBM-ops.c RDBM-Rtypes.c true $(LINT) $(LFLAGS) -DPERFORMER rdbmd.c RDBM-ops.c \ RDBM-Rtypes.c ../lookup/ryresponder.c $(LLIBS) rdbmd.o: ../lookup/ryresponder.h RDBM-ops.h RDBM-types.h RDBM-Rops.o: RDBM-ops.c RDBM-ops.h $(HFILES) $(CC) $(CFLAGS) -DPERFORMER -c RDBM-ops.c mv RDBM-ops.o $@ RDBM-Rtypes.c: RDBM-types.py pepy -a ryr_advise -o $@ $(PYFLAGS) RDBM-types.py ryresponder.o: ../lookup/ryresponder.h ../lookup/ryresponder.c $(CC) $(CFLAGS) -c ../lookup/ryresponder.c RDBM-types.py: RDBM-asn.py posy -f -h $(POFLAGS) -o $@ RDBM-asn.py RDBM-types.h: RDBM-types.py RDBM-asn.py: rdbm.ry rosy $(RYFLAGS) -o $@ rdbm.ry RDBM-ops.c: rdbm.ry RDBM-ops.h: rdbm.ry RDBM-stubs.c: rdbm.ry ################################################################## # rdbm ################################################################## inst-rdbm: $(LIBDIR)librdbm.a $(LIBDIR)librdbm.a: librdbm.a -rm -f $@ cp librdbm.a $@ @$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib -@ls -gls $@ -@echo "" rdbm: librdbm.a librdbm.a: rdbm.o RDBM-Iops.o RDBM-Itypes.o @$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ \ rdbm.o RDBM-Iops.o RDBM-Itypes.o -@ls -l $@ -@echo "RDBM library built normally" l-rdbm: RDBM-ops.c RDBM-Itypes.c true $(LINT) $(LFLAGS) -DINVOKER rdbm.c RDBM-ops.c \ RDBM-Itypes.c $(LLIBS) rdbm.o: RDBM-ops.h RDBM-types.h $(HFILES) RDBM-Iops.o: RDBM-ops.c RDBM-ops.h $(HFILES) $(CC) $(CFLAGS) -DINVOKER -c RDBM-ops.c mv RDBM-ops.o $@ RDBM-Itypes.c: RDBM-types.py pepy -o $@ $(PYFLAGS) RDBM-types.py ################################################################### # database stuff for testing ################################################################### rdbexample: dbexample.o librdbm.a $(LDCC) $(LDFLAGS) -o rdbexample dbexample.o librdbm.a \ $(LIBES) -lcurses -ltermcap $(LSOCKET) dbexample: dbexample.o cc -o dbexample dbexample.o -ldbm -lcurses -ltermcap sample.pag: sample_data dbadd touch sample.pag touch sample.dir cat sample_data | ./dbadd sample dbadd: dbadd.o cc -o dbadd dbadd.o -ldbm ################################################################ # clean ################################################################ clean:; rm -f *.o *.a RDBM* z* _* core rdbmd dbadd dbexample \ rdbexample sample.dir sample.pag grind:; iprint Makefile tgrind -lc $(HFILES) $(CFILES) tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(RYFILES) @echo $(MANUALS) | \ tr " " "\012" | \ sed -e "s%.*%itroff -man &%" | \ sh -ve true:;