Annotation of 43BSD/games/fortune/Makefile, revision 1.1

1.1     ! root        1: FORTUNES=      scene obscene
        !             2: SOURCE=                fortune.c strfile.h strfile.c rnd.c unstr.c $(FORTUNES)
        !             3: TFILES=                Troff.mac Troff.sed Do_troff
        !             4: LIBDIR=                /usr/games/lib
        !             5: BINDIR=                /usr/games
        !             6: OWN=           arnold
        !             7: GRP=           arpa
        !             8: DEFS=
        !             9: CFLAGS=                -O $(DEFS)
        !            10: SFLAGS=                -r
        !            11: TDEV=          -Pver
        !            12: TROFF=         ditroff $(TDEV)
        !            13: DESTDIR=
        !            14: 
        !            15: all: fortune strfile unstr fortunes.dat
        !            16: 
        !            17: fortune: fortune.o rnd.o
        !            18:        $(CC) $(CFLAGS) -o fortune fortune.o rnd.o
        !            19: 
        !            20: strfile: strfile.o rnd.o
        !            21:        $(CC) $(CFLAGS) -o strfile strfile.o rnd.o
        !            22: 
        !            23: unstr: unstr.o
        !            24:        $(CC) $(CFLAGS) -o unstr unstr.o
        !            25: 
        !            26: fortune.o strfile.o unstr.o: strfile.h
        !            27: 
        !            28: fortunes.dat: fortunes strfile
        !            29:        ./strfile $(SFLAGS) fortunes
        !            30: 
        !            31: fortunes: $(FORTUNES)
        !            32:        cp scene fortunes
        !            33:        echo "%-" >> fortunes
        !            34:        cat obscene >> fortunes
        !            35: 
        !            36: lint:
        !            37:        lint -hxb $(DEFS) fortune.c rnd.c 2>&1 > fortune.lint
        !            38:        lint -hxb $(DEFS) strfile.c rnd.c 2>&1 > strfile.lint
        !            39:        lint -hxb $(DEFS) unstr.c 2>&1 > unstr.lint
        !            40: 
        !            41: install: all install.data
        !            42:        install -s -m 4711 -o daemon fortune $(DESTDIR)$(BINDIR)
        !            43: 
        !            44: install.data: fortunes.dat
        !            45:        install -m 600 -o daemon fortunes.dat $(DESTDIR)$(LIBDIR)
        !            46: 
        !            47: troff: troff.scene troff.obscene
        !            48: 
        !            49: troff.scene:
        !            50:        ./Do_troff scene $(TROFF)
        !            51: 
        !            52: troff.obscene:
        !            53:        ./Do_troff obscene $(TROFF)
        !            54: 
        !            55: clean: sort.clean
        !            56:        rm -f fortune fortunes fortunes.dat strfile unstr ? core *.o
        !            57: 
        !            58: sort: sort.scene sort.obscene
        !            59: 
        !            60: sort.scene: strfile unstr
        !            61:        strfile -oi scene
        !            62:        mv scene Oscene
        !            63:        unstr -o scene
        !            64: 
        !            65: sort.obscene: strfile unstr
        !            66:        strfile -oi obscene
        !            67:        mv obscene Oobscene
        !            68:        unstr -o obscene
        !            69: 
        !            70: sort.clean:
        !            71:        rm -f Oscene Oobscene

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.