Annotation of 43BSD/contrib/pathalias/Makefile, revision 1.1

1.1     ! root        1: #!/bin/make -f
        !             2: # pathalias -- by steve bellovin, as told to peter honeyman
        !             3: 
        !             4: # if you can't or don't intend to use dbm files, don't bother with makedb
        !             5: DBM = -ldbm
        !             6: # or if you roll your own ...
        !             7: # DBM = dbm.o
        !             8: 
        !             9: CC = cc
        !            10: CFLAGS = -O
        !            11: LDFLAGS = -s
        !            12: YFLAGS = -d
        !            13: 
        !            14: OBJ = addlink.o addnode.o extern.o local.o main.o mapit.o mapaux.o mem.o parse.o printit.o
        !            15: HDRS = def.h config.h
        !            16: CSRC = addlink.c addnode.c extern.c local.c main.c mapit.c mapaux.c mem.c printit.c
        !            17: SRC = $(CSRC) parse.y
        !            18: LSRC = $(CSRC) parse.c
        !            19: 
        !            20: all: pathalias makedb
        !            21: 
        !            22: pathalias: $(OBJ)
        !            23:        $(CC) $(LDFLAGS) $(OBJ) -o pathalias
        !            24: 
        !            25: $(OBJ):        $(HDRS)
        !            26: 
        !            27: parse.c: parse.y $(HDRS)
        !            28:        $(YACC) $(YFLAGS) parse.y
        !            29:        mv y.tab.c parse.c
        !            30: 
        !            31: makedb: makedb.o
        !            32:        $(CC) $(LDFLAGS) makedb.o $(DBM) -o makedb
        !            33: 
        !            34: makedb.o: config.h
        !            35: 
        !            36: clean:
        !            37:        rm -f *.o y.tab.? parse.c errs makedb pathalias
        !            38: 
        !            39: clobber: clean
        !            40:        rm -f pathalias makedb
        !            41: 
        !            42: tags: $(SRC) $(HDRS) makedb.c
        !            43:        ctags -w $(HDRS) $(SRC)
        !            44: 
        !            45: bundle:
        !            46:        @bundle README CHANGES pathalias.1 Makefile ${HDRS} ${SRC} makedb.c
        !            47: 
        !            48: lint:  $(LSRC)
        !            49:        lint $(CFLAGS) $(LSRC)
        !            50:        lint makedb.c
        !            51: 
        !            52: install:
        !            53:        @echo "install pathalias according to local conventions"

unix.superglobalmegacorp.com

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