home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / s / slurp103.zip / MAKEFILE < prev    next >
Text File  |  1992-12-20  |  1KB  |  61 lines

  1. #
  2. # Makefile for slurp
  3. #
  4.  
  5. # C compiler
  6. CC=cc
  7.  
  8. # C compilation flags
  9. CFLAGS= -O -Xa -I/usr/local/src/cnews/dbz
  10.  
  11. # Loader flags
  12. LDFLAGS=
  13.  
  14. # Libraries needed
  15. LIBS= /usr/local/src/cnews/dbz/dbz.o -lnsl -lsocket
  16.  
  17. # If you don't have syslog then uncomment these two lines
  18. #FAKESRC=fakesyslog.c
  19. #FAKEOBJ=fakesyslog.o
  20.  
  21.  
  22. # Everything else probably doesn't need changing
  23.  
  24. SOURCE = slurp.c newnews.c articles.c history.c time.c sockets.c misc.c \
  25.      space.c ${FAKESRC}
  26.  
  27. OBJECT = slurp.o newnews.o articles.o history.o time.o sockets.o misc.o \
  28.      space.o ${FAKEOBJ}
  29.  
  30. MANIFEST = README slurp.c newnews.c articles.c history.c time.c sockets.c \
  31.        misc.c space.c fakesyslog.c conf.h slurp.h nntp.h fakesyslog.h \
  32.        Makefile slurp.sys slurp.tim slurp.1
  33.  
  34.  
  35. slurp: ${OBJECT}
  36.     ${CC} ${LDFLAGS} ${OBJECT} -o slurp ${LIBS}
  37.  
  38. slurp.o: slurp.c slurp.h conf.h nntp.h
  39. newnews.o: newnews.c slurp.h conf.h nntp.h
  40. articles.o: articles.c slurp.h conf.h nntp.h
  41. history.o: history.c slurp.h conf.h nntp.h
  42. time.o: time.c slurp.h conf.h
  43. sockets.o: sockets.c slurp.h conf.h nntp.h
  44. misc.o: misc.c slurp.h conf.h
  45. space.o: space.c slurp.h conf.h
  46. fakesyslog.o: fakesyslog.c slurp.h conf.h
  47.  
  48. lint:
  49.     lint -p ${CFLAGS} ${SOURCE} > slurp.lint
  50.  
  51. clean:
  52.     -rm -f *.o slurp
  53.  
  54. shar:
  55.     shar ${MANIFEST} > slurp.shar
  56.  
  57. taz:
  58.     tar -cf - ${MANIFEST} | compress > slurp.tar.Z
  59.  
  60. # END-OF-FILE
  61.