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 -l $(top_srcdir)/jisx0213.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}
62 egg/cannarpc.el egg/canna.el \
63 egg/sj3rpc.el egg/sj3.el \
64 egg/wnnrpc.el egg/wnn.el \
65 egg/anthyipc.el egg/anthy.el
85 ELCS = ${SRCS:.el=.elc}
87 TOPELCS = ${TOPSRCS:.el=.elc}
89 EGGELCS = ${EGGSRCS:.el=.elc}
91 ITSELCS = ${ITSSRCS:.el=.elc}
93 DIST = ${ETCS} ${SRCS} ${INITELS}
100 ${EMACS} ${BATCHFLAGS} ${DEPS} -f batch-byte-compile $<
103 rm -f ${ELCS} *~ */*~ \#* .\#* */\#* */.\#*
106 rm -f ${ELCS} config.* Makefile
108 install: install-site
111 echo "Egg system will be installed in ${lispdir}/egg...."; \
112 if [ -d ${lispdir}/egg ]; then \
113 echo "Clean up the previsous installation...."; \
114 rm -rf ${lispdir}/egg/*; \
116 echo "Make the directory ${lispdir}/egg..."; \
117 mkdir ${lispdir}/egg; \
120 for FILE in ${TOPSRCS} ${TOPELCS} ${INITELS}; \
122 ${INSTALL_DATA} $${FILE} ${lispdir}/egg/; \
125 mkdir ${lispdir}/egg/egg ; \
126 for FILE in ${EGGSRCS} ${EGGELCS} ; \
128 ${INSTALL_DATA} $${FILE} ${lispdir}/egg/egg; \
131 mkdir ${lispdir}/egg/its ; \
132 for FILE in ${ITSSRCS} ${ITSELCS} ; \
134 ${INSTALL_DATA} $${FILE} ${lispdir}/egg/its ; \
139 if [ -d ${lispdir}/egg ]; then \
140 rm -rf ${lispdir}/egg; \
144 egg/sj3rpc.elc: egg-com.elc egg/sj3.elc
145 egg/wnnrpc.elc: egg-com.elc egg/wnn.elc
147 egg.elc its/ascii.elc its/aynu.elc its/erpin.elc \
148 its/hankata.elc its/hira.elc its/jeonkak.elc its/pinyin.elc \
149 its/hangul.elc its/kata.elc its/quanjiao.elc \
150 its/zenkaku.elc its/zhuyin.elc: its-keydef.elc