home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / devel / lisp / akcl_lin.z / akcl_lin / V / makefile
Encoding:
Makefile  |  1993-03-08  |  3.0 KB  |  165 lines

  1. Changes file for /usr/local/src/kcl/makefile
  2. Created on Tue Mar 26 07:35:15 1991
  3. Usage \n@s[Original text\n@s|Replacement Text\n@s]
  4. See the file rascal.ics.utexas.edu:/usr2/ftp/merge.c
  5. for a program to merge change files.  Anything not between
  6. "\n@s[" and  "\n@s]" is a simply a comment.
  7. This file was constructed using emacs and  merge.el
  8. Enhancements Copyright (c) W. Schelter All rights reserved.
  9.    by (Bill Schelter)  wfs@carl.ma.utexas.edu 
  10.  
  11.  
  12. ****Change:(orig (19 19 a))
  13. @s[#    To revise KCL, the following command is enough.
  14. #
  15. #        % make
  16.  
  17.  
  18. @s|#    To revise KCL, the following command is enough.
  19. #
  20. #        % make
  21.  
  22. # begin makedefs
  23. AKCLDIR=/usr/public/akcl
  24. SHELL=/bin/sh
  25.  
  26. @s]
  27.  
  28.  
  29. ****Change:(orig (20 20 a))
  30. @s[
  31.  
  32. @s|
  33. # Machine dependent makefile definitions for hp300 running 4.3bsd(mt xinu)
  34.  
  35. LBINDIR=/usr/local/bin
  36.  
  37. OFLAG    =  -O 
  38. LIBS    = -lm -lg 
  39. ODIR_DEBUG= -g
  40.  
  41. # This CC string will be used for compilation of the system,
  42. # and also in the compiler::*cc* variable for later compilation of
  43. # lisp files.
  44.  
  45. CC = gcc -fwritable-strings -msoft-float -DVOL=volatile -I$(AKCLDIR)/o 
  46. MAINDIR = /public/kcl
  47.  
  48. # Enable the fastloading mechanism which does not use ld -A
  49. # requires c/rel_.. machine dependent code.
  50.  
  51. RSYM    = rsym
  52. SFASL    = $(ODIR)/sfasl.o
  53.  
  54. #  Use the mp.s file on 68k machine 
  55.  
  56. MPFILES= $(MPDIR)/mpi-bsd68k.o   $(MPDIR)/libmport.a
  57.  
  58.  
  59. # When using SFASL it is good to have (si::build-symbol-table)
  60. INITFORM=(si::build-symbol-table)
  61.  
  62. # Use symbolic links
  63. SYMB=-s
  64.  
  65. LIBFILES=bsearch.o
  66.  
  67. # the  make to use for saved_kcp the profiler.
  68. KCP=kcp-bsd
  69. # end makedefs
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79. @s]
  80.  
  81.  
  82. ****Change:(orig (29 34 c))
  83. @s[all:    /usr/include/cmpinclude.h
  84.     (cd $(BINDIR); make)
  85.     (cd $(ODIR); make)
  86.     (cd $(LSPDIR); make)
  87.  
  88. @s,    (cd $(CMPDIR); make)
  89.     (cd $(PORTDIR); make)
  90.  
  91. @s|all:   
  92.     make sources
  93.     make command
  94.     (cd $(BINDIR); make all)
  95.     (cd mp ; make all)
  96.     (cd $(ODIR); make all)
  97.     (cd $(LSPDIR); make all)
  98.     (cd $(CMPDIR); make all)
  99.     (cd $(PORTDIR); make saved_kcl)
  100.  
  101. @s]
  102.  
  103.  
  104. ****Change:(orig (37 38 c))
  105. @s[    @echo "su and make cmpinclude.h"
  106.     exit 1
  107.  
  108. @s|    @ if [ "$(SU)" != "SKIP" ] ; then echo "su and make cmpinclude.h" ;\
  109.     exit 1 ; \
  110.     else echo "Warning: ask root to cp $(HDIR)/cmpinclude.h /usr/include/cmpinclude.h" \
  111.     ;fi
  112.  
  113. @s]
  114.  
  115.  
  116. ****Change:(orig (43 43 a))
  117. @s[    cp $(HDIR)/cmpinclude.h /usr/include
  118.  
  119.  
  120.  
  121. @s|    cp $(HDIR)/cmpinclude.h /usr/include
  122.  
  123.  
  124.  
  125.  
  126.  
  127. sources: merge
  128.     make -f Smakefile sources
  129.  
  130. sunview:
  131.     make sources
  132.     merge standard-kcl/unixport/makefile sunv/chang sunv/makefile
  133.     make  "PORTDIR=sunv"
  134.  
  135. command:
  136.     (cd $(PORTDIR); rm -f ../xbin/akcl ; echo "#!/bin/sh" > ../xbin/akcl; \
  137.     echo "exec `pwd`/saved_kcl `pwd`/" >> ../xbin/akcl)
  138.     chmod 755 xbin/akcl
  139.     rm -f  xbin/kcl ; ln xbin/akcl xbin/kcl
  140.  
  141.  
  142. @s]
  143.  
  144.  
  145. ****Change:(orig (45 48 c))
  146. @s[    (cd $(PORTDIR); echo "#" > /usr/bin/kcl; \
  147.     echo "`pwd`/saved_kcl `pwd`/" >> /usr/bin/kcl)
  148.     chmod 755 /usr/bin/kcl
  149.     
  150.  
  151. @s|    cp xbin/kcl $(LBINDIR)
  152.     (cd doc ; make install "LBINDIR=$(LBINDIR)")
  153.  
  154. @s]
  155.  
  156.  
  157. ****Change:(orig (51 51 a))
  158. @s[    (cd $(BINDIR); make clean)
  159.  
  160. @s|    (cd $(BINDIR); make clean)
  161.     (cd mp ; make clean)
  162.  
  163. @s]
  164.  
  165.