1 # Makefile --- Makefile of EGG V4.0
3 # Copyright (C) 1999, 2000 Free Software Foundation, Inc
4 # Author: NIIBE Yutaka <gniibe@chroot.org>
5 # TOMURA Satoru <tomura@etl.go.jp>
6 # Maintaner: Satoru Tomura <tomura@etl.go.jp>
12 top_srcdir = @top_srcdir@
15 #------------------------------------------------
16 # Configuration parameters
17 #------------------------------------------------
20 # emacs lisp installation directory
22 #------------------------------------------------
26 INSTALL_PROGRAM = @INSTALL_PROGRAM@
27 INSTALL_SCRIPT = @INSTALL_SCRIPT@
28 INSTALL_DATA = @INSTALL_DATA@
29 INSTALL_INFO = install-info
31 #---------------------------------------
33 # ;; compile *.el files
35 # ;; install files into the emacs site-lisp directory
36 # ;; ex. /usr/local/share/emacs/site-lisp/egg
38 DEPS = -l $(top_srcdir)/docomp.el
39 BATCHFLAGS = -batch -q -no-site-file -no-init-file
41 ETCS = Makefile docomp.el \
42 AUTHORS ChangeLog README TODO PROBLEMS
44 INITELS = eggrc leim-list.el
46 SRCS = ${TOPSRCS} ${EGGSRCS} ${ITSSRCS}
61 egg/cannarpc.el egg/canna.el \
62 egg/sj3rpc.el egg/sj3.el \
63 egg/wnnrpc.el egg/wnn.el \
64 egg/anthyipc.el egg/anthy.el
67 AYNU = @HAVE_JISX0213@ its/aynu.el
87 ELCS = ${SRCS:.el=.elc}
89 TOPELCS = ${TOPSRCS:.el=.elc}
91 EGGELCS = ${EGGSRCS:.el=.elc}
93 ITSELCS = ${ITSSRCS:.el=.elc}
95 DIST = ${ETCS} ${SRCS} ${INITELS}
103 ${EMACS} ${BATCHFLAGS} ${DEPS} -f batch-byte-compile $<
106 rm -f ${ELCS} *~ */*~ \#* .\#* */\#* */.\#*
109 rm -f ${ELCS} config.* Makefile
111 install: install-site
114 echo "Egg system will be installed in ${lispdir}/egg...."; \
115 if [ -d ${lispdir}/egg ]; then \
116 echo "Clean up the previsous installation...."; \
117 rm -rf ${lispdir}/egg/*; \
119 echo "Make the directory ${lispdir}/egg..."; \
120 mkdir ${lispdir}/egg; \
123 for FILE in ${TOPSRCS} ${TOPELCS} ${INITELS}; \
125 ${INSTALL_DATA} $${FILE} ${lispdir}/egg/; \
128 mkdir ${lispdir}/egg/egg ; \
129 for FILE in ${EGGSRCS} ${EGGELCS} ; \
131 ${INSTALL_DATA} $${FILE} ${lispdir}/egg/egg; \
134 mkdir ${lispdir}/egg/its ; \
135 for FILE in ${ITSSRCS} ${ITSELCS} ; \
137 ${INSTALL_DATA} $${FILE} ${lispdir}/egg/its ; \
142 if [ -d ${lispdir}/egg ]; then \
143 rm -rf ${lispdir}/egg; \
147 egg/sj3rpc.elc: egg-com.elc egg/sj3.elc
148 egg/wnnrpc.elc: egg-com.elc egg/wnn.elc
150 egg.elc its/ascii.elc its/aynu.elc its/erpin.elc its/greek.elc \
151 its/hankata.elc its/hira.elc its/jeonkak.elc its/pinyin.elc \
152 its/hangul.elc its/kata.elc its/quanjiao.elc \
153 its/zenkaku.elc its/zhuyin.elc: its-keydef.elc