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

  1. # Makefile for MTA console - line based
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Src/LINEconsole/RCS/Makefile,v 6.0 1991/12/18 20:26:30 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:26:30  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18. SRCS    = assoc.c drive.c io.c \
  19.     channels.c mtas.c msgs.c \
  20.     heuristics.c status.c misc.c badness.c
  21. OBJS    = assoc.o drive.o io.o \
  22.     channels.o mtas.o msgs.o \
  23.     heuristics.o status.o misc.o badness.o
  24.  
  25. HEADERS    =    ../../h
  26. LIBPP    =    ../../Lib/libpp.a
  27.  
  28. CFLAGS    = $(CCOPTIONS) $(LCF) -I$(HEADERS)
  29. LDFLAGS    = $(LDOPTIONS) $(LLF)
  30. MAKE    = ./make
  31.  
  32. LLFLAGS = $(LINTFLAGS) -I$(HEADERS)
  33. LINTLIBS = ../../Lib/llib-lpp.ln $(LINTISODE)
  34.  
  35. PROGS     = xconsole
  36.  
  37. ############################################################
  38. #
  39. # Console
  40. #
  41. ############################################################
  42.  
  43. console: xconsole
  44.  
  45. xconsole: $(OBJS) $(LIBPP)
  46.       $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBPP) $(LIBSYS)
  47.  
  48. saber_src: $(SRCS)
  49.     #load -C $(CFLAGS) $(SRCS) $(LIBPP) $(LIBSYS)
  50.  
  51. saber_obj: $(OBJS)
  52.     #load -C $(OBJS) $(LIBPP) $(LIBSYS)
  53.  
  54. install: inst-dir inst-LINEconsole
  55.  
  56. inst-LINEconsole: $(CMDDIR)/LINEconsole
  57. $(CMDDIR)/LINEconsole: xconsole
  58.     -$(BACKUP) $@ zxconsole
  59.     rm -f $@
  60.     $(INSTALL) xconsole $@
  61.     -$(CHMOD) $(PGMPROT) $@
  62.     -$(CHOWN) $(PPUSER) $@
  63.     -@ls -ls $@
  64.     -@echo "LINEconsole installed normally"; echo ""
  65.  
  66. inst-dir: $(CMDDIR)
  67.  
  68.  
  69. lint: l-console
  70.  
  71. l-console: $(SRCS)
  72.     $(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)
  73.  
  74. clean:    tidy
  75.     rm -f $(OBJS)
  76.  
  77. tidy:
  78.     rm -f core a.out *.old $(PROGS) zxconsole
  79.  
  80. depend:
  81.     $(DEPEND) -I$(HEADERS) $(SRCS)
  82.  
  83. ############################################################
  84. #
  85. # End of Building Rules
  86. #
  87. ############################################################
  88. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  89. # Dependencies follow
  90. assoc.o: assoc.c
  91. assoc.o: console.h
  92. assoc.o: ../../h/head.h
  93. assoc.o: ../../h/util.h
  94. assoc.o: ../../h/config.h
  95. assoc.o: ../../h/ll_log.h
  96. assoc.o: ../../h/retcode.h
  97. assoc.o: ../../h/sys.file.h
  98. assoc.o: ../../h/qmgr.h
  99. assoc.o: ../../h/Qmgr-types.h
  100. assoc.o: ../../h/Qmgr-ops.h
  101. drive.o: drive.c
  102. drive.o: console.h
  103. drive.o: ../../h/head.h
  104. drive.o: ../../h/util.h
  105. drive.o: ../../h/config.h
  106. drive.o: ../../h/ll_log.h
  107. drive.o: ../../h/retcode.h
  108. drive.o: ../../h/sys.file.h
  109. drive.o: ../../h/qmgr.h
  110. drive.o: ../../h/Qmgr-types.h
  111. drive.o: ../../h/Qmgr-ops.h
  112. io.o: io.c
  113. io.o: console.h
  114. io.o: ../../h/head.h
  115. io.o: ../../h/util.h
  116. io.o: ../../h/config.h
  117. io.o: ../../h/ll_log.h
  118. io.o: ../../h/retcode.h
  119. io.o: ../../h/sys.file.h
  120. io.o: ../../h/qmgr.h
  121. io.o: ../../h/Qmgr-types.h
  122. io.o: ../../h/Qmgr-ops.h
  123. channels.o: channels.c
  124. channels.o: console.h
  125. channels.o: ../../h/head.h
  126. channels.o: ../../h/util.h
  127. channels.o: ../../h/config.h
  128. channels.o: ../../h/ll_log.h
  129. channels.o: ../../h/retcode.h
  130. channels.o: ../../h/sys.file.h
  131. channels.o: ../../h/qmgr.h
  132. channels.o: ../../h/Qmgr-types.h
  133. channels.o: ../../h/Qmgr-ops.h
  134. mtas.o: mtas.c
  135. mtas.o: console.h
  136. mtas.o: ../../h/head.h
  137. mtas.o: ../../h/util.h
  138. mtas.o: ../../h/config.h
  139. mtas.o: ../../h/ll_log.h
  140. mtas.o: ../../h/retcode.h
  141. mtas.o: ../../h/sys.file.h
  142. mtas.o: ../../h/qmgr.h
  143. mtas.o: ../../h/Qmgr-types.h
  144. mtas.o: ../../h/Qmgr-ops.h
  145. msgs.o: msgs.c
  146. msgs.o: console.h
  147. msgs.o: ../../h/head.h
  148. msgs.o: ../../h/util.h
  149. msgs.o: ../../h/config.h
  150. msgs.o: ../../h/ll_log.h
  151. msgs.o: ../../h/retcode.h
  152. msgs.o: ../../h/sys.file.h
  153. msgs.o: ../../h/qmgr.h
  154. msgs.o: ../../h/Qmgr-types.h
  155. msgs.o: ../../h/Qmgr-ops.h
  156. heuristics.o: heuristics.c
  157. heuristics.o: console.h
  158. heuristics.o: ../../h/head.h
  159. heuristics.o: ../../h/util.h
  160. heuristics.o: ../../h/config.h
  161. heuristics.o: ../../h/ll_log.h
  162. heuristics.o: ../../h/retcode.h
  163. heuristics.o: ../../h/sys.file.h
  164. heuristics.o: ../../h/qmgr.h
  165. heuristics.o: ../../h/Qmgr-types.h
  166. heuristics.o: ../../h/Qmgr-ops.h
  167. status.o: status.c
  168. status.o: console.h
  169. status.o: ../../h/head.h
  170. status.o: ../../h/util.h
  171. status.o: ../../h/config.h
  172. status.o: ../../h/ll_log.h
  173. status.o: ../../h/retcode.h
  174. status.o: ../../h/sys.file.h
  175. status.o: ../../h/qmgr.h
  176. status.o: ../../h/Qmgr-types.h
  177. status.o: ../../h/Qmgr-ops.h
  178. misc.o: misc.c
  179. misc.o: console.h
  180. misc.o: ../../h/head.h
  181. misc.o: ../../h/util.h
  182. misc.o: ../../h/config.h
  183. misc.o: ../../h/ll_log.h
  184. misc.o: ../../h/retcode.h
  185. misc.o: ../../h/sys.file.h
  186. misc.o: ../../h/qmgr.h
  187. misc.o: ../../h/Qmgr-types.h
  188. misc.o: ../../h/Qmgr-ops.h
  189. badness.o: badness.c
  190. badness.o: console.h
  191. badness.o: ../../h/head.h
  192. badness.o: ../../h/util.h
  193. badness.o: ../../h/config.h
  194. badness.o: ../../h/ll_log.h
  195. badness.o: ../../h/retcode.h
  196. badness.o: ../../h/sys.file.h
  197. badness.o: ../../h/qmgr.h
  198. badness.o: ../../h/Qmgr-types.h
  199. badness.o: ../../h/Qmgr-ops.h
  200. badness.o: tai_defs.inc
  201.  
  202. # DEPENDENCIES MUST END AT END OF FILE
  203. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  204. # see make depend above
  205.