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

  1. # MTS user interface for PP     ---->  mu  <----
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Tools/mu/RCS/Makefile,v 6.0 1991/12/18 20:31:54 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:31:54  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18.  
  19.  
  20. SRCS =  argh.c mu.c
  21. OBJS =  argh.o mu.o
  22. # DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT
  23.  
  24. HEADERS         = ../../h
  25. LIBPP           = ../../Lib/libpp.a
  26. CFLAGS          = $(CCOPTIONS) $(LCF) -I$(HEADERS)
  27. LDFLAGS        = $(LDOPTIONS) $(LLF)
  28. LLFLAGS         = $(LINTFLAGS) -I$(HEADERS) -u
  29. LINTLIB        = ../../Lib/llib-lpp.ln
  30.  
  31. ############################################################
  32. #
  33. # Building Rules
  34. #
  35. ############################################################
  36.  
  37. PROGS = xmu
  38.  
  39. default: $(PROGS)
  40.  
  41. mu:     xmu
  42.  
  43. xmu:    $(OBJS) $(LIBPP)
  44.     $(CC) $(LDFLAGS) -o xmu $(OBJS) \
  45.     $(LIBPP) $(LIBSYS) 
  46.  
  47.  
  48. install: inst-dir inst-mu
  49. inst-mu: $(TOOLDIR)/mu
  50. $(TOOLDIR)/mu: xmu
  51.     -$(BACKUP) $@ zxmu
  52.     rm -f $@
  53.     $(INSTALL) xmu $@
  54.     -$(CHMOD) $(PGMPROT) $@
  55.     -$(CHOWN) $(PPUSER) $@
  56.     -@ls -ls $@
  57.     -@echo "Mu installed normally"; echo ""
  58.  
  59.  
  60. inst-dir: $(TOOLDIR)
  61.  
  62.  
  63. lint:
  64.     $(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)
  65.  
  66. clean: tidy
  67.     rm -f $(OBJS)
  68.  
  69. tidy:
  70.     rm -f core $(PROGS) zxmu *.old *.BAK
  71.  
  72. define:
  73.     $(DEFINE) Makefile
  74.  
  75. depend:
  76.     $(DEPEND) -I$(HEADERS) $(SRCS)
  77.  
  78.  
  79.  
  80. ############################################################
  81. #
  82. # End of building rules
  83. #
  84. ############################################################
  85.  
  86. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  87. # Dependencies follow
  88. argh.o: argh.c
  89. argh.o: ../../h/argh.h
  90. argh.o: ../../h/util.h
  91. argh.o: ../../h/config.h
  92. argh.o: ../../h/ll_log.h
  93. mu.o: mu.c
  94. mu.o: ../../h/head.h
  95. mu.o: ../../h/util.h
  96. mu.o: ../../h/config.h
  97. mu.o: ../../h/ll_log.h
  98. mu.o: ../../h/retcode.h
  99. mu.o: ../../h/util.h
  100. mu.o: ../../h/q.h
  101. mu.o: ../../h/adr.h
  102. mu.o: ../../h/list_rchan.h
  103. mu.o: ../../h/chan.h
  104. mu.o: ../../h/table.h
  105. mu.o: ../../h/list_bpt.h
  106. mu.o: ../../h/auth.h
  107. mu.o: ../../h/list_bpt.h
  108. mu.o: ../../h/extension.h
  109. mu.o: ../../h/mta.h
  110. mu.o: ../../h/adr.h
  111. mu.o: ../../h/list_bpt.h
  112. mu.o: ../../h/aparse.h
  113. mu.o: ../../h/ap.h
  114. mu.o: ../../h/util.h
  115. mu.o: ../../h/or.h
  116. mu.o: ../../h/chan.h
  117. mu.o: ../../h/auth.h
  118. mu.o: ../../h/list_rchan.h
  119. mu.o: ../../h/mta.h
  120. mu.o: ../../h/prm.h
  121. mu.o: ../../h/tb_prm.h
  122. mu.o: ../../h/tb_q.h
  123. mu.o: ../../h/tb_a.h
  124. mu.o: ../../h/tb_dr.h
  125. mu.o: ../../h/argh.h
  126.  
  127. # DEPENDENCIES MUST END AT END OF FILE
  128. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  129. # see make depend above
  130.