home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / examples / xtel / Makefile < prev    next >
Encoding:
Makefile  |  1991-11-18  |  1.4 KB  |  78 lines

  1. # Make new xtel example
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header$
  6. #
  7. # $Log$
  8. #
  9. ############################################################
  10. #
  11. # Definitions
  12. #
  13. ############################################################
  14.  
  15. TABLES = aliases auth.user auth.channel auth.mta \
  16.     auth.qmgr ch.fax ch.list ch.local ch.mslocal \
  17.     ch.shell ch.uucp ch.x400in84 ch.x400out84 \
  18.     ch.x400in88 ch.x400out88 channel domain or or2rfc \
  19.     rfc1148gate rfc2or users
  20.  
  21. WARNINGS = warning.1 warning.2
  22. WARNDIR    = $(TBLDIR)/warnings
  23.  
  24. ############################################################
  25. #
  26. # Building Rules
  27. #
  28. ############################################################
  29.  
  30. all default: import
  31.  
  32. import: tailor Make.defs config.h tables warnings
  33.  
  34. tailor: $(TAILOR)
  35.     cp $? $@
  36.  
  37. Make.defs: ../../Make.defs
  38.     cp $? $@
  39.  
  40. config.h: ../../h/config.h
  41.     cp $? $@
  42.  
  43. tables: ;
  44.     @for i in $(TABLES); \
  45.     do make cp-table THETABLE=$$i; \
  46.     done
  47.  
  48. cp-table: $(THETABLE)
  49. $(THETABLE): $(TBLDIR)/$(THETABLE)
  50.     head -500 $? > $@
  51.  
  52. warnings:;
  53.     @for i in $(WARNINGS); \
  54.     do make cp-warn WARNMSG=$$i; \
  55.     done
  56.  
  57. cp-warn: $(WARNMSG)
  58. $(WARNMSG): $(WARNDIR)/$(WARNMSG)
  59.     cp $? $@
  60.     
  61. install:;
  62.  
  63. clean: tidy
  64.     rm -f Make.defs tailor config.h $(TABLES)
  65. tidy:
  66.     rm -f $(OBJS) core a.out Makefile.old
  67.  
  68. lint: ;
  69.  
  70. depend:
  71.     $(DEPEND) -I$(HEADERS) $(SRCS)
  72.  
  73. ############################################################
  74. #
  75. # End of Building Rules
  76. #
  77. ############################################################
  78.