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.libc.net < prev    next >
Makefile  |  1993-08-24  |  5KB  |  110 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. #    @(#)Makefile    5.16 (Berkeley) 3/14/88
  13. #
  14. SRCS=    getnetbyaddr.c getnetent.c getnetbyname.c getproto.c getprotoent.c \
  15.     getprotoname.c getservent.c getservbyport.c getservbyname.c \
  16.     herror.c rcmd.c rexec.c ruserpass.c res_comp.c res_debug.c \
  17.     res_init.c res_mkquery.c res_query.c res_send.c
  18. OBJS=    getnetbyaddr.o getnetent.o getnetbyname.o getproto.o getprotoent.o \
  19.     getprotoname.o getservent.o getservbyport.o getservbyname.o \
  20.     herror.o rcmd.o rexec.o ruserpass.o res_comp.o res_debug.o \
  21.     res_init.o res_mkquery.o res_query.o res_send.o
  22.  
  23. CFLAGS=    -O ${DEFS}
  24. TAGSFILE=tags
  25.  
  26. .c.o:
  27.     ${CC} -p -c ${CFLAGS} $*.c
  28.     -ld -X -r $*.o
  29.     mv a.out profiled/$*.o
  30.     ${CC} ${CFLAGS} -c $*.c
  31.     -ld -x -r $*.o
  32.     mv a.out $*.o
  33.  
  34. netlib netlib_p: ${OBJS}
  35.     @echo "building profiled netlib"
  36.     @cd profiled; ar cru ../netlib_p ${OBJS}
  37.     @echo "building normal netlib"
  38.     @ar cru netlib ${OBJS}
  39.  
  40. tags:
  41.     cwd=`pwd`; \
  42.     for i in ${SRCS}; do \
  43.         ctags -a -f ${TAGSFILE} $$cwd/$$i; \
  44.     done
  45.  
  46. clean:
  47.     rm -f *.o profiled/*.o errs a.out core netlib netlib_p tags
  48.  
  49. depend:
  50.     mkdep ${CFLAGS} ${SRCS}
  51.  
  52. # DO NOT DELETE THIS LINE -- mkdep uses it.
  53. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  54.  
  55. getnetbyaddr.o: getnetbyaddr.c /usr/include/netdb.h
  56. getnetent.o: getnetent.c /usr/include/stdio.h /usr/include/sys/types.h
  57. getnetent.o: /usr/include/sys/socket.h /usr/include/netdb.h
  58. getnetent.o: /usr/include/ctype.h
  59. getnetbyname.o: getnetbyname.c /usr/include/netdb.h
  60. getproto.o: getproto.c /usr/include/netdb.h
  61. getprotoent.o: getprotoent.c /usr/include/stdio.h /usr/include/sys/types.h
  62. getprotoent.o: /usr/include/sys/socket.h /usr/include/netdb.h
  63. getprotoent.o: /usr/include/ctype.h
  64. getprotoname.o: getprotoname.c /usr/include/netdb.h
  65. getservent.o: getservent.c /usr/include/stdio.h /usr/include/sys/param.h
  66. getservent.o: /usr/include/sys/types.h /usr/include/signal.h
  67. getservent.o: /usr/include/machine/trap.h /usr/include/sys/types.h
  68. getservent.o: /usr/include/sys/socket.h /usr/include/netdb.h
  69. getservent.o: /usr/include/ctype.h
  70. getservbyport.o: getservbyport.c /usr/include/netdb.h
  71. getservbyname.o: getservbyname.c /usr/include/netdb.h
  72. herror.o: herror.c /usr/include/sys/types.h /usr/include/sys/uio.h
  73. rcmd.o: rcmd.c /usr/include/stdio.h /usr/include/ctype.h /usr/include/pwd.h
  74. rcmd.o: /usr/include/sys/param.h /usr/include/sys/types.h /usr/include/signal.h
  75. rcmd.o: /usr/include/machine/trap.h /usr/include/sys/file.h
  76. rcmd.o: /usr/include/sys/signal.h /usr/include/sys/socket.h
  77. rcmd.o: /usr/include/sys/stat.h /usr/include/netinet/in.h /usr/include/netdb.h
  78. rcmd.o: /usr/include/errno.h
  79. rexec.o: rexec.c /usr/include/sys/types.h /usr/include/sys/socket.h
  80. rexec.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/netdb.h
  81. rexec.o: /usr/include/errno.h
  82. ruserpass.o: ruserpass.c /usr/include/stdio.h /usr/include/utmp.h
  83. ruserpass.o: /usr/include/ctype.h /usr/include/sys/types.h
  84. ruserpass.o: /usr/include/sys/stat.h /usr/include/errno.h
  85. res_comp.o: res_comp.c /usr/include/sys/types.h /usr/include/stdio.h
  86. res_comp.o: /usr/include/arpa/nameser.h
  87. res_debug.o: res_debug.c /usr/include/sys/types.h /usr/include/netinet/in.h
  88. res_debug.o: /usr/include/stdio.h /usr/include/arpa/nameser.h
  89. res_init.o: res_init.c /usr/include/sys/types.h /usr/include/sys/socket.h
  90. res_init.o: /usr/include/netinet/in.h /usr/include/stdio.h
  91. res_init.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
  92. res_mkquery.o: res_mkquery.c /usr/include/stdio.h /usr/include/sys/types.h
  93. res_mkquery.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
  94. res_mkquery.o: /usr/include/resolv.h
  95. res_query.o: res_query.c /usr/include/sys/param.h /usr/include/sys/types.h
  96. res_query.o: /usr/include/signal.h /usr/include/machine/trap.h
  97. res_query.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
  98. res_query.o: /usr/include/ctype.h /usr/include/netdb.h /usr/include/stdio.h
  99. res_query.o: /usr/include/errno.h /usr/include/strings.h
  100. res_query.o: /usr/include/arpa/inet.h /usr/include/arpa/nameser.h
  101. res_query.o: /usr/include/resolv.h
  102. res_send.o: res_send.c /usr/include/sys/param.h /usr/include/sys/types.h
  103. res_send.o: /usr/include/signal.h /usr/include/machine/trap.h
  104. res_send.o: /usr/include/sys/time.h /usr/include/time.h
  105. res_send.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
  106. res_send.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/errno.h
  107. res_send.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
  108.  
  109. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  110.