|
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: 5331 (0x14d3) 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/rdbm/Makefile«
############################################################################## # Instructions to Make, for compilation of ROS-based dbm library ############################################################################## ############################################################################## # # $Header: /f/osi/others/rdbm/RCS/Makefile,v 7.0 89/11/23 22:10:26 mrose Rel $ # # # $Log: Makefile,v $ # Revision 7.0 89/11/23 22:10:26 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. # ############################################################################### ############################################################################### # Options ############################################################################### BINDIR = /usr/new/ ############################################################################### # Generation Rules for program modules ############################################################################### .c.o:; $(CC) $(CFLAGS) -c $*.c ############################################################################### # Programs and Libraries ############################################################################### LIBES = $(TOPDIR)libisode.a LLIBS = $(TOPDIR)llib-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: $(SBINDIR)ros.dbm $(SBINDIR)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 $(TOPDIR)pepy/xpepy $(TOPDIR)pepy/xpepy -a ryr_advise -m -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 $(TOPDIR)pepy/xposy $(TOPDIR)pepy/xposy -f -h -m $(POFLAGS) -o $@ RDBM-asn.py RDBM-types.h: RDBM-types.py RDBM-asn.py: rdbm.ry $(TOPDIR)rosy/xrosy $(TOPDIR)rosy/xrosy $(RYFLAGS) -m -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 $(TOPDIR)pepy/xpepy $(TOPDIR)pepy/xpepy -m -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:;