leim-list.el change
[elisp/tamago.git] / Makefile.in
1 # Makefile --- Makefile of EGG V4.0
2
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>
7
8 .SUFFIXES:
9 SHELL   = @SHELL@
10
11 srcdir = @srcdir@
12 top_srcdir = @top_srcdir@
13 VPATH = @srcdir@
14
15 #------------------------------------------------
16 #  Configuration parameters
17 #------------------------------------------------
18 # emacs you use
19 EMACS   = emacs
20 # emacs lisp installation directory
21 lispdir = @lispdir@
22 #------------------------------------------------
23
24 prefix  = @prefix@
25 INSTALL = @INSTALL@
26 INSTALL_PROGRAM = @INSTALL_PROGRAM@
27 INSTALL_SCRIPT = @INSTALL_SCRIPT@
28 INSTALL_DATA = @INSTALL_DATA@
29 INSTALL_INFO = install-info
30
31 #---------------------------------------
32 # (1) make
33 #       ;; compile *.el files
34 # (2) make install
35 #       ;; install files into the emacs site-lisp directory
36 #       ;; ex. /usr/local/share/emacs/site-lisp/egg
37
38 DEPS    = -l $(top_srcdir)/docomp.el -l $(top_srcdir)/jisx0213.el
39 BATCHFLAGS      = -batch -q -no-site-file -no-init-file
40
41 ETCS    = Makefile docomp.el \
42         AUTHORS ChangeLog README TODO PROBLEMS
43
44 INITELS = eggrc leim-list.el
45
46 SRCS    = ${TOPSRCS} ${EGGSRCS} ${ITSSRCS}
47
48 TOPSRCS = \
49         egg.el \
50         egg-edep.el \
51         egg-com.el \
52         egg-cnv.el \
53         egg-util.el \
54         egg-mlh.el \
55         egg-sim.el \
56         menudiag.el \
57         its.el \
58         its-keydef.el \
59
60 #
61 EGGSRCS = \
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
66
67 #
68 ITSSRCS = \
69         its/ascii.el \
70         its/aynu.el \
71         its/bixing.el \
72         its/erpin.el \
73         its/hankata.el \
74         its/hira.el \
75         its/jeonkak.el \
76         its/pinyin.el \
77         its/hangul.el \
78         its/kata.el \
79         its/thai.el \
80         its/quanjiao.el \
81         its/zenkaku.el \
82         its/zhuyin.el \
83
84 #
85 ELCS    = ${SRCS:.el=.elc}
86
87 TOPELCS = ${TOPSRCS:.el=.elc}
88
89 EGGELCS = ${EGGSRCS:.el=.elc}
90
91 ITSELCS = ${ITSSRCS:.el=.elc}
92
93 DIST    = ${ETCS} ${SRCS} ${INITELS}
94
95 all: ${ELCS}
96
97 .SUFFIXES: .el .elc
98
99 .el.elc:
100         ${EMACS} ${BATCHFLAGS} ${DEPS} -f batch-byte-compile $<
101
102 clean: 
103         rm -f ${ELCS} *~ */*~ \#* .\#* */\#* */.\#*
104
105 distclean: 
106         rm -f ${ELCS} config.* Makefile 
107
108 install: install-site
109
110 install-site: all
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/*;  \
115         else \
116           echo "Make the directory ${lispdir}/egg..."; \
117           mkdir ${lispdir}/egg; \
118         fi; \
119 #
120         for FILE in ${TOPSRCS} ${TOPELCS} ${INITELS}; \
121           do  \
122             ${INSTALL_DATA}  $${FILE} ${lispdir}/egg/; \
123           done; \
124 #
125         mkdir ${lispdir}/egg/egg ; \
126         for FILE in ${EGGSRCS} ${EGGELCS} ; \
127           do  \
128             ${INSTALL_DATA}  $${FILE} ${lispdir}/egg/egg; \
129           done; \
130 #
131         mkdir ${lispdir}/egg/its ; \
132         for FILE in ${ITSSRCS} ${ITSELCS} ; \
133           do  \
134             ${INSTALL_DATA}  $${FILE} ${lispdir}/egg/its ; \
135           done; \
136
137
138 uninstall-site:
139         if [ -d ${lispdir}/egg ]; then \
140           rm -rf ${lispdir}/egg; \
141         fi
142
143 # DEPENDENCIES
144 egg/sj3rpc.elc: egg-com.elc egg/sj3.elc
145 egg/wnnrpc.elc: egg-com.elc egg/wnn.elc
146
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
151
152