# Generated automatically from Makefile.in.in by configure.
# Makefile for GNU Emacs.
# Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.

# This file is part of GNU Emacs.

# GNU Emacs is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with GNU Emacs; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */

# Here are the things that we expect ../configure to edit.
srcdir=/GFD_Dennou_Club/ftp/public/Emacs/Mule-3/mule-2.3/src
VPATH=/GFD_Dennou_Club/ftp/public/Emacs/Mule-3/mule-2.3/src
CC=cc
CPP=cc -E
CFLAGS=-g 
LN_S=ln -s
# Substitute an assignment for the MAKE variable, because
# BSD doesn't have it as a default.


# On Xenix and the IBM RS6000, double-dot gets screwed up.
dot = .
lispdir = ${srcdir}/$(dot)$(dot)/lisp/
libsrc = $(dot)$(dot)/lib-src/
etc = $(dot)$(dot)/etc/
shortnamesdir = $(dot)$(dot)/shortnames/
cppdir = $(dot)$(dot)/cpp/
oldXMenudir = $(dot)$(dot)/oldXMenu/
lwlibdir = $(dot)$(dot)/lwlib/

# Configuration files for .o files to depend on.
M_FILE = ${srcdir}/m/sparc.h
S_FILE = ${srcdir}/s/sunos4shr.h
config_h = config.h $(M_FILE) $(S_FILE)

# ========================== start of cpp stuff ======================= */
CPPFLAGS=
LDFLAGS=
C_SWITCH_SYSTEM=
SHELL=/bin/sh
STARTFILES = pre-crt0.o
ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAG) -I. -I${srcdir}    -I/usr/local/X11R6/include    ${CFLAGS}
.c.o:
	$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
XOBJ= xterm.o xfns.o xfaces.o xmenu.o xselect.o xrdb.o
OLDXMENU= libXMenu11.a
LIBXMENU= $(OLDXMENU)
LIBXT=
LIBX= $(LIBXMENU) -L/usr/openwin/lib  $(LIBXT) -lX11  
GNULIB_VAR = 
LD=cc
ALL_LDFLAGS = -X  -L/GFD_Dennou_Club/ftp/public/Emacs/Mule-3/Wnn6/lib -L/usr/local/lib  $(LDFLAGS)
obj=    dispnew.o frame.o scroll.o xdisp.o window.o \
	cm.o term.o $(XOBJ) mule.o charset.o coding.o fontset.o category.o ccl.o  wnnfns.o canna.o\
	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 unexsunos4.o mocklisp.o bytecode.o \
	process.o callproc.o \
	doprnt.o getloadavg.o
SOME_MACHINE_OBJECTS = sunfns.o
termcapobj = tparam.o
mallocobj = gmalloc.o ralloc.o vm-limit.o
allocaobj =
widgetobj=
otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj)
lisp= \
	${lispdir}ccl.elc ${lispdir}gnusutil.elc ${lispdir}isearch-ext.elc ${lispdir}keyboard.elc ${lispdir}kinsoku.elc ${lispdir}mule.elc ${lispdir}mule-conf.el ${lispdir}mule-diag.elc ${lispdir}mule-init.elc ${lispdir}mule-util.elc ${lispdir}quail.elc ${lispdir}trex.elc ${lispdir}visual.elc ${lispdir}arabic.elc ${lispdir}chinese.elc ${lispdir}cyrillic.elc ${lispdir}ethio.elc ${lispdir}european.elc ${lispdir}japanese.elc ${lispdir}korean.elc ${lispdir}thai.elc ${lispdir}viet.elc ${lispdir}egg.elc ${lispdir}wnn-egg.elc  ${lispdir}canna.elc \
	${lispdir}abbrev.elc \
	${lispdir}buff-menu.elc \
	${lispdir}byte-run.elc \
	${lispdir}c-mode.elc \
	${lispdir}faces.elc \
	${lispdir}files.elc \
	${lispdir}fill.elc \
	${lispdir}float-sup.elc \
	${lispdir}frame.elc ${lispdir}menu-bar.elc ${lispdir}mouse.elc ${lispdir}select.elc ${lispdir}scroll-bar.elc ${lispdir}faces.elc \
	 \
	${lispdir}help.elc \
	${lispdir}indent.elc \
	${lispdir}isearch.elc \
	${lispdir}lisp-mode.elc \
	${lispdir}lisp.elc \
	${lispdir}loaddefs.el \
	${lispdir}map-ynp.elc \
	${lispdir}page.elc \
	${lispdir}paragraphs.elc \
	${lispdir}paths.el \
	${lispdir}register.elc \
	${lispdir}replace.elc \
	${lispdir}simple.elc \
	${lispdir}startup.elc \
	${lispdir}subr.elc \
	${lispdir}text-mode.elc \
	${lispdir}vc-hooks.elc \
	 \
	 \
	${lispdir}window.elc \
	${lispdir}version.el
