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 / RES / Makefile < prev    next >
Makefile  |  1994-09-22  |  2KB  |  51 lines

  1. #
  2. # Copyright (c) 1988 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 this notice is preserved and that due credit is given
  7. # to the University of California at Berkeley. The name of the University
  8. # may not be used to endorse or promote products derived from this
  9. # software without specific prior written permission. This software
  10. # is provided ``as is'' without express or implied warranty.
  11. #
  12. #   from @(#)Makefile   5.16 (Berkeley) 3/14/88
  13. #
  14. SRCS=   herror.c res_comp.c res_init.c res_mkquery.c res_query.c \
  15.     res_send.c named/gethostnamadr.c named/sethostent.c \
  16.     strcasecmp.c strpbrk.c strerror.c res_debug.c select.c signal.c
  17. OBJS = sethostent.r res_debug.r gethostnamadr.r strpbrk.r res_query.r \
  18.  res_mkquery.r res_comp.r res_send.r res_init.r select.r signal.r \
  19.  strcasecmp.r strerror.r herror.r writev.r
  20.  
  21. DEFS=  -DBSD=43 # -DDEBUG
  22. CFLAGS= -O ${DEFS} -T/dd -I. -I/h0/blarslib/defs -O0 -Dis68k -g
  23. CC = gcc2
  24.  
  25. libresolv.l: ${OBJS}
  26.     merge ${OBJS} >-libresolv.l
  27.  
  28. install: libresolv.l
  29.     install -o bin -g bin -m 644 libresolv.a ${DESTDIR}/usr/lib
  30.     ranlib ${DESTDIR}/usr/lib/libresolv.a
  31.  
  32. .c.r:
  33.     ${CC} ${CFLAGS} -c -o $*.r $<
  34.  
  35. gethostnamadr.r: named/gethostnamadr.c
  36.     ${CC} -c ${CFLAGS} named/gethostnamadr.c
  37.  
  38. sethostent.r: named/sethostent.c
  39.     ${CC} -c ${CFLAGS} named/sethostent.c
  40.  
  41. clean: FRC
  42.     rm -f *.r errs a.out core libresolv.a tags
  43.  
  44. depend: FRC
  45.     mkdep ${CFLAGS} ${SRCS}
  46.  
  47. FRC:
  48.  
  49. # DO NOT DELETE THIS LINE -- mkdep uses it.
  50. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  51.