home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / ISP / bind.4.8.3.lzh / BIND483 / TOOLS / NSLOOKUP / makefile.org < prev    next >
Makefile  |  1994-08-29  |  2KB  |  51 lines

  1. #
  2. # Copyright (c) 1987 Regents of the University of California.
  3. # All rights reserved.
  4. #
  5. # Redistribution and use in source and binary forms are permitted
  6. # provided that the above copyright notice and this paragraph are
  7. # duplicated in all such forms and that any documentation,
  8. # advertising materials, and other materials related to such
  9. # distribution and use acknowledge that the software was developed
  10. # by the University of California, Berkeley.  The name of the
  11. # University may not be used to endorse or promote products derived
  12. # from this software without specific prior written permission.
  13. # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  14. # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  15. # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. #    @(#)Makefile    5.20 (Berkeley) 10/2/89
  18. #
  19. CFLAGS=    -O
  20. RES=
  21. LIBC=    /lib/libc.a
  22. LIBS=    -ll ${RES}
  23. CSRCS=    main.c getinfo.c debug.c send.c skip.c list.c subr.c
  24. SRCS=    ${CSRCS} commands.c
  25. OBJS=    main.o getinfo.o debug.o send.o skip.o list.o subr.o commands.o
  26.  
  27. all: nslookup
  28.  
  29. nslookup: ${OBJS} ${LIBC}
  30.     ${CC} -o $@ ${OBJS} ${LIBS}
  31.  
  32. clean:
  33.     rm -f ${OBJS} core nslookup commands.c lex.yy.c lex.yy.o
  34.  
  35. cleandir: clean
  36.     rm -f tags .depend
  37.  
  38. depend: ${SRCS}
  39.     mkdep ${CFLAGS} ${SRCS}
  40.  
  41. install:
  42.     install -s -o bin -g bin -m 755 nslookup ${DESTDIR}/usr/local/nslookup
  43.     install -c -o bin -g bin -m 444 nslookup.help ${DESTDIR}/usr/local/nslookup.help
  44.     install -c -o bin -g bin -m 444 nslookup.8 ${DESTDIR}/usr/man/man8/nslookup.8
  45.  
  46. lint: ${SRCS}
  47.     lint ${SRCS}
  48.  
  49. tags: ${CSRCS}
  50.     ctags ${CSRCS}
  51.