home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / ethertop / Makefile < prev    next >
Encoding:
Makefile  |  1991-12-12  |  5.7 KB  |  111 lines

  1. BINDIR=/usr/local/bin
  2. MANDIR=/usr/man/manl
  3. MANEXT=l
  4. CC=cc -O
  5.  
  6. all: ethertop
  7.  
  8. ethertop: ethertop.o sort.o buffer.o hostname.o ether_clnt.o ether_xdr.o 
  9.     $(CC) -o ethertop ethertop.o sort.o buffer.o hostname.o ether_clnt.o ether_xdr.o -lcurses -ltermcap -lm
  10.  
  11. depend: ether.h
  12.     makedepend *.c *.h
  13.  
  14. clean:
  15.     rm -f *.o *~ ethertop TAGS ether.h ether_clnt.c ether_svc.c ether_xdr.c ether.x
  16.  
  17. dist: README Makefile copyright buffer.c ethertop.c hostname.c screen.c sort.h buffer.h ethertop.h patchlevel.h sort.c ethertop.man
  18.     shar README Makefile copyright buffer.c ethertop.c hostname.c screen.c sort.h buffer.h ethertop.h patchlevel.h sort.c ethertop.man >ethertop.shar
  19.  
  20. ether.h: /usr/include/rpcsvc/ether.x
  21.     cp /usr/include/rpcsvc/ether.x .
  22.     rpcgen ether.x
  23.  
  24. install: ethertop
  25.     install -c -m 755 ethertop $(BINDIR)
  26.  
  27. install.man: ethertop.man
  28.     install -c -m 644 ethertop.man $(MANDIR)/ethertop.$(MANEXT)
  29.  
  30. # DO NOT DELETE THIS LINE -- make depend depends on it.
  31.  
  32. buffer.o: buffer.h /usr/include/stdio.h
  33. ether_clnt.o: /usr/include/rpc/rpc.h /usr/include/rpc/types.h
  34. ether_clnt.o: /usr/include/malloc.h /usr/include/sys/types.h
  35. ether_clnt.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
  36. ether_clnt.o: /usr/include/sys/time.h /usr/include/sys/time.h
  37. ether_clnt.o: /usr/include/netinet/in.h /usr/include/rpc/xdr.h
  38. ether_clnt.o: /usr/include/rpc/auth.h /usr/include/rpc/clnt.h
  39. ether_clnt.o: /usr/include/rpc/rpc_msg.h /usr/include/rpc/auth_unix.h
  40. ether_clnt.o: /usr/include/rpc/auth_des.h /usr/include/rpc/svc.h
  41. ether_clnt.o: /usr/include/rpc/svc_auth.h ether.h
  42. ether_svc.o: /usr/include/stdio.h /usr/include/rpc/rpc.h
  43. ether_svc.o: /usr/include/rpc/types.h /usr/include/malloc.h
  44. ether_svc.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
  45. ether_svc.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
  46. ether_svc.o: /usr/include/sys/time.h /usr/include/netinet/in.h
  47. ether_svc.o: /usr/include/rpc/xdr.h /usr/include/rpc/auth.h
  48. ether_svc.o: /usr/include/rpc/clnt.h /usr/include/rpc/rpc_msg.h
  49. ether_svc.o: /usr/include/rpc/auth_unix.h /usr/include/rpc/auth_des.h
  50. ether_svc.o: /usr/include/rpc/svc.h /usr/include/rpc/svc_auth.h ether.h
  51. ether_xdr.o: /usr/include/rpc/rpc.h /usr/include/rpc/types.h
  52. ether_xdr.o: /usr/include/malloc.h /usr/include/sys/types.h
  53. ether_xdr.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
  54. ether_xdr.o: /usr/include/sys/time.h /usr/include/sys/time.h
  55. ether_xdr.o: /usr/include/netinet/in.h /usr/include/rpc/xdr.h
  56. ether_xdr.o: /usr/include/rpc/auth.h /usr/include/rpc/clnt.h
  57. ether_xdr.o: /usr/include/rpc/rpc_msg.h /usr/include/rpc/auth_unix.h
  58. ether_xdr.o: /usr/include/rpc/auth_des.h /usr/include/rpc/svc.h
  59. ether_xdr.o: /usr/include/rpc/svc_auth.h ether.h
  60. ethertop.o: /usr/include/stdio.h /usr/include/curses.h /usr/include/sgtty.h
  61. ethertop.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
  62. ethertop.o: /usr/include/sys/ttydev.h /usr/include/sys/ttold.h
  63. ethertop.o: /usr/include/sys/ioccom.h /usr/include/sys/ttycom.h
  64. ethertop.o: /usr/include/sys/filio.h /usr/include/sys/sockio.h
  65. ethertop.o: /usr/include/signal.h /usr/include/sys/signal.h
  66. ethertop.o: /usr/include/vm/faultcode.h /usr/include/ctype.h
  67. ethertop.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
  68. ethertop.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
  69. ethertop.o: /usr/include/sys/time.h /usr/include/math.h
  70. ethertop.o: /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h ethertop.h
  71. ethertop.o: /usr/include/rpc/rpc.h /usr/include/rpc/types.h
  72. ethertop.o: /usr/include/malloc.h /usr/include/netinet/in.h
  73. ethertop.o: /usr/include/rpc/xdr.h /usr/include/rpc/auth.h
  74. ethertop.o: /usr/include/rpc/clnt.h /usr/include/rpc/rpc_msg.h
  75. ethertop.o: /usr/include/rpc/auth_unix.h /usr/include/rpc/auth_des.h
  76. ethertop.o: /usr/include/rpc/svc.h /usr/include/rpc/svc_auth.h ether.h
  77. ethertop.o: buffer.h sort.h
  78. hostname.o: /usr/include/stdio.h /usr/include/sys/types.h
  79. hostname.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
  80. hostname.o: /usr/include/sys/socket.h /usr/include/netdb.h
  81. hostname.o: /usr/include/string.h ethertop.h /usr/include/rpc/rpc.h
  82. hostname.o: /usr/include/rpc/types.h /usr/include/malloc.h
  83. hostname.o: /usr/include/sys/time.h /usr/include/sys/time.h
  84. hostname.o: /usr/include/netinet/in.h /usr/include/rpc/xdr.h
  85. hostname.o: /usr/include/rpc/auth.h /usr/include/rpc/clnt.h
  86. hostname.o: /usr/include/rpc/rpc_msg.h /usr/include/rpc/auth_unix.h
  87. hostname.o: /usr/include/rpc/auth_des.h /usr/include/rpc/svc.h
  88. hostname.o: /usr/include/rpc/svc_auth.h ether.h
  89. sort.o: /usr/include/stdio.h ethertop.h /usr/include/rpc/rpc.h
  90. sort.o: /usr/include/rpc/types.h /usr/include/malloc.h
  91. sort.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
  92. sort.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
  93. sort.o: /usr/include/sys/time.h /usr/include/netinet/in.h
  94. sort.o: /usr/include/rpc/xdr.h /usr/include/rpc/auth.h
  95. sort.o: /usr/include/rpc/clnt.h /usr/include/rpc/rpc_msg.h
  96. sort.o: /usr/include/rpc/auth_unix.h /usr/include/rpc/auth_des.h
  97. sort.o: /usr/include/rpc/svc.h /usr/include/rpc/svc_auth.h ether.h buffer.h
  98. ether.o: /usr/include/rpc/types.h /usr/include/malloc.h
  99. ether.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
  100. ether.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
  101. ether.o: /usr/include/sys/time.h
  102. ethertop.o: /usr/include/rpc/rpc.h /usr/include/rpc/types.h
  103. ethertop.o: /usr/include/malloc.h /usr/include/sys/types.h
  104. ethertop.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
  105. ethertop.o: /usr/include/sys/time.h /usr/include/sys/time.h
  106. ethertop.o: /usr/include/netinet/in.h /usr/include/rpc/xdr.h
  107. ethertop.o: /usr/include/rpc/auth.h /usr/include/rpc/clnt.h
  108. ethertop.o: /usr/include/rpc/rpc_msg.h /usr/include/rpc/auth_unix.h
  109. ethertop.o: /usr/include/rpc/auth_des.h /usr/include/rpc/svc.h
  110. ethertop.o: /usr/include/rpc/svc_auth.h ether.h
  111.