home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / unaxcess / part1 / Makefile < prev    next >
Encoding:
Makefile  |  1986-11-30  |  2.1 KB  |  78 lines

  1. #
  2. # %W% %E% %U% ncoast!bsa %Z%
  3. # %Z% Copyright (C) 1986 by Brandon S. Allbery, All Rights Reserved %Z%
  4. #
  5.  
  6. # ``make SYSTEM=SYS3 all''
  7. # ``make SYSTEM=BSD all''
  8. # ``make SYSTEM=V7 all''
  9.  
  10. SHELL = /bin/sh
  11. # make on sys3 is not very nice when it comes to standard shell interfaces...
  12.  
  13. # -DUSE_PRINT is for Plexus sys 3 - the default uses _doprnt for formatting.
  14. #CFLAGS = -D$(SYSTEM) -O -DUSE_PRINT
  15. CFLAGS = -D$(SYSTEM) -O
  16.  
  17. all: ua uwho udate mkconf mvmsg uanews
  18.  
  19. uwho: Utilities/uwho
  20. udate: Utilities/udate
  21. mkconf: Utilities/mkconf
  22. mvmsg: Utilities/mvmsg
  23. uanews: Utilities/uanews
  24.  
  25. ua: ua.o msg.o conf.o date.o bull.o sys.o user.o dir.o param.o udl.o
  26.     cc -o ua ua.o msg.o conf.o date.o bull.o sys.o user.o dir.o param.o udl.o
  27.  
  28. ua.o msg.o conf.o date.o bull.o sys.o user.o dir.o param.o udl.o: ua.h user.h dir.h sys.h
  29.  
  30. Utilities/mkconf: Utilities/mkconf.o
  31.     cc Utilities/mkconf.o -o Utilities/mkconf
  32.  
  33. Utilities/udate: Utilities/udate.o date.o
  34.     cc Utilities/udate.o date.o -o Utilities/udate
  35.  
  36. Utilities/uwho: Utilities/uwho.o
  37.     cc -o Utilities/uwho Utilities/uwho.o
  38.  
  39. Utilities/mvmsg: Utilities/mvmsg.o
  40.     cc -o Utilities/mvmsg Utilities/mvmsg.o
  41.  
  42. Utilities/uanews: Utilities/uanews.o
  43.     cc -o Utilities/uanews Utilities/uanews.o
  44.  
  45. Utilities/mkconf.o: Utilities/mkconf.c
  46.     ${CC} ${CFLAGS} -c Utilities/mkconf.c
  47.     mv mkconf.o Utilities/mkconf.o
  48.  
  49. Utilities/udate.o: Utilities/udate.c
  50.     ${CC} ${CFLAGS} -c Utilities/udate.c
  51.     mv udate.o Utilities/udate.o
  52.  
  53. Utilities/uwho.o: Utilities/uwho.c
  54.     ${CC} ${CFLAGS} -c Utilities/uwho.c
  55.     mv uwho.o Utilities/uwho.o
  56.  
  57. Utilities/mvmsg.o: Utilities/mvmsg.c
  58.     ${CC} ${CFLAGS} -c Utilities/mvmsg.c
  59.     mv mvmsg.o Utilities/mvmsg.o
  60.  
  61. Utilities/uanews.o: Utilities/uanews.c
  62.     ${CC} ${CFLAGS} -c Utilities/uanews.c
  63.     mv uanews.o Utilities/uanews.o
  64.  
  65. clean:
  66.     rm -f ua Utilities/uwho Utilities/udate Utilities/upost \
  67.         Utilities/mvmsg Utilities/uanews \
  68.         Utilities/mkconf Utilities/umotd *.o Utilities/*.o tags core \
  69.         shar?
  70.  
  71. tags:
  72.     ctags *.[ch] Utilities/*.c
  73.  
  74. shar:
  75.     shar -dv ua.c date.c bull.c sys.c user.c param.c dir.c > shar1
  76.     shar -dv msg.c conf.c ua.h user.h dir.h sys.h README > shar2
  77.     shar -dv udl.c Makefile Utilities/*.c Utilities/*.sh > shar3
  78.