-# Makefile for leim subdirectory in GNU Emacs on the Microsoft W32 API.
-# Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
-# Licensed to the Free Software Foundation.
+# -*- Makefile -*- for leim subdirectory in GNU Emacs on the Microsoft W32 API.
+# Copyright (C) 1997, 2004 Electrotechnical Laboratory, JAPAN.
+# Licensed to the Free Software Foundation.
+# Copyright (C) 2005, Free Software Foundation, Inc.
# This file is part of GNU Emacs.
.el.elc:
$(RUN_EMACS) -f batch-byte-compile $<
-all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) $(MISC_DIC) leim-list.el
+all: $(BUILT_EMACS) $(SUBDIRS) $(WORLD) leim-list.el
# To ensure that we can run Emacs. This target is ignored (never
# being hit) if a user changes default value of EMACS.
clean mostlyclean:
- $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
- - $(FOREACH) $(WORLD) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
- $(FOREACH) $(MISC_DIC) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
- $(FOREACH) $(TIT:.elc=.el) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
- $(FOREACH) $(MISC_DIC:.elc=.el) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
- $(DEL) leim-list.el
-distclean maintainer-clean:
- if exist stamp-subdir $(DELTREE) $(SUBDIRS)
+distclean: clean
+ - $(DELTREE) $(SUBDIRS)
- $(DEL) stamp-subdir
+
+maintainer-clean: distclean
+ - $(FOREACH) $(WORLD) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
+
+extraclean: maintainer-clean
+ - $(FOREACH) *~ "#*" $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)