LIBES = $(LIBX)   -ltermcap -lwnn -lcanna16 \
	  -lg $(GNULIB_VAR) -lm -lc $(GNULIB_VAR)
all: emacs  ${etc}CHARSETS ${etc}CODINGS
.SUFFIXES: .elc .el
.el.elc:
	./temacs -batch -l mule-inst.el ${lisp} ${lispdir}autoload.elc ${lispdir}bookmark.elc ${lispdir}bytecomp.elc ${lispdir}compare-w.elc ${lispdir}compile.elc ${lispdir}complete.elc ${lispdir}dabbrev.elc ${lispdir}debug.elc ${lispdir}delsel.elc ${lispdir}dired.elc ${lispdir}info.elc ${lispdir}informat.elc ${lispdir}isearch.elc ${lispdir}macros.elc ${lispdir}man.elc ${lispdir}mail-extr.elc ${lispdir}menu-bar.elc ${lispdir}mouse.elc ${lispdir}mouse-sel.elc ${lispdir}outline.elc ${lispdir}paren.elc ${lispdir}picture.elc ${lispdir}prolog.elc ${lispdir}rect.elc ${lispdir}rmail.elc ${lispdir}sendmail.elc ${lispdir}texinfmt.elc ${lispdir}/select.elc ${lispdir}term/x-win.elc
emacs: temacs ${etc}DOC ${lisp} ${lispdir}autoload.elc ${lispdir}bookmark.elc ${lispdir}bytecomp.elc ${lispdir}compare-w.elc ${lispdir}compile.elc ${lispdir}complete.elc ${lispdir}dabbrev.elc ${lispdir}debug.elc ${lispdir}delsel.elc ${lispdir}dired.elc ${lispdir}info.elc ${lispdir}informat.elc ${lispdir}isearch.elc ${lispdir}macros.elc ${lispdir}man.elc ${lispdir}mail-extr.elc ${lispdir}menu-bar.elc ${lispdir}mouse.elc ${lispdir}mouse-sel.elc ${lispdir}outline.elc ${lispdir}paren.elc ${lispdir}picture.elc ${lispdir}prolog.elc ${lispdir}rect.elc ${lispdir}rmail.elc ${lispdir}sendmail.elc ${lispdir}texinfmt.elc ${lispdir}/select.elc ${lispdir}term/x-win.elc
	./temacs -batch -l loadup dump
	./temacs -batch -l ${lispdir}mule-inst.el ${lispdir}quail/[a-zA-Z]*.el
${etc}DOC: ${libsrc}make-docfile ${obj} ${lisp}
	-rm -f ${etc}DOC
	${libsrc}make-docfile -d ${srcdir} ${obj} ${SOME_MACHINE_OBJECTS} \
	  ${lisp} > ${etc}DOC
${libsrc}make-docfile:
	cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile
temacs:  $(LOCALCPP) $(SHORT) $(STARTFILES) $(OLDXMENU) ${obj} ${otherobj}   prefix-args
	$(LD) ${STARTFLAGS} ${ALL_LDFLAGS} \
	   -o temacs ${STARTFILES} ${obj} ${otherobj}  \
	     ${LIBES}
prefix-args: prefix-args.c $(config_h)
	$(CC) $(ALL_CFLAGS) ${srcdir}/prefix-args.c -o prefix-args
CPP = $(CC) -E
$(OLDXMENU): really-oldXMenu
	-rm -f $(OLDXMENU) 
	${LN_S} ${oldXMenudir}libXMenu11.a $(OLDXMENU)
C_SWITCH_MACHINE_1 = 
C_SWITCH_SYSTEM_1 = 
C_SWITCH_SITE_1 = 
C_SWITCH_X_SITE_1 = -I/usr/local/X11R6/include
C_SWITCH_X_MACHINE_1 = 
C_SWITCH_X_SYSTEM_1 = 
really-oldXMenu:
	cd ${oldXMenudir}; ${MAKE} ${MFLAGS} CFLAGS= \
	   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)"
	@true  
paths.h: paths.h.in
	@echo "The file paths.h needs to be set up from paths.h.in."
	@echo "Consult the file \`INSTALL' for instructions for building Emacs."
	exit 1
