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

  1. # P2explode -takes P2 and splits into directory structure
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Format/p2explode/RCS/Makefile,v 6.0 1991/12/18 20:20:02 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:20:02  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18.  
  19.  
  20. SRCS =  p2explode.c explode_only.c explode_chan.c
  21. OBJS =  p2explode.o explode_only.o expode_chan.o
  22. # DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT
  23.  
  24. CHAN_SRCS       = p2explode.c explode_chan.c
  25. CHAN_OBJS       = p2explode.o explode_chan.o
  26. ALONE_SRCS      = p2explode.c explode_only.c
  27. ALONE_OBJS      = p2explode.o explode_only.o
  28. HEADERS         = ../../h
  29. LIBPP           = ../../Lib/libpp.a
  30. CFLAGS          = $(CCOPTIONS) $(LCF) -I$(HEADERS)
  31. LDFLAGS         = $(LDOPTIONS) $(LLF)
  32. LLFLAGS         = $(LINTFLAGS) -I$(HEADERS)
  33. LINTLIBS        = ../../Lib/llib-lpp.ln $(LINTISODE)
  34.  
  35. ############################################################
  36. #
  37. # Building Rules
  38. #
  39. ############################################################
  40.  
  41. default: $(SRCS) xexplode_chan
  42.  
  43. clean: tidy
  44.     rm -f $(OBJS) *.o 
  45.  
  46. tidy:
  47.     rm -f zx* xexplode_chan core a.out *.old *.BAK *.ph *.log
  48.  
  49. lint: l-p2explode l-explode_only
  50. l-p2explode: $(CHAN_SRCS)
  51.     $(LINT) $(LLFLAGS) $(CHAN_SRCS) $(LINTLIBS)
  52.  
  53. l-explode_only: $(ALONE_SRCS)
  54.     $(LINT) $(LLFLAGS) $(ALONE_SRCS) $(LINTLIBS)
  55.  
  56. define:
  57.     $(DEFINE) Makefile
  58.  
  59. depend: $(SRCS)
  60.     $(DEPEND) -I$(HEADERS) -I$(ISODEHDRS) $(SRCS)
  61.  
  62.  
  63. xexplode_chan: $(CHAN_OBJS) $(LIBPP)
  64.     $(CC) $(LDFLAGS) $(CHAN_OBJS)  -o $@ $(LIBPP) $(LIBSYS)
  65.  
  66. alone: $(ALONE_OBJS) $(LIBPP)
  67.     $(CC) $(LDFLAGS) $(ALONE_OBJS)  -o xexplode_only \
  68.         $(LIBPP) $(LIBSYS)
  69.  
  70.  
  71. install: inst-dir inst-p2explode
  72.  
  73. inst-p2explode: $(CHANDIR)/p2explode
  74. $(CHANDIR)/p2explode: xexplode_chan
  75.     -$(BACKUP) $@ zxexplode_chan
  76.     rm -f $@
  77.     $(INSTALL) xexplode_chan $@
  78.     -$(CHMOD) $(PGMPROT) $@
  79.     -$(CHOWN) $(PPUSER) $@
  80.     -@ls -ls $@
  81.     -@echo "The P2 explode channel installed normally"; echo ""
  82.  
  83. inst-dir: $(CHANDIR)
  84.  
  85. saber_src: $(CHAN_SRCS)
  86.     #load -C $(CFLAGS) $(CHAN_SRCS) $(LIBPP) $(LIBSYS)
  87.  
  88. saber_obj:$(CHAN_OBJS)
  89.     #load -C $(CHAN_OBJS) $(LIBPP) $(LIBSYS)
  90.  
  91. ############################################################
  92. #
  93. # End of Building Rules
  94. #
  95. ############################################################
  96.  
  97. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  98. # Dependencies follow
  99. p2explode.o: p2explode.c
  100. p2explode.o: ../../h/util.h
  101. p2explode.o: ../../h/config.h
  102. p2explode.o: ../../h/ll_log.h
  103. p2explode.o: ../../h/retcode.h
  104. p2explode.o: ../../h/tb_bpt88.h
  105. p2explode.o: ../../h/IOB-types.h
  106. p2explode.o: ../../h/MTA-types.h
  107. p2explode.o: ../../h/Toks-types.h
  108. p2explode.o: ../../h/Auth-types.h
  109. p2explode.o: ../../h/q.h
  110. p2explode.o: ../../h/adr.h
  111. p2explode.o: ../../h/list_rchan.h
  112. p2explode.o: ../../h/chan.h
  113. p2explode.o: ../../h/table.h
  114. p2explode.o: ../../h/list_bpt.h
  115. p2explode.o: ../../h/auth.h
  116. p2explode.o: ../../h/list_bpt.h
  117. p2explode.o: ../../h/extension.h
  118. p2explode.o: ../../h/mta.h
  119. p2explode.o: ../../h/adr.h
  120. p2explode.o: ../../h/list_bpt.h
  121. p2explode.o: ../../h/aparse.h
  122. p2explode.o: ../../h/ap.h
  123. p2explode.o: ../../h/util.h
  124. p2explode.o: ../../h/or.h
  125. p2explode.o: ../../h/chan.h
  126. p2explode.o: ../../h/auth.h
  127. p2explode.o: ../../h/list_rchan.h
  128. p2explode.o: ../../h/mta.h
  129. p2explode.o: ../../h/list_bpt.h
  130. explode_only.o: explode_only.c
  131. explode_only.o: ../../h/util.h
  132. explode_only.o: ../../h/config.h
  133. explode_only.o: ../../h/ll_log.h
  134. explode_only.o: ../../h/retcode.h
  135. explode_only.o: ../../h/util.h
  136. explode_chan.o: explode_chan.c
  137. explode_chan.o: ../../h/util.h
  138. explode_chan.o: ../../h/config.h
  139. explode_chan.o: ../../h/ll_log.h
  140. explode_chan.o: ../../h/qmgr.h
  141. explode_chan.o: ../../h/Qmgr-types.h
  142. explode_chan.o: ../../h/Qmgr-ops.h
  143. explode_chan.o: ../../h/q.h
  144. explode_chan.o: ../../h/adr.h
  145. explode_chan.o: ../../h/list_rchan.h
  146. explode_chan.o: ../../h/chan.h
  147. explode_chan.o: ../../h/table.h
  148. explode_chan.o: ../../h/list_bpt.h
  149. explode_chan.o: ../../h/auth.h
  150. explode_chan.o: ../../h/list_bpt.h
  151. explode_chan.o: ../../h/extension.h
  152. explode_chan.o: ../../h/mta.h
  153. explode_chan.o: ../../h/adr.h
  154. explode_chan.o: ../../h/list_bpt.h
  155. explode_chan.o: ../../h/aparse.h
  156. explode_chan.o: ../../h/ap.h
  157. explode_chan.o: ../../h/util.h
  158. explode_chan.o: ../../h/or.h
  159. explode_chan.o: ../../h/chan.h
  160. explode_chan.o: ../../h/auth.h
  161. explode_chan.o: ../../h/list_rchan.h
  162. explode_chan.o: ../../h/mta.h
  163. explode_chan.o: ../../h/prm.h
  164. explode_chan.o: ../../h/retcode.h
  165. explode_chan.o: ../../h/tb_bpt88.h
  166. explode_chan.o: ../../h/dr.h
  167. explode_chan.o: ../../h/extension.h
  168. explode_chan.o: ../../h/mta.h
  169. explode_chan.o: ../../h/sys.file.h
  170.  
  171. # DEPENDENCIES MUST END AT END OF FILE
  172. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  173. # see make depend above
  174.