home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Uip / sendmail / Makefile < prev    next >
Encoding:
Makefile  |  1991-12-18  |  2.4 KB  |  109 lines

  1. # Sendmail Fake 
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Uip/sendmail/RCS/Makefile,v 6.0 1991/12/18 20:42:15 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:42:15  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18.  
  19.  
  20. SRCS    = sendmail.c
  21. OBJS    = sendmail.o
  22.  
  23. HEADERS    =    ../../h
  24. LIBPP    =    ../../Lib/libpp.a
  25.  
  26. CFLAGS    = $(CCOPTIONS) -I$(HEADERS)
  27. LDFLAGS    = $(LDOPTIONS)
  28.  
  29. LLFLAGS = $(LINTFLAGS) -I$(HEADERS)
  30. LINTLIBS = ../../Lib/llib-lpp.ln $(LINTISODE)
  31.  
  32. ############################################################
  33. #
  34. # Building Rules
  35. #
  36. ############################################################
  37.  
  38. default: xsendmail
  39.  
  40. sendmail: xsendmail
  41.     @true
  42.  
  43. xsendmail: $(OBJS) $(LIBPP)
  44.     $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBPP) $(LIBSYS)
  45.  
  46. install: inst-sendmail
  47.  
  48. inst-sendmail: $(CMDDIR)/sendmail
  49. $(CMDDIR)/sendmail: xsendmail
  50.     -$(BACKUP) $@ zxsendmail
  51.     rm -f $@
  52.     $(INSTALL) xsendmail $@
  53.     -@$(CHMOD) $(PGMPROT) $@
  54.     -@$(CHOWN) $(PPUSER) $@
  55.     -@ls -ls $@
  56.     -@echo "Sendmail fake installed normally"; echo ""
  57.  
  58. clean: tidy
  59. tidy:
  60.     rm -f $(OBJS) core a.out Makefile.old x* z*
  61.  
  62. lint: l-sendmail
  63.  
  64. l-sendmail: $(SRCS)
  65.     $(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)
  66.  
  67. depend:
  68.     $(DEPEND) -I$(HEADERS) $(SRCS)
  69.  
  70. ############################################################
  71. #
  72. # End of Building Rules
  73. #
  74. ############################################################
  75. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  76. # Dependencies follow
  77. sendmail.o: sendmail.c
  78. sendmail.o: ../../h/util.h
  79. sendmail.o: ../../h/config.h
  80. sendmail.o: ../../h/ll_log.h
  81. sendmail.o: ../../h/prm.h
  82. sendmail.o: ../../h/q.h
  83. sendmail.o: ../../h/adr.h
  84. sendmail.o: ../../h/list_rchan.h
  85. sendmail.o: ../../h/chan.h
  86. sendmail.o: ../../h/table.h
  87. sendmail.o: ../../h/list_bpt.h
  88. sendmail.o: ../../h/auth.h
  89. sendmail.o: ../../h/list_bpt.h
  90. sendmail.o: ../../h/extension.h
  91. sendmail.o: ../../h/mta.h
  92. sendmail.o: ../../h/adr.h
  93. sendmail.o: ../../h/list_bpt.h
  94. sendmail.o: ../../h/aparse.h
  95. sendmail.o: ../../h/ap.h
  96. sendmail.o: ../../h/util.h
  97. sendmail.o: ../../h/or.h
  98. sendmail.o: ../../h/chan.h
  99. sendmail.o: ../../h/auth.h
  100. sendmail.o: ../../h/list_rchan.h
  101. sendmail.o: ../../h/mta.h
  102. sendmail.o: ../../h/adr.h
  103. sendmail.o: ../../h/retcode.h
  104. sendmail.o: ../../h/ap.h
  105.  
  106. # DEPENDENCIES MUST END AT END OF FILE
  107. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  108. # see make depend above
  109.