home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume18 / mq / Makefile < prev    next >
Makefile  |  1989-03-05  |  1KB  |  48 lines

  1. # `C' compiler void compatibility
  2. VOID='-DVOID=(void)'
  3.  
  4. # BSD compatibility
  5. # kelvin.arpa: Celerity C1230/C1260 UNIX 3.4.78
  6. # scubed.arpa: Ultrix V2.0-1
  7. # s3sun.arpa: Sun UNIX 4.2 Release 3.0
  8. # s3dawn.scubed.arpa: Sun UNIX 4.2 Release 3.4
  9.  
  10. ## SysV compatitibilty
  11. ## space.scubed.arpa: Ridge 32/3200 running RX/V 1.1 (V.2)
  12. ## sdcc15.ucsd.edu: UNIX System V Release 2.1.1v4 AT&T 3B20
  13. #NDIR=    -I/usr/local
  14. #LIBNDIR= -L/usr/local/lib -lndir
  15. ## if the default set-up for the directory files doesn't work, 
  16. ## `$man directory' should tell you where the appropriate files are 
  17. ## located on your system (if they are there at all). Comment out the 
  18. ## above two lines and adjust $(LIBNDIR) below as well as changing the 
  19. ## include line in mq.c to the appropriate value. 
  20. ##LIBNDIR= -L/usr/ucb.lib -lucb
  21. #OS=    -DSYSV $(NDIR)
  22.  
  23. # system mailbox directory (the trailing slash is needed) and
  24. # system mail queue directory (no trailing slash!)
  25. MAIL=    '-DMAILDIR="/usr/spool/mail/"' '-DMQUEUE="/usr/spool/mqueue"'
  26.  
  27. CFLAGS=    -O $(OS) $(VOID) $(MAIL)
  28.  
  29. all:    mq from
  30.  
  31. mq:    mq.o
  32.     cc -o mq mq.o $(LIBNDIR)
  33.  
  34. from:    from.o
  35.     cc -o from from.o
  36.  
  37. clean:    Makefile
  38.     @rm -f core mq.o from.o
  39.  
  40. clobber: clean
  41.     @rm -f mq from mq.shar
  42.  
  43. cleanse: clean shar
  44.     @rm -f mq from mq.c from.c mq.8 from.1 README Makefile
  45.  
  46. shar:    Makefile
  47.     shar README Makefile mq.c from.c from.1 mq.8 > mq.shar
  48.