config.h: config.h.in
	@echo "The file config.h needs to be set up from config.h.in."
	@echo "Consult the file \`INSTALL' for instructions for building Emacs."
	exit 1
abbrev.o: abbrev.c buffer.h commands.h $(config_h) 
buffer.o: buffer.c buffer.h commands.h window.h \
	  intervals.h blockinput.h $(config_h) charset.h
callint.o: callint.c window.h commands.h buffer.h mocklisp.h \
	  keyboard.h $(config_h)
callproc.o: callproc.c paths.h buffer.h commands.h $(config_h) \
	process.h systty.h syssignal.h charset.h coding.h
casefiddle.o: casefiddle.c syntax.h commands.h buffer.h $(config_h) 
casetab.o: casetab.c buffer.h $(config_h)
cm.o: cm.c cm.h termhooks.h $(config_h)
cmds.o: cmds.c syntax.h buffer.h commands.h $(config_h) charset.h
pre-crt0.o: pre-crt0.c
crt0.o: crt0.c $(config_h)
	$(CC) -c $(ALL_CFLAGS)  ${srcdir}/crt0.c
dired.o: dired.c commands.h buffer.h $(config_h) regex.h
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 $(config_h) charset.h
doc.o: doc.c $(config_h) paths.h buffer.h keyboard.h
doprnt.o: doprnt.c $(config_h) charset.h
editfns.o: editfns.c window.h buffer.h systime.h intervals.h $(config_h) \
	  charset.h
emacs.o: emacs.c commands.h systty.h syssignal.h process.h intervals.h $(config_h) 
fileio.o: fileio.c window.h buffer.h systime.h intervals.h $(config_h) \
	  charset.h coding.h
filelock.o: filelock.c buffer.h paths.h $(config_h)
filemode.o: filemode.c  $(config_h)
getloadavg.o: getloadavg.c $(config_h)
indent.o: indent.c frame.h window.h indent.h buffer.h $(config_h) termchar.h \
	  termopts.h disptab.h charset.h
insdel.o: insdel.c window.h buffer.h intervals.h blockinput.h $(config_h)
keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h \
	  commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \
	  systty.h systime.h dispextern.h intervals.h blockinput.h $(config_h) \
	  charset.h
keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \
	  $(config_h) charset.h
lastfile.o: lastfile.c  $(config_h)
macros.o: macros.c window.h buffer.h commands.h macros.h $(config_h)
malloc.o: malloc.c $(config_h)
gmalloc.o: gmalloc.c $(config_h)
ralloc.o: ralloc.c $(config_h)
vm-limit.o: vm-limit.c mem-limits.h $(config_h) 
marker.o: marker.c buffer.h $(config_h) 
minibuf.o: minibuf.c syntax.h dispextern.h frame.h window.h \
	  buffer.h commands.h $(config_h) charset.h
mocklisp.o: mocklisp.c buffer.h $(config_h)
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 $(config_h) \
	  charset.h coding.h
regex.o: regex.c syntax.h buffer.h $(config_h) regex.h \
	  regex18.c regex19.c regex18.h regex19.h charset.h
frame.o: frame.c xterm.h window.h frame.h termhooks.h commands.h keyboard.h \
	  buffer.h $(config_h)
scroll.o: scroll.c termchar.h $(config_h) dispextern.h frame.h
search.o: search.c regex.h commands.h buffer.h syntax.h blockinput.h \
	  $(config_h) regex18.h regex19.h charset.h
syntax.o: syntax.c syntax.h buffer.h commands.h $(config_h) charset.h
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
term.o: term.c termchar.h termhooks.h termopts.h $(config_h) cm.h frame.h \
	  disptab.h charset.h coding.h
termcap.o: termcap.c $(config_h)
terminfo.o: terminfo.c $(config_h)
tparam.o: tparam.c $(config_h)
undo.o: undo.c buffer.h commands.h $(config_h) 
UNEXEC_ALIAS=unexsunos4.o
$(UNEXEC_ALIAS): unexsunos4.c $(config_h)
widget.o: widget.c xterm.h frame.h dispextern.h widgetprv.h $(config_h)
window.o: window.c indent.h commands.h frame.h window.h buffer.h termchar.h \
	  termhooks.h disptab.h keyboard.h $(config_h)
xdisp.o: xdisp.c macros.h commands.h indent.h buffer.h dispextern.h \
	  termchar.h frame.h window.h disptab.h termhooks.h $(config_h) \
	  charset.h coding.h
xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h \
	  window.h $(config_h) charset.h fontset.h
xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h \
	  blockinput.h $(config_h) charset.h fontset.h
xmenu.o: xmenu.c xterm.h window.h dispextern.h frame.h keyboard.h \
	  blockinput.h $(config_h)
xterm.o: xterm.c xterm.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 $(config_h) charset.h fontset.h
xselect.o: xselect.c dispextern.h frame.h xterm.h blockinput.h $(config_h) 
xrdb.o: xrdb.c $(config_h)
hftctl.o: hftctl.c $(config_h)
alloc.o: alloc.c frame.h window.h buffer.h  puresize.h syssignal.h
alloc.o: blockinput.h $(config_h) intervals.h
bytecode.o: bytecode.c buffer.h $(config_h)
data.o: data.c buffer.h puresize.h syssignal.h $(config_h)
eval.o: eval.c commands.h keyboard.h blockinput.h $(config_h)
floatfns.o: floatfns.c $(config_h)
fns.o: fns.c commands.h $(config_h) frame.h buffer.h keyboard.h intervals.h
print.o: print.c process.h frame.h window.h buffer.h $(config_h) charset.h
lread.o: lread.c commands.h keyboard.h buffer.h paths.h $(config_h) \
	termhooks.h charset.h
textprop.o: textprop.c buffer.h intervals.h $(config_h)
intervals.o: intervals.c buffer.h intervals.h puresize.h $(config_h)
mule.o: mule.c buffer.h syntax.h regex.h window.h $(config_h)
category.o: category.c commands.h buffer.h syntax.h category.h charset.h \
	 $(config_h)
ccl.o: ccl.c coding.h $(config_h)
charset.o: charset.c charset.h buffer.h syntax.h regex.h window.h \
	 $(config_h)
coding.o: coding.c buffer.h charset.h coding.h
fontset.o: fontset.c fontset.h charset.h config.h
wnnfns.o: wnnfns.c buffer.h window.h charset.h $(config_h)
	$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -I/GFD_Dennou_Club/ftp/public/Emacs/Mule-3/Wnn6/include/wnn $<
canna.o: canna.c buffer.h charset.h $(config_h)
	$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -I/usr/local/include $<
${etc}charset: emacs ${lispdir}mule-diag.elc
	./emacs -batch -l ${lispdir}mule-diag.elc -f dump-charset
	mv charset ${etc}
${etc}CHARSETS: ${etc}charset
	cd ${etc}; ${MAKE} ${MFLAGS} CHARSETS
${etc}CODINGS: emacs ${lispdir}mule-diag.elc
	./emacs -batch -l ${lispdir}mule-diag.elc -f dump-CODINGS
	mv CODINGS ${etc}
sunfns.o: sunfns.c buffer.h $(config_h)
dosfns.o: dosfns.h dosfns.c buffer.h termchar.h termhooks.h frame.h dosfns.h msdos.h
msdos.o: msdos.h msdos.c dosfns.h  systime.h termhooks.h frame.h
${libsrc}emacstool: ${libsrc}emacstool.c
	cd ${libsrc}; ${MAKE} ${MFLAGS} emacstool
mostlyclean:
	rm -f temacs prefix-args core \#* *.o libXMenu11.a liblw.a
	rm -f ../etc/DOC
clean: mostlyclean
	rm -f emacs-* emacs
distclean: clean
	rm -f paths.h config.h Makefile Makefile.in ../etc/DOC-*
realclean: distclean
	rm -f TAGS
versionclean:
	-rm -f emacs emacs-* ../etc/DOC*
extraclean: distclean
	-rm -f *~ \#* m/?*~ s/?*~
pureclean:
	-rm  -f alloc.o data.o intervals.o
SOURCES = *.[ch] [sm]/?* COPYING ymakefile \
	config.h.in README COPYING ChangeLog vms.pp-trans
unlock:
	chmod u+w $(SOURCES)
relock:
	chmod -w $(SOURCES)
	chmod +w paths.h
ctagsfiles = [a-zA-Z]*.[hc]
lisptagsfiles = ../lisp/[a-zA-Z]*.el ../lisp/term/[a-zA-Z]*.el
TAGS: $(ctagsfiles)
	../lib-src/etags --include=../lisp/TAGS $(ctagsfiles)
../lisp/TAGS: $(lisptagsfiles)
	cd ../lisp; $(MAKE) TAGS
tags: TAGS ../lisp/TAGS
.PHONY: tags
