|
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: 5353 (0x14e9) Types: TextFile Names: »Makefile«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« └─⟦d3ac74d73⟧ └─⟦this⟧ »isode-5.0/others/idist/Makefile«
############################################################################### # Instructions to Make, for compilation of ISODE idist utility ############################################################################### ############################################################################### # # $Header: /f/osi/others/idist/RCS/Makefile,v 6.0 89/03/18 23:36:34 mrose Rel $ # # # $Log: Makefile,v $ # Revision 6.0 89/03/18 23:36:34 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. # ############################################################################### ############################################################################### # Generation Rules for program modules ############################################################################### .c.o:; $(CC) $(CFLAGS) -c $*.c ############################################################################### # Programs and Libraries ############################################################################### LIBES = -lisode LLIBS = -lisode ############################################################################### # Files ############################################################################### HFILES = ryresponder.h defs.h CFILES = docmd.c expand.c idistd.c idistd2.c install.c lookup.c \ main.c ops.c ryinitiator.c ryresponder.c support.c RYFILES = idist.ry ################################################################## # Here it is... ################################################################## all: idistd idist inst-all: inst-idistd inst-idist manuals install: inst-all clean lint: l-idistd l-idist ################################################################## # idistd ################################################################## inst-idistd: $(ETCDIR)ros.idist $(ETCDIR)ros.idist: idistd -cp $@ zros.idist -rm -f $@ cp idistd $@ -@ls -gls $@ -@echo "" IDISTDO= idistd.o idistd2.o support.o Idist-Rops.o ryresponder.o IDISTDC= idistd.c idistd2.c support.c Idist-ops.c ryresponder.c idistd: $(IDISTDO) libidist.a $(CC) $(LDFLAGS) -o $@ $(IDISTDO) libidist.a \ $(LIBES) $(LSOCKET) idistd.o: ryresponder.h Idist-ops.h Idist-types.h defs.h Idist-Rops.o: Idist-ops.c Idist-ops.h $(CC) $(CFLAGS) -DPERFORMER -c Idist-ops.c mv Idist-ops.o $@ ryresponder.o: ryresponder.h ryresponder.c Idist-ops.h $(CC) $(CFLAGS) -c ryresponder.c idistd2.o: Idist-types.h defs.h idistd2.c l-idistd: $(IDISTDC) IDIST-C true $(LINT) $(LFLAGS) -DPERFORMER $(IDISTDC) \ $(IDIST-C) $(LLIBS) ################################################################## # idist ################################################################## inst-idist: $(BINDIR)idist $(BINDIR)idist: idist -cp $@ zidist -rm -f $@ cp idist $@ -@ls -gls $@ -@echo "" IDISTO= main.o docmd.o expand.o gram.o install.o lookup.o support.o \ ops.o Idist-Iops.o ryinitiator.o IDISTC= main.c docmd.c expand.c gram.c install.c lookup.c support.c \ ops.c ryinitiator.c idist: $(IDISTO) libidist.a $(CC) $(LDFLAGS) -o $@ $(IDISTO) libidist.a $(LIBES) $(LSOCKET) ops.o: Idist-ops.h Idist-types.h defs.h Idist-Iops.o: Idist-ops.c Idist-ops.h $(CC) $(CFLAGS) -DINVOKER -c Idist-ops.c mv Idist-ops.o $@ main.o: defs.h support.o: defs.h Idist-ops.h Idist-types.h docmd.o: defs.h expand.o: defs.h gram.o: defs.h lookup.o: defs.h install.o: defs.h l-idist: $(IDISTC) Idist-ops.c IDIST-C true $(LINT) $(LFLAGS) -DINVOKER $(IDISTC) \ $(IDIST-C) Idist-stubs.c \ $(LLIBS) ################################################################ # libidist ################################################################ libidist.a: IDIST-O -rm -f $@ ar r$(ARFLAGS) $@ $(IDIST-O) ranlib $@ -@ls -l $@ -@echo "IDIST library built normally" IDIST-O= IDIST-[0-9]*.o IDIST-C= IDIST-[0-9]*.c IDIST-O: IDIST-C @$(MAKE) `/bin/ls $(IDIST-C) | sed 's/\.c$$/.o/'` -@touch $@ IDIST-C: Idist-types.py -@rm -f $(IDIST-C) $(IDIST-O) pepy -a ryr_advise -A -b IDIST $(PYFLAGS) \ Idist-types.py -@touch $@ Idist-types.py: Idist-asn.py posy -f -h -o $@ $(POFLAGS) Idist-asn.py Idist-types.h: Idist-types.py Idist-asn.py: idist.ry rosy $(RYFLAGS) -o $@ idist.ry Idist-ops.c: idist.ry Idist-ops.h: idist.ry Idist-stubs.c: idist.ry ################################################################ # manual pages ################################################################ MANUALS = idistd.8c idist.1c manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) -@echo "" ################################################################ # clean ################################################################ clean:; rm -f *.o *.a Idist* IDIST* gram.c idistd idist z* _* core grind:; iprint READ-ME Makefile tgrind -lc $(HFILES) $(CFILES) tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(RYFILES) @echo $(MANUALS) | \ tr " " "\012" | \ sed -e "s%.*%itroff -man &%" | \ sh -ve true:;