2 # Please specify your Emacs here.
5 # To install Wanderlust for XEmacs 21 or later,
6 # running 'make install-package' is recommended.
7 # 'make install-package' refers $XEMACS instead of $EMACS.
10 # Target directory to install the Wanderlust package.
11 # (Automatically detected if this line is unchanged.)
14 #LISPDIR = /usr/local/lib/mule/site-lisp
17 #INFODIR = /usr/local/share/info
22 # For XEmacs or Emacs 21: directory where icon files should go.
26 ################# No need to modify following lines ####################
28 FLAGS = $(BATCHFLAG) -q -no-site-file
31 $(EMACS) $(FLAGS) -l WL-MK -f compile-wl-package \
32 $(LISPDIR) $(PIXMAPDIR)
35 $(EMACS) $(BATCHFLAG) -l WL-MK -f check-wl \
36 $(LISPDIR) $(PIXMAPDIR)
39 $(EMACS) $(FLAGS) -l WL-MK -f test-wl \
40 $(LISPDIR) $(PIXMAPDIR)
43 $(EMACS) $(FLAGS) -l WL-MK -f update-version \
44 $(LISPDIR) $(PIXMAPDIR)
46 compile-strict: clean-elc
48 args="$$args -L elmo -L wl";\
49 echo "=============================================";\
50 echo "Compiling the 1st stage-----without elc files";\
51 echo "=============================================";\
52 for i in `$(EMACS) $(FLAGS) -l WL-MK -f wl-examine-modules 2>/dev/null`;\
54 j=`echo $$i| sed 's/elc$$/el/g'`;\
55 echo "$(EMACS) ARGS -f batch-byte-compile $$j";\
56 $(EMACS) $$args -f batch-byte-compile $$j;\
59 for i in `echo elmo/*.elx wl/*.elx utils/*.elx`; do\
60 j=`echo $$i| sed 's/elx$$/elc/g'`;\
63 echo "==============================================";\
64 echo "Compiling the 2nd stage-----with all elc files";\
65 echo "==============================================";\
66 for i in `$(EMACS) $(FLAGS) -l WL-MK -f wl-examine-modules 2>/dev/null`;\
68 j=`echo $$i| sed 's/elc$$/el/g'`;\
69 echo "$(EMACS) ARGS -f batch-byte-compile $$j";\
70 $(EMACS) $$args -f batch-byte-compile $$j;\
74 $(EMACS) $(FLAGS) -l WL-MK -f install-wl-package \
75 $(LISPDIR) $(PIXMAPDIR)
78 $(EMACS) $(FLAGS) -l WL-MK -f uninstall-wl-package \
79 $(LISPDIR) $(PIXMAPDIR)
82 rm -f wl/*.elc wl/*~ wl/auto-autoloads.el wl/custom-load.el \
83 wl/wl-news.el elmo/*.elc utils/*.elc utils/hmac/lisp/*.elc
86 $(XEMACS) $(FLAGS) -l WL-MK -f compile-wl-package-xmas \
87 $(PACKAGEDIR) $(PIXMAPDIR)
90 $(XEMACS) $(FLAGS) -l WL-MK -f install-wl-package-xmas \
91 $(PACKAGEDIR) $(PIXMAPDIR)
94 $(EMACS) $(FLAGS) -l WL-MK -f wl-texinfo-format $(INFODIR)
97 $(EMACS) $(FLAGS) -l WL-MK -f install-wl-info $(INFODIR)
100 rm -f doc/*~ doc/*.cp doc/*.fn doc/*.ky doc/*.pg doc/*.tp doc/*.vr \
101 doc/*.cps doc/*.fns doc/*.kys doc/*.pgs doc/*.tps doc/*.vrs
103 clean-info: mostlyclean-info
104 rm -f doc/*.info doc/*.info-*
107 rm -f doc/*~ doc/*.aux doc/*.log doc/*.toc
109 clean-dvi: mostlyclean-dvi
116 uninstall: uninstall-elc
118 mostlyclean: clean-elc mostlyclean-info mostlyclean-dvi
120 clean: mostlyclean clean-dvi
122 distclean: maintainer-clean
124 maintainer-clean: clean clean-info