# Boston, MA 02111-1307, USA.
# Here are the things that we expect ../configure to edit.
+# We use $(srcdir) explicitly in dependencies so as not to depend on VPATH.
srcdir=@srcdir@
VPATH=@srcdir@
CC=@CC@
w16select.o: w16select.c lisp.h dispextern.h frame.h blockinput.h \
msdos.h $(config_h)
widget.o: widget.c xterm.h frame.h dispextern.h widgetprv.h \
- ../lwlib/lwlib.h $(config_h)
+ $(srcdir)/../lwlib/lwlib.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 dispextern.h msdos.h $(config_h)
xdisp.o: xdisp.c macros.h commands.h indent.h buffer.h dispextern.h coding.h \
xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h \
window.h charset.h msdos.h $(config_h)
xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h\
- ../lwlib/lwlib.h blockinput.h paths.h charset.h $(config_h)
+ $(srcdir)/../lwlib/lwlib.h blockinput.h paths.h charset.h $(config_h)
xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h keyboard.h \
- ../lwlib/lwlib.h blockinput.h msdos.h $(config_h)
+ $(srcdir)/../lwlib/lwlib.h blockinput.h msdos.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 charset.h ccl.h fontset.h $(config_h)
/**/# This is used in making a distribution.
/**/# Do not use it on development directories!
distclean: clean
- rm -f paths.h config.h Makefile Makefile.c ../etc/DOC-*
+ rm -f paths.h config.h Makefile Makefile.c config.stamp stamp-oldxmenu ../etc/DOC-*
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
ctagsfiles = [a-zA-Z]*.[hc]
TAGS: $(srcdir)/$(ctagsfiles)
../lib-src/etags --include=TAGS-LISP \
- --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' $(ctagsfiles)
+ --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
+ $(srcdir)/$(ctagsfiles)
frc:
TAGS-LISP: frc
$(MAKE) -f ${lispsource}Makefile TAGS-LISP ETAGS=../lib-src/etags \