|
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: 3127 (0xc37) Types: TextFile Names: »Makefile«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Fortune/Makefile«
# $Header: Makefile,v 1.3 86/09/16 17:27:19 arnold Exp $ # # Makefile for "fortune" program. See READ_ME for details. # FORTUNES= scene obscene CFILES= fortune.c strfile.h strfile.c rnd.c unstr.c SOURCE= $(CFILES) $(FORTUNES) TFILES= Troff.mac Troff.sed Do_troff SFILES= scene.sp.ok obscene.sp.ok MISC= READ_ME fortune.6 strfile.8 Makefile Notes Rot13 Shar_split :trfix LIBDIR= /usr/games/lib BINDIR= /usr/games USER= daemon # owner of fortune system DEFS= # BSD systems #DEFS= -DNO_RANDOM -DREGCMP # System V systems CFLAGS= -O $(DEFS) LIBS= # BSD systems #LIBS= -lPW # System V systems SFLAGS= -r ARF= fortune.ar TARF= /dev/rmt8 SHARF= fort.shar SHARFLAGS= -vmpX TDEV= TROFF= psroff $(TDEV) .DEFAULT: cat $<.?? > $< rm -f $<.?? chmod -r $< all: fortune strfile unstr fortunes.dat fortune: fortune.o rnd.o $(CC) $(CFLAGS) -o fortune fortune.o rnd.o $(LIBS) strfile: strfile.o rnd.o $(CC) $(CFLAGS) -o strfile strfile.o rnd.o unstr: unstr.o $(CC) $(CFLAGS) -o unstr unstr.o fortune.o strfile.o unstr.o: strfile.h fortunes.dat: fortunes strfile ./strfile $(SFLAGS) fortunes fortunes: $(FORTUNES) cp scene fortunes chmod u+w fortunes echo "%-" >> fortunes cat obscene >> fortunes lint: lint -hxb $(DEFS) fortune.c rnd.c 2>&1 > fortune.lint lint -hxb $(DEFS) strfile.c rnd.c 2>&1 > strfile.lint lint -hxb $(DEFS) unstr.c 2>&1 > unstr.lint tags: $(CFILES) ctags $(CFILES) install: all install.data cp fortune $(BINDIR)/ strip $(BINDIR)/fortune chown $(USER) $(BINDIR)/fortune chmod 4711 $(BINDIR)/fortune install.data: fortunes.dat mv fortunes.dat $(LIBDIR)/ chown $(USER) $(LIBDIR)/fortunes.dat chmod 600 $(LIBDIR)/fortunes.dat ar: rm -f $(ARF) ar cqv $(ARF) $(MISC) $(CFILES) $(SFILES) $(TFILES) $(FORTUNES) tar: tar crvbf 20 $(TARF) $(ARF) $(MISC) $(CFILES) $(SFILES) $(TFILES) $(FORTUNES) shar: ./Rot13 obscene > obscene.r13 -rm -f $(SHARF)* scene.?? obscene.r13.?? shar $(SHARFLAGS) $(MISC) $(SFILES) $(TFILES) > $(SHARF).01 shar $(SHARFLAGS) $(CFILES) > $(SHARF).02 ./Shar_split obscene.r13 $(SHARF) 3 "$(SHARFLAGS)" "sed -f :trfix" ./Shar_split scene $(SHARF) 5 "$(SHARFLAGS)" shar.clean: -rm -f $(SHARF)* scene.?? obscene.r13 obscene.r13.?? .obscene.com spell: scene.sp obscene.sp Spell.hlist: scene.sp.ok obscene.sp.ok cat scene.sp.ok obscene.sp.ok | spellin /usr/dict/hlista > Spell.hlist scene.sp: Spell.hlist scene spell -d Spell.hlist scene > scene.sp obscene.sp: Spell.hlist obscene spell -d Spell.hlist obscene > obscene.sp done_spell: sort -u -o scene.sp.ok scene.sp.ok scene.sp sort -u -o obscene.sp.ok obscene.sp.ok obscene.sp troff: troff.scene troff.obscene troff.scene: ./Do_troff scene $(TROFF) troff.obscene: ./Do_troff obscene $(TROFF) clean: sort.clean shar.clean rm -f fortune fortunes fortunes.dat fortunes.tar strfile unstr ? core *.o Spell.hlist *.sp sort: sort.scene sort.obscene sort.scene: strfile unstr strfile -oi scene mv scene Oscene unstr -o scene sort.obscene: strfile unstr strfile -oi obscene mv obscene Oobscene unstr -o obscene sort.clean: rm -f Oscene Oobscene scene.dat obscene.dat