home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / e20313sr.zip / emacs / 20.3.1 / src / makefile < prev    next >
Makefile  |  1999-07-31  |  17KB  |  360 lines

  1. # Makefile for GNU Emacs.
  2. # Copyright (C) 1985, 87, 88, 93, 94, 95 Free Software Foundation, Inc.
  3.  
  4. # This file is part of GNU Emacs.
  5.  
  6. # GNU Emacs is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10.  
  11. # GNU Emacs is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. # GNU General Public License for more details.
  15.  
  16. # You should have received a copy of the GNU General Public License
  17. # along with GNU Emacs; see the file COPYING.  If not, write to
  18. # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19. # Boston, MA 02111-1307, USA.
  20.  
  21. # Modified for emx by Jeremy Bowen, Jun 1999
  22.  
  23. # Here are the things that we expect ../configure to edit.
  24. # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH.
  25. srcdir=.
  26. VPATH=.
  27. CC=gcc
  28. CPP=cpp
  29. CFLAGS=-g -O
  30. LN_S=gcc
  31. # Substitute an assignment for the MAKE variable, because
  32. # BSD doesn't have it as a default.
  33.  
  34.  
  35. # On Xenix and the IBM RS6000, double-dot gets screwed up.
  36. dot = .
  37. dotdot = ${dot}${dot}
  38. lispsource = ${srcdir}/$(dot)$(dot)/lisp/
  39. libsrc = $(dot)$(dot)/lib-src/
  40. etc = $(dot)$(dot)/etc/
  41. shortnamesdir = $(dot)$(dot)/shortnames/
  42. cppdir = $(dot)$(dot)/cpp/
  43. oldXMenudir = $(dot)$(dot)/oldXMenu/
  44. lwlibdir = $(dot)$(dot)/lwlib/
  45.  
  46. # Configuration files for .o files to depend on.
  47. M_FILE = ${srcdir}/m/intel386.h
  48. S_FILE = ${srcdir}/s/emx.h
  49. config_h = config.h $(M_FILE) $(S_FILE)
  50.  
  51. # ========================== start of cpp stuff =======================
  52. CPPFLAGS=
  53. LDFLAGS=
  54. C_SWITCH_SYSTEM=
  55. STARTFILES =  
  56. TOOLKIT_DEFINES = -DUSE_PM
  57. ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(TOOLKIT_DEFINES) $(MYCPPFLAG) -I. -I${srcdir}             ${CFLAGS}
  58. .c.o:
  59.     $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
  60. XOBJ= pmterm.o pmfns.o pmselect.o pmfaces.o xfaces.o fontset.o
  61. OLDXMENU=
  62. LIBXMENU=
  63. LIBXT= $(LIBW) -lXmu  -lXt $(LIBXTR6) -lXext
  64. X11_LDFLAGS =    
  65. LIBX=
  66. LD = $(CC)
  67. ALL_LDFLAGS =    $(LDFLAGS)
  68. obj=    dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o    charset.o coding.o category.o ccl.o    cm.o term.o $(XOBJ)    emacs.o keyboard.o macros.o keymap.o sysdep.o    buffer.o filelock.o insdel.o marker.o intervals.o textprop.o    minibuf.o fileio.o dired.o filemode.o    cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o    alloc.o data.o doc.o editfns.o callint.o    eval.o floatfns.o fns.o print.o lread.o    abbrev.o syntax.o unexecemx.o  mocklisp.o bytecode.o    process.o callproc.o    region-cache.o    doprnt.o strftime.o   getloadavg.o    emxdep.o 
  69. SOME_MACHINE_OBJECTS = emxdep.o intervals.o textprop.o   pmfaces.o pmfns.o pmselect.o pmterm.o xfaces.o xmenu.o
  70. termcapobj = termcap.o tparam.o
  71. mallocobj = gmalloc.o ralloc.o vm-limit.o
  72. allocaobj =
  73. widgetobj=
  74. otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj)
  75. lisp=    ${lispsource}abbrev.elc    \
  76.     ${lispsource}buff-menu.elc    \
  77.     ${lispsource}byte-run.elc    \
  78.     ${lispsource}cus-start.el    \
  79.     ${lispsource}custom.elc    \
  80.     ${lispsource}emacs-lisp/lisp-mode.elc    \
  81.     ${lispsource}emacs-lisp/lisp.elc    \
  82.     ${lispsource}faces.elc    \
  83.     ${lispsource}files.elc    \
  84.     ${lispsource}format.elc    \
  85.     ${lispsource}facemenu.elc    \
  86.     ${lispsource}mouse.elc \
  87.     ${lispsource}select.elc \
  88.     ${lispsource}scroll-bar.elc    \
  89.     ${lispsource}float-sup.elc    \
  90.     ${lispsource}frame.elc        \
  91.     ${lispsource}help.elc    \
  92.     ${lispsource}indent.elc    \
  93.     ${lispsource}isearch.elc    \
  94.     ${lispsource}loadup.el    \
  95.     ${lispsource}loaddefs.el    \
  96.     ${lispsource}bindings.el    \
  97.     ${lispsource}map-ynp.elc    \
  98.     ${lispsource}menu-bar.elc    \
  99.     ${lispsource}international/mule.elc    \
  100.     ${lispsource}international/mule-conf.el    \
  101.     ${lispsource}international/mule-cmds.elc    \
  102.     ${lispsource}international/characters.elc    \
  103.     ${lispsource}case-table.elc    \
  104.     ${lispsource}language/chinese.elc    \
  105.     ${lispsource}language/cyrillic.elc    \
  106.     ${lispsource}language/english.elc    \
  107.     ${lispsource}language/ethiopic.elc    \
  108.     ${lispsource}language/european.elc    \
  109.     ${lispsource}language/czech.elc    \
  110.     ${lispsource}language/slovak.elc    \
  111.     ${lispsource}language/romanian.elc    \
  112.     ${lispsource}language/greek.elc    \
  113.     ${lispsource}language/hebrew.elc    \
  114.     ${lispsource}language/japanese.elc    \
  115.     ${lispsource}language/korean.elc    \
  116.     ${lispsource}language/thai.elc    \
  117.     ${lispsource}language/misc-lang.elc    \
  118.     ${lispsource}paths.el    \
  119.     ${lispsource}register.elc    \
  120.     ${lispsource}replace.elc    \
  121.     ${lispsource}simple.elc    \
  122.     ${lispsource}startup.elc    \
  123.     ${lispsource}subr.elc    \
  124.     ${lispsource}textmodes/fill.elc    \
  125.     ${lispsource}textmodes/page.elc    \
  126.     ${lispsource}textmodes/paragraphs.elc    \
  127.     ${lispsource}textmodes/text-mode.elc    \
  128.     ${lispsource}vc-hooks.elc    \
  129.     ${lispsource}ediff-hook.elc        \
  130.     ${lispsource}emx-patch.elc \
  131.     ${lispsource}emx-funcs.elc \
  132.     ${lispsource}emx-keys.el            \
  133.     ${lispsource}widget.elc    \
  134.     ${lispsource}window.elc    \
  135.     ${lispsource}version.el \
  136.     ${lispsource}language/indian.elc    \
  137.     ${lispsource}language/devanagari.elc    \
  138.     ${lispsource}language/lao.elc    \
  139.     ${lispsource}language/tibetan.elc    \
  140.     ${lispsource}language/vietnamese.elc    \
  141.  
  142. shortlisp=    \
  143.     ../lisp/abbrev.elc    \
  144.     ../lisp/buff-menu.elc    \
  145.     ../lisp/byte-run.elc    \
  146.     ../lisp/cus-start.el    \
  147.     ../lisp/custom.elc    \
  148.     ../lisp/emacs-lisp/lisp-mode.elc    \
  149.     ../lisp/emacs-lisp/lisp.elc    \
  150.     ../lisp/faces.elc    \
  151.     ../lisp/files.elc    \
  152.     ../lisp/format.elc    \
  153.     ../lisp/help.elc    \
  154.     ../lisp/indent.elc    \
  155.     ../lisp/isearch.elc    \
  156.     ../lisp/loadup.el    \
  157.     ../lisp/loaddefs.el    \
  158.     ../lisp/bindings.el    \
  159.     ../lisp/map-ynp.elc    \
  160.     ../lisp/international/mule.elc    \
  161.     ../lisp/international/mule-conf.el    \
  162.     ../lisp/international/mule-cmds.elc    \
  163.     ../lisp/international/characters.elc    \
  164.     ../lisp/case-table.elc    \
  165.     ../lisp/language/chinese.elc    \
  166.     ../lisp/language/cyrillic.elc    \
  167.     ../lisp/language/english.elc    \
  168.     ../lisp/language/ethiopic.elc    \
  169.     ../lisp/language/european.elc    \
  170.     ../lisp/language/czech.elc    \
  171.     ../lisp/language/slovak.elc    \
  172.     ../lisp/language/romanian.elc    \
  173.     ../lisp/language/greek.elc    \
  174.     ../lisp/language/hebrew.elc    \
  175.     ../lisp/language/japanese.elc    \
  176.     ../lisp/language/korean.elc    \
  177.     ../lisp/language/thai.elc    \
  178.     ../lisp/language/misc-lang.elc    \
  179.     ../lisp/paths.el    \
  180.     ../lisp/register.elc    \
  181.     ../lisp/replace.elc    \
  182.     ../lisp/simple.elc    \
  183.     ../lisp/startup.elc    \
  184.     ../lisp/subr.elc    \
  185.     ../lisp/textmodes/fill.elc    \
  186.     ../lisp/textmodes/page.elc    \
  187.     ../lisp/textmodes/paragraphs.elc    \
  188.     ../lisp/textmodes/text-mode.elc    \
  189.     ../lisp/vc-hooks.elc    \
  190.     ../lisp/ediff-hook.elc    \
  191.     ../lisp/widget.elc    \
  192.     ../lisp/window.elc    \
  193.     ../lisp/version.el \
  194.     ../lisp/language/indian.elc    \
  195.     ../lisp/language/devanagari.elc    \
  196.     ../lisp/language/lao.elc    \
  197.     ../lisp/language/tibetan.elc    \
  198.     ../lisp/language/vietnamese.elc    \
  199.  
  200.  
  201. SOME_MACHINE_LISP = ${dotdot}/lisp/facemenu.elc   ${dotdot}/lisp/float-sup.elc ${dotdot}/lisp/frame.elc   ${dotdot}/lisp/menu-bar.elc ${dotdot}/lisp/mouse.elc   ${dotdot}/lisp/select.elc ${dotdot}/lisp/scroll-bar.elc       ${dotdot}/lisp/ls-lisp.elc    ${dotdot}/lisp/w32-fns.elc ${dotdot}/lisp/dos-w32.elc
  202. LIBES = $(LOADLIBES) $(LDLIBS) $(LIBX)          -lg  $(GNULIB_VAR) -lm  -lsocket  $(GNULIB_VAR)
  203. all: emacs.exe pmemacs.exe 
  204. emacs.exe: temacs.exe ${etc}DOC ${lisp}
  205.     temacs -batch -l loadup dump
  206.     -./emacs -q -batch -f list-load-path-shadows
  207. ${etc}DOC: ${obj} ${lisp}
  208.     -rm -f ${etc}DOC
  209.     ..\lib-src\make-docfile -d ${srcdir} ${SOME_MACHINE_OBJECTS} ${obj} > ${etc}DOC
  210.     ..\lib-src\make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${shortlisp}
  211. ${libsrc}make-docfile:
  212.     cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile
  213. temacs:   $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj}     
  214.     $(LD)  ${STARTFLAGS} ${ALL_LDFLAGS}       -o temacs ${STARTFILES} ${obj} ${otherobj}          ${LIBES}
  215. prefix-args: prefix-args.c $(config_h)
  216.     $(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args
  217. CPP = $(CC) -E
  218. stamp-oldxmenu: ${OLDXMENU} ../src/$(OLDXMENU) 
  219.     touch stamp-oldxmenu
  220. ../src/$(OLDXMENU): ${OLDXMENU}
  221. oldxmenu.dummy: really-lwlib
  222. C_SWITCH_MACHINE_1 =  
  223. C_SWITCH_SYSTEM_1 =  
  224. C_SWITCH_SITE_1 =  
  225. C_SWITCH_X_SITE_1 =  
  226. C_SWITCH_X_MACHINE_1 =  
  227. C_SWITCH_X_SYSTEM_1 =  
  228. really-lwlib:
  229.     cd ${lwlibdir}; ${MAKE} ${MFLAGS}       CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}'     "C_SWITCH_X_SITE=$(C_SWITCH_X_SITE_1)"     "C_SWITCH_X_MACHINE=$(C_SWITCH_X_MACHINE_1)"     "C_SWITCH_X_SYSTEM=$(C_SWITCH_X_SYSTEM_1)"     "C_SWITCH_SITE=$(C_SWITCH_SITE_1)"     "C_SWITCH_MACHINE=$(C_SWITCH_MACHINE_1)"     "C_SWITCH_SYSTEM=$(C_SWITCH_SYSTEM_1)"
  230.     @true   
  231. .PHONY: really-lwlib
  232. ../config.status:: paths.in
  233.     @echo "The file paths.h needs to be set up from paths.in."
  234.     @echo "Please run the `configure' script again."
  235.     exit 1
  236. ../config.status:: config.in
  237.     @echo "The file config.h needs to be set up from config.in."
  238.     @echo "Please run the `configure' script again."
  239.     exit 1
  240. abbrev.o: abbrev.c buffer.h window.h commands.h $(config_h)
  241. buffer.o: buffer.c buffer.h region-cache.h commands.h window.h    intervals.h  blockinput.h charset.h $(config_h)
  242. callint.o: callint.c window.h commands.h buffer.h mocklisp.h    keyboard.h $(config_h)
  243. callproc.o: callproc.c paths.h buffer.h commands.h $(config_h)    process.h systty.h syssignal.h charset.h coding.h 
  244. casefiddle.o: casefiddle.c syntax.h commands.h buffer.h $(config_h)
  245. casetab.o: casetab.c buffer.h $(config_h)
  246. category.o: category.c category.h buffer.h charset.h $(config_h)
  247. ccl.o: ccl.c ccl.h charset.h coding.h $(config_h)
  248. charset.o: charset.c charset.h buffer.h coding.h disptab.h $(config_h)
  249. coding.o: coding.c coding.h buffer.h charset.h $(config_h)
  250. cm.o: cm.c cm.h termhooks.h $(config_h)
  251. cmds.o: cmds.c syntax.h buffer.h charset.h commands.h window.h $(config_h)    
  252. pre-crt0.o: pre-crt0.c
  253. ecrt0.o: ecrt0.c $(config_h)
  254.     CRT0_COMPILE ${srcdir}/ecrt0.c
  255. dired.o: dired.c commands.h buffer.h $(config_h) charset.h coding.h regex.h
  256. dispnew.o: dispnew.c  commands.h frame.h window.h buffer.h dispextern.h    termchar.h termopts.h termhooks.h cm.h disptab.h systty.h systime.h    pmterm.h blockinput.h charset.h  $(config_h)
  257. doc.o: doc.c $(config_h) paths.h buffer.h keyboard.h
  258. doprnt.o: doprnt.c charset.h $(config_h)
  259. dosfns.o: buffer.h termchar.h termhooks.h frame.h  dosfns.h $(config_h)
  260. editfns.o: editfns.c window.h buffer.h systime.h intervals.h  charset.h    $(config_h)
  261. emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h    buffer.h intervals.h  $(config_h)
  262. fileio.o: fileio.c window.h buffer.h systime.h intervals.h  charset.h    coding.h  $(config_h)
  263. filelock.o: filelock.c buffer.h paths.h $(config_h)
  264. filemode.o: filemode.c  $(config_h)
  265. frame.o: frame.c pmterm.h window.h frame.h termhooks.h commands.h keyboard.h    buffer.h charset.h fontset.h  $(config_h)
  266. fontset.o: fontset.h fontset.c ccl.h charset.h frame.h $(config_h)
  267. getloadavg.o: getloadavg.c $(config_h)
  268. indent.o: indent.c frame.h window.h indent.h buffer.h $(config_h) termchar.h    termopts.h disptab.h region-cache.h charset.h
  269. insdel.o: insdel.c window.h buffer.h intervals.h  blockinput.h charset.h   $(config_h)
  270. keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h charset.h    commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h    systty.h systime.h dispextern.h syntax.h intervals.h blockinput.h    pmterm.h puresize.h  $(config_h)
  271. keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h    puresize.h charset.h $(config_h)
  272. lastfile.o: lastfile.c  $(config_h)
  273. macros.o: macros.c window.h buffer.h commands.h macros.h keyboard.h $(config_h)
  274. malloc.o: malloc.c $(config_h)
  275. gmalloc.o: gmalloc.c $(config_h)
  276. ralloc.o: ralloc.c $(config_h)
  277. vm-limit.o: vm-limit.c mem-limits.h $(config_h)
  278. marker.o: marker.c buffer.h charset.h $(config_h)
  279. minibuf.o: minibuf.c syntax.h dispextern.h frame.h window.h    buffer.h commands.h charset.h  $(config_h)
  280. mktime.o: mktime.c $(config_h)
  281. mocklisp.o: mocklisp.c buffer.h $(config_h)
  282. msdos.o: msdos.c  dosfns.h systime.h termhooks.h dispextern.h    termopts.h frame.h window.h $(config_h)
  283. process.o: process.c process.h buffer.h window.h termhooks.h termopts.h    commands.h syssignal.h systime.h systty.h syswait.h frame.h    blockinput.h charset.h coding.h  $(config_h)
  284. regex.o: regex.c syntax.h buffer.h $(config_h) regex.h category.h charset.h
  285. region-cache.o: region-cache.c buffer.h region-cache.h
  286. scroll.o: scroll.c termchar.h dispextern.h frame.h  $(config_h)
  287. search.o: search.c regex.h commands.h buffer.h region-cache.h syntax.h    blockinput.h category.h charset.h $(config_h)
  288. strftime.o: strftime.c $(config_h)
  289. syntax.o: syntax.c syntax.h buffer.h commands.h category.h charset.h    $(config_h)
  290. sysdep.o: sysdep.c $(config_h) dispextern.h termhooks.h termchar.h termopts.h    frame.h syssignal.h systty.h systime.h syswait.h blockinput.h window.h    
  291. term.o: term.c termchar.h termhooks.h termopts.h $(config_h) cm.h frame.h    disptab.h keyboard.h charset.h coding.h 
  292. termcap.o: termcap.c $(config_h)
  293. terminfo.o: terminfo.c $(config_h)
  294. tparam.o: tparam.c $(config_h)
  295. undo.o: undo.c buffer.h commands.h $(config_h)
  296. UNEXEC_ALIAS= unexecemx.o 
  297. $(UNEXEC_ALIAS): unexecemx.c  $(config_h)
  298. w16select.o: w16select.c lisp.h dispextern.h frame.h blockinput.h     $(config_h)
  299. widget.o: widget.c pmterm.h frame.h dispextern.h widgetprv.h    $(srcdir)/../lwlib/lwlib.h $(config_h)
  300. window.o: window.c indent.h commands.h frame.h window.h buffer.h termchar.h    termhooks.h disptab.h keyboard.h dispextern.h  $(config_h)
  301. xdisp.o: xdisp.c macros.h commands.h indent.h buffer.h dispextern.h coding.h    termchar.h frame.h window.h disptab.h termhooks.h charset.h $(config_h)    
  302. xfaces.o: xfaces.c dispextern.h frame.h pmterm.h buffer.h blockinput.h    window.h charset.h  $(config_h)
  303. xfns.o: xfns.c buffer.h frame.h window.h keyboard.h pmterm.h   $(srcdir)/../lwlib/lwlib.h blockinput.h paths.h charset.h $(config_h)
  304. xmenu.o: xmenu.c pmterm.h termhooks.h window.h dispextern.h frame.h keyboard.h    $(srcdir)/../lwlib/lwlib.h blockinput.h  $(config_h)
  305. xterm.o: xterm.c pmterm.h termhooks.h termopts.h termchar.h window.h   dispextern.h frame.h disptab.h blockinput.h systime.h syssignal.h   keyboard.h gnu.h sink.h sinkmask.h charset.h ccl.h fontset.h $(config_h)
  306. xselect.o: xselect.c dispextern.h frame.h pmterm.h blockinput.h charset.h   coding.h buffer.h $(config_h)
  307. xrdb.o: xrdb.c $(config_h) paths.h
  308. hftctl.o: hftctl.c $(config_h)
  309. alloc.o: alloc.c frame.h window.h buffer.h  puresize.h syssignal.h keyboard.h  blockinput.h charset.h $(config_h) intervals.h 
  310. bytecode.o: bytecode.c buffer.h syntax.h $(config_h)
  311. data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h)
  312. eval.o: eval.c commands.h keyboard.h blockinput.h $(config_h)
  313. floatfns.o: floatfns.c $(config_h)
  314. fns.o: fns.c commands.h $(config_h) frame.h buffer.h keyboard.h  window.h intervals.h 
  315. print.o: print.c process.h frame.h window.h buffer.h keyboard.h charset.h   $(config_h) dispextern.h 
  316. lread.o: lread.c commands.h keyboard.h buffer.h paths.h charset.h $(config_h)  termhooks.h 
  317. textprop.o: textprop.c buffer.h window.h intervals.h $(config_h)
  318. intervals.o: intervals.c buffer.h intervals.h keyboard.h puresize.h $(config_h)
  319. sunfns.o: sunfns.c buffer.h window.h $(config_h)
  320. ${libsrc}emacstool: ${libsrc}emacstool.c
  321.     cd ${libsrc}; ${MAKE} ${MFLAGS} emacstool
  322. mostlyclean:
  323.     rm -f temacs prefix-args core \#* *.o libXMenu11.a liblw.a
  324.     rm -f ../etc/DOC
  325. clean: mostlyclean
  326.     rm -f emacs-* emacs
  327. distclean: clean
  328.     rm -f paths.h config.h Makefile Makefile.c config.stamp stamp-oldxmenu ../etc/DOC-*
  329. maintainer-clean: distclean
  330.     @echo "This command is intended for maintainers to use;"
  331.     @echo "it deletes files that may require special tools to rebuild."
  332.     rm -f TAGS
  333. versionclean:
  334.     -rm -f emacs emacs-* ../etc/DOC*
  335. extraclean: distclean
  336.     -rm -f *~ \#* m/?*~ s/?*~
  337. SOURCES = *.[ch] [sm]/?* COPYING Makefile.in    config.in paths.in README COPYING ChangeLog vms.pp-trans
  338. unlock:
  339.     chmod u+w $(SOURCES)
  340. relock:
  341.     chmod -w $(SOURCES)
  342.     chmod +w paths.h
  343. ctagsfiles = [a-zA-Z]*.[hc]
  344. TAGS: $(srcdir)/$(ctagsfiles)
  345.     ../lib-src/etags --include=TAGS-LISP    --regex='/[    ]*DEFVAR_[A-Z_    (]+"\([^"]+\)"/'    $(srcdir)/$(ctagsfiles)
  346. frc:
  347. TAGS-LISP: frc
  348.     $(MAKE) -f ${lispsource}Makefile TAGS-LISP ETAGS=../lib-src/etags    lispsource=${lispsource}
  349. tags: TAGS TAGS-LISP
  350. .PHONY: tags
  351. pmemacs.o: pmemacs.c pmemacs.h termhooks.h lisp.h config.h
  352. pmemacs.res: pmemacs.rc
  353.     rc -r pmemacs
  354. pmemacs.exe: pmemacs.o pmemacs.def pmemacs.res
  355.     $(CC) $(ALL_CFLAGS) pmemacs.o -o pmemacs
  356.     emxbind -bqs -dpmemacs.def -rpmemacs.res pmemacs
  357.  
  358. temacs.exe: temacs
  359.     emxbind -bq -h48 temacs
  360.