home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / auucp+-1.02 / fuucp_plus_src.lzh / dmail / DMakefile < prev    next >
Encoding:
Makefile  |  1990-11-21  |  1.7 KB  |  58 lines

  1.  
  2. #
  3. #   $Header: Beta:src/uucp/src/dmail/RCS/DMakefile,v 1.1 90/02/02 12:03:27 dillon Exp Locker: dillon $
  4. #
  5. #   Written by Matthew Dillon
  6. #
  7. #   (C)Copyright 1986-89 by Matthew Dillon
  8. #
  9. #   This code is completely original.  I declare this code to be public
  10. #   domain.  You may redistribute this code as long as any those
  11. #    redistributions contain this and all other files in their entirety.
  12. #
  13. #    Ports: Anybody may port this code to any machine or OS they wish, of
  14. #    course.  If you do make a port, I would be grateful if you mailed
  15. #    a letter with: (A) OS you ported it too, and (B) version ported,
  16. #    so I may inform people who have mailed me wondering about ports
  17. #    who to contact.
  18. #
  19. #   Send bug reports and other gripes to:
  20. #
  21. #   dillon@ucbvax.berkeley.edu           ARPA NET
  22. #   ..!ihnp4!ucbvax!dillon           USENET
  23. #
  24. #   INSTRUCTIONS FOR COMPILING:
  25. #
  26. #   (1) Set DESTDIR & HELP_DIR to some global directory accessable to
  27. #    everybody (or whatever).  Also set HELP_CHMOD and PROG_CHMOD
  28. #    to the right thing if you don't like the defaults.
  29. #
  30. #   (2) Do ONE of the following:
  31. #    make        -defaults to internal help file
  32. #    make external    -external help file (executable is smaller)
  33. #
  34. #   (3) make install to install the file(s)
  35. #
  36.  
  37. OD= ltmp:uucp/dmail/
  38. EXE= dmail
  39. SYMS= uucp:src/lib/all.m
  40. CFLAGS= -iuucp:src/include/
  41.  
  42. LIBS=    ltmp:uucp/lib/uucp.lib lib:lc.lib lib:amiga.lib
  43.  
  44. SRCS=    globals.c main.c do_lists.c sub.c execom.c commands.c \
  45.     range.c load_mail.c sendmail.c set.c help.c cond.c compat.c
  46.  
  47. OBJS=    $(SRCS:"*.c":"$(OD)*.o")
  48.  
  49. $(EXE): $(OBJS)
  50.     cd $(OD)
  51.     list #?.o TO T:DMAILOBJS LFORMAT %s
  52.     blink lib:c.o WITH T:DMAILOBJS ND LIB $(LIBS) TO %(left)
  53.     cd
  54.  
  55. $(OBJS) : $(SRCS)
  56.     lc $(CFLAGS) -H$(SYMS) -o%(left) %(right)
  57.  
  58.