Annotation of 43BSD/etc/named/tools/ns.lookup/src/Makefile, revision 1.1

1.1     ! root        1: #
        !             2: # Copyright (c) 1985 Regents of the University of California.
        !             3: # All rights reserved.  The Berkeley software License Agreement
        !             4: # specifies the terms and conditions for redistribution.
        !             5: #
        !             6: #      @(#)Makefile    5.5 (Berkeley) 5/13/86
        !             7: #
        !             8: DESTDIR=
        !             9: HELP=   ../man/nslookup.help
        !            10: DEFS=  
        !            11: CFLAGS=        -g ${DEFS}
        !            12: LIBS=  -ll -lresolv
        !            13: LFLAGS=        
        !            14: 
        !            15: # The name server assistant
        !            16: #
        !            17: PROG=  nslookup
        !            18: 
        !            19: # Sources
        !            20: #
        !            21: SRCS=  main.c getinfo.c debug.c send.c skip.c list.c subr.c 
        !            22: 
        !            23: # Objects
        !            24: #
        !            25: OBJS=  main.o getinfo.o debug.o send.o skip.o list.o subr.o lex.yy.o 
        !            26: 
        !            27: # Header files
        !            28: #
        !            29: HDRS=  res.h
        !            30: 
        !            31: ${PROG}: ${OBJS} ${HDRS}
        !            32:        cc ${LFLAGS} -o ${PROG} ${OBJS} ${LIBS}
        !            33: 
        !            34: ${OBJS}:
        !            35:        cc ${CFLAGS} ${INCPATH} -c $*.c
        !            36: 
        !            37: lex.yy.c: commands.l
        !            38:        ${LEX} commands.l
        !            39: 
        !            40: install: ${PROG} ${HELP}
        !            41:        install -c ${PROG} ${DESTDIR}/usr/local/${PROG}
        !            42:        install -c ${HELP} ${DESTDIR}/usr/local/${HELP}
        !            43: 
        !            44: clean:
        !            45:        rm -f a.out core tags errs log lex.yy.c ${OBJS} ${PROG}
        !            46: 
        !            47: lint:
        !            48:        lint -hn ${INCPATH} ${DEFS} ${SRCS} 
        !            49: 
        !            50: depend:
        !            51:        cc -M ${INCPATH} ${SRCS} | \
        !            52:        awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
        !            53:                else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
        !            54:                       else rec = rec " " $$2 } } \
        !            55:              END { print rec } ' > makedep
        !            56:        echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
        !            57:        echo '$$r makedep' >>eddep
        !            58:        echo 'w' >>eddep
        !            59:        cp Makefile Makefile.bak
        !            60:        ed - Makefile < eddep
        !            61:        rm eddep makedep
        !            62:        echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
        !            63:        echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
        !            64:        echo '# see make depend above' >> Makefile
        !            65: 
        !            66: # DO NOT DELETE THIS LINE -- make depend uses it
        !            67: 
        !            68: 
        !            69: main.o: main.c /usr/include/stdio.h /usr/include/strings.h
        !            70: main.o: /usr/include/sys/types.h /usr/include/netdb.h /usr/include/sys/socket.h
        !            71: main.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
        !            72: main.o: /usr/include/resolv.h /usr/include/signal.h /usr/include/setjmp.h
        !            73: main.o: ./res.h
        !            74: getinfo.o: getinfo.c /usr/include/sys/types.h /usr/include/sys/socket.h
        !            75: getinfo.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/ctype.h
        !            76: getinfo.o: /usr/include/arpa/nameser.h /usr/include/resolv.h ./res.h
        !            77: debug.o: debug.c /usr/include/sys/types.h /usr/include/netinet/in.h
        !            78: debug.o: /usr/include/stdio.h /usr/include/arpa/nameser.h /usr/include/resolv.h
        !            79: debug.o: ./res.h
        !            80: send.o: send.c /usr/include/sys/types.h /usr/include/sys/time.h
        !            81: send.o: /usr/include/time.h /usr/include/sys/socket.h /usr/include/netinet/in.h
        !            82: send.o: /usr/include/stdio.h /usr/include/arpa/nameser.h /usr/include/resolv.h
        !            83: send.o: ./res.h
        !            84: skip.o: skip.c /usr/include/sys/types.h /usr/include/netinet/in.h
        !            85: skip.o: /usr/include/stdio.h /usr/include/arpa/nameser.h
        !            86: list.o: list.c /usr/include/sys/types.h /usr/include/sys/socket.h
        !            87: list.o: /usr/include/netinet/in.h /usr/include/netdb.h /usr/include/stdio.h
        !            88: list.o: /usr/include/strings.h /usr/include/ctype.h /usr/include/arpa/nameser.h
        !            89: list.o: /usr/include/resolv.h ./res.h
        !            90: subr.o: subr.c /usr/include/stdio.h /usr/include/strings.h
        !            91: subr.o: /usr/include/sys/types.h /usr/include/netdb.h /usr/include/sys/socket.h
        !            92: subr.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
        !            93: subr.o: /usr/include/signal.h /usr/include/setjmp.h ./res.h
        !            94: # DEPENDENCIES MUST END AT END OF FILE
        !            95: # IF YOU PUT STUFF HERE IT WILL GO AWAY
        !            96: # see make depend above

unix.superglobalmegacorp.com

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