Annotation of coherent/d/bin/uucheck/checkperms/Makefile, revision 1.1

1.1     ! root        1: # Makefile for checkperms, permissions checking interpreter
        !             2: # part of uucheck the uucp sanity checker.
        !             3: #
        !             4: # Destination directory for installing executable files
        !             5: BIN=../install/usr/lib/uucheck/
        !             6: # Destination directory for installing data files
        !             7: # BTW if LIB= anything other than /usr/lib/uucheck/, you will have to edit
        !             8: # uucheck by hand.
        !             9: LIB=../install/usr/lib/uucheck/
        !            10: DESTDIR=/interim/usr/lib/uucheck/
        !            11: OBJS=y.tab.o lex.yy.o main.o monitor.o hosts.o do_check.o messages.o \
        !            12:        chmod_chk.o util.o parse_args.o copyright.o
        !            13: LIBS=-ly -ll
        !            14: YACC=yacc
        !            15: LEX=lex
        !            16: YACCFLAGS=
        !            17: LEXFLAGS=
        !            18: CFLAGS=-O -I..
        !            19: PROGS=uucp.perms checkperms
        !            20: #
        !            21: all:   $(PROGS)
        !            22:        >done!
        !            23: 
        !            24: checkperms:    $(OBJS) uucp.perms
        !            25:        $(CC) -o $(DESTDIR)checkperms $(CFLAGS) $(OBJS) $(LIBS)
        !            26:        su root chmog 511 bin bin $(DESTDIR)$@
        !            27: 
        !            28: uucp.perms:    uucp.perms
        !            29:                co $@ ; mv $@ $(DESTDIR)
        !            30:                su root chmog 444 bin bin $(DESTDIR)$@
        !            31: 
        !            32: y.tab.o:       checkperms.y
        !            33:        $(YACC) $(YACCFLAGS) checkperms.y
        !            34:        $(CC) -c $(CFLAGS) y.tab.c
        !            35: 
        !            36: lex.yy.o:      checkperms.lex
        !            37:        $(LEX) $(LEXFLAGS) checkperms.lex
        !            38:        $(CC) -c $(CFLAGS) lex.yy.c
        !            39: 
        !            40: main.o:        checkperms.h monitor.h ../uucheck.h
        !            41: 
        !            42: parse_args.o: ../parse_args.c
        !            43: 
        !            44: copyright.o: ../copyright.c
        !            45: 
        !            46: install:
        !            47:        cp -d checkperms $(BIN)/uucheckperms
        !            48:        chown bin $(BIN)/uucheckperms $(LIB)/uucp.perms
        !            49:        chgrp bin $(BIN)/uucheckperms $(LIB)/uucp.perms
        !            50: 
        !            51: clean:
        !            52:        rm -f $(OBJS) y.tab.c y.tab.h lex.yy.c core
        !            53: 

unix.superglobalmegacorp.com

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