home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume3 / uumail / makefile < prev    next >
Encoding:
Makefile  |  1986-11-30  |  2.6 KB  |  83 lines

  1. ####################################################################
  2. # makefile for uumail & uupath
  3. # program to integrate with pathalias created uucpmap databases
  4. # programs originally developed by Jeff Donnelly
  5. # updated to use pathalias database by Stan Barber
  6. # $Header: makefile,v 1.3 85/08/03 00:38:33 UUCP Exp $
  7. #
  8. # the following defines should be configured for you site
  9. # add -DDBM to CCFLAGS if your pathalias database used the
  10. # dbm(3) routines
  11. # if you are a ATT system III or system V site
  12. # or a masscomp add the -DSYSIII flags
  13. # If you want to use the opath subroutine to deal with
  14. # domain names add the -DOPATH flag to the CFLAGS line
  15. # you may want to modify the LIBS line to correspond to 
  16. # libraries that you may need at you site
  17. # see conf.h for other changes that may need be made
  18. # IMPORTANT INFORMATION ABOUT UUCP
  19. # If your uucp does not understand the -g (grade) flag
  20. # add the -DNOGRADE flag to CFLAGS.
  21. # If your uucp does not know about the -a (returnto) flag
  22. # add the -DNORETURN flag to CFLAGS
  23. # $Log:    makefile,v $
  24. # Revision 1.3  85/08/03  00:38:33  UUCP
  25. # Added support for shar and RCS.
  26. # Changed name of gethostname to gethostnam to allow RCS to work right.
  27. # Stan Barber
  28. # Revision 1.2  85/07/11  19:28:52  sob
  29. # updated with gethostname.c
  30. # Revision 1.1  85/07/11  19:23:22  sob
  31. # Initial revision
  32. ###############################################################
  33. .SUFFIXES: .c,v .h,v
  34.  
  35. CFLAGS= -O -DSYSIII -DDEBUG -DOPATH -DUGLYUUCP -DLOG
  36.  
  37. LIBS=
  38.  
  39. .c,v.c:
  40.     co -q $*.c
  41.  
  42. .h,v.h:
  43.     co -q $*.h
  44.  
  45. all: uumail rmail
  46.  
  47. uumail: getpath.o uumail.o gethostnam.o opath.o
  48.     cc $(CFLAGS) getpath.o uumail.o gethostnam.o opath.o -o uumail $(LIBS)
  49.  
  50. address:address.o opath.o getpath.o
  51.     cc $(CFLAGS) address.o opath.o getpath.o -o address $(LIBS)
  52.  
  53. getpath.o: getpath.c uuconf.h
  54.  
  55. uupath.o: uupath.c uuconf.h
  56.  
  57. uumail.o: uumail.c uuconf.h
  58.  
  59. gethostnam.o:gethostnam.c
  60.  
  61. address.o:address.c
  62.  
  63. opath.o:opath.c
  64.  
  65. rmail: rmail.c gethostnam.o
  66.     cc $(CFLAGS) rmail.c gethostnam.o -o rmail $(LIBS)
  67.  
  68. lint:
  69.     lint $(CFLAGS) getpath.c uumail.c gethostnam.c opath.c
  70.  
  71. clean: 
  72.     rm -f *.o *.CKP *.BAK *.bak
  73.  
  74. doc: uumail.1 uupath.1 address.1 opath.3
  75.     nroff -man uumail.1 >uumail.cat; nroff -man uupath.1 >uupath.cat; nroff -man address.1 >address.cat; nroff -man opath.3 >opath.cat
  76.  
  77. shar: domains palias rmail.c opath.c address.c uumail.c uuconf.h gethostnam.c uupath.c getpath.c README makefile uumail.1 uupath.1 README.orig opath.3 address.1
  78.     shar domains palias rmail.c opath.c address.c uumail.c uuconf.h gethostnam.c uupath.c getpath.c README makefile uumail.1 uupath.1 README.orig opath.3 address.1> shar.out
  79.  
  80.