home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / elisp / modes / math / Makefile < prev    next >
Encoding:
Makefile  |  1990-03-20  |  2.5 KB  |  128 lines

  1.  ### this is the skeletal makefile for LaLiberte''s emacs front end.
  2.  
  3.  
  4.  #####
  5.  ##### This makefile has been machine generated.
  6.  ##### Any changes to it will not be permanent.
  7.  #####
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  # ---------------------- makefile.options list ----------------------
  31.  #
  32.  # This file created on Tue May 23 02:06:40 CDT 1989
  33.  # Hostname : wri
  34.  # User     : maeder
  35.  #
  36.  # "LOCAL"
  37.  # "CROSS"        : 0
  38.  # "TRUNCATE"     : 0
  39.  # "DUMP"         : 1
  40.  # "TIMING"       : 1
  41.  # "PIPES"        : 1
  42.  # "BSTRING"      : 0
  43.  # "LOCALCFLAGS"  : -f68881 -O /usr/lib/f68881.il
  44.  # "REMOTECFLAGS" : REMOTECFLAGS
  45.  # "LINKFLAGS"    : -f68881
  46.  # "PSTARGETS"    : tekps ttyps animate x11ps sunps
  47.  # "MAKEDUMP"     : 1
  48.  # ------------------------------------------------------------------
  49.  
  50.  
  51. MTBINDIR = ../MathTalk
  52. MTSRCDIR = ../../../../Common/Source/MathTalk
  53. # SRCDIR   = ../../../../Common/EmacsFrontEnd
  54. SRCDIR = .
  55.  
  56. INCLDIR=../../../../Includes
  57. #CCFLAGS = -I${MTSRCDIR} -I${INCLDIR}
  58.  
  59.  
  60. CFLAGS  = $(CCFLAGS) -DSTANDALONE -I../Includes -I../MathTalk
  61.  
  62. all : emacsfrontend math-mode.el mathtalk.el mathremote.emacs macnb2nbl \
  63.     mathtalk.elc math-mode.elc
  64.  
  65. notebook.h y.tab.c: ${SRCDIR}/notebook.y
  66.     yacc -d ${SRCDIR}/notebook.y
  67.     cp y.tab.h notebook.h
  68.  
  69. y.tab.o:    y.tab.c
  70.     ${CC} ${CFLAGS} -DYYMAXDEPTH=20000 -c y.tab.c
  71.  
  72. lex.yy.c:   ${SRCDIR}/notebook.l
  73.     lex ${SRCDIR}/notebook.l
  74.  
  75. lex.yy.o:    lex.yy.c notebook.h
  76.     ${CC} ${CFLAGS} -c lex.yy.c
  77.  
  78. macnb2nbl:    y.tab.o lex.yy.o
  79.     ${CC} ${CFLAGS} -o macnb2nbl y.tab.o lex.yy.o -ll
  80.  
  81. mathdescemacs.h : $(SRCDIR)/mathdescemacs.awk
  82.     awk -f $(SRCDIR)/mathdescemacs.awk \
  83.          < $(MTSRCDIR)/mathdesc.table > mathdescemacs.h
  84.  
  85. emacsfrontend : $(SRCDIR)/emacsfrontend.c mathdescemacs.h
  86.     $(CC) $(CFLAGS) $(SRCDIR)/emacsfrontend.c \
  87.         $(MTBINDIR)/mathtalk.o $(MTBINDIR)/mathdesc.o \
  88.         $(MTBINDIR)/libtw.a \
  89.         -o emacsfrontend
  90.  
  91. math-mode.el : $(SRCDIR)/math-mode.el
  92.     cp $(SRCDIR)/math-mode.el .
  93.  
  94. mathtalk.el : $(SRCDIR)/mathtalk.el
  95.     cp $(SRCDIR)/mathtalk.el .
  96.  
  97. math-mode.elc : $(SRCDIR)/math-mode.elc
  98.     cp $(SRCDIR)/math-mode.elc .
  99.  
  100. mathtalk.elc : $(SRCDIR)/mathtalk.elc
  101.     cp $(SRCDIR)/mathtalk.elc .
  102.  
  103. mathremote.emacs : $(SRCDIR)/mathremote.emacs
  104.     cp $(SRCDIR)/mathremote.emacs .
  105.  
  106. dist : 
  107.     tar cf math.tar \
  108.         README \
  109.         math-mode.texinfo \
  110.         math-mode \
  111.         math-mode.el \
  112.         mathtalk.el \
  113.         macnb2nbl.sun3 \
  114.         macnb2nbl.sun4 \
  115.         notebook.l \
  116.         notebook.y \
  117.         emacsfrontend.c \
  118.         emacsfrontend.sun3 \
  119.         emacsfrontend.sun4 \
  120.         mathdescemacs.awk \
  121.         mathdescemacs.h \
  122.         mathremote.emacs1.1 \
  123.         mathremote.emacs1.2 \
  124.         Makefile
  125.     compress math.tar
  126.     uuencode math.tar.Z math.tar.Z > math.tar.Z.uu
  127.  
  128.