ChangeLog cleanup
[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-mlh.el \
54         egg-sim.el \
55         egg-x0213.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/greek.el \
74         its/hankata.el \
75         its/hira.el \
76         its/jeonkak.el \
77         its/pinyin.el \
78         its/hangul.el \
79         its/kata.el \
80         its/thai.el \
81         its/quanjiao.el \
82         its/zenkaku.el \
83         its/zhuyin.el \
84
85 #
86 ELCS    = ${SRCS:.el=.elc}
87
88 TOPELCS = ${TOPSRCS:.el=.elc}
89
90 EGGELCS = ${EGGSRCS:.el=.elc}
91
92 ITSELCS = ${ITSSRCS:.el=.elc}
93
94 DIST    = ${ETCS} ${SRCS} ${INITELS}
95
96 all: ${ELCS}
97
98 .SUFFIXES: .el .elc
99
100 .el.elc:
101         ${EMACS} ${BATCHFLAGS} ${DEPS} -f batch-byte-compile $<
102
103 clean: 
104         rm -f ${ELCS} *~ */*~ \#* .\#* */\#* */.\#*
105
106 distclean: 
107         rm -f ${ELCS} config.* Makefile 
108
109 install: install-site
110
111 install-site: all
112         echo "Egg system will be installed in ${lispdir}/egg...."; \
113         if [ -d ${lispdir}/egg ]; then \
114           echo "Clean up the previsous installation...."; \
115           rm -rf ${lispdir}/egg/*;  \
116         else \
117           echo "Make the directory ${lispdir}/egg..."; \
118           mkdir ${lispdir}/egg; \
119         fi; \
120 #
121         for FILE in ${TOPSRCS} ${TOPELCS} ${INITELS}; \
122           do  \
123             ${INSTALL_DATA}  $${FILE} ${lispdir}/egg/; \
124           done; \
125 #
126         mkdir ${lispdir}/egg/egg ; \
127         for FILE in ${EGGSRCS} ${EGGELCS} ; \
128           do  \
129             ${INSTALL_DATA}  $${FILE} ${lispdir}/egg/egg; \
130           done; \
131 #
132         mkdir ${lispdir}/egg/its ; \
133         for FILE in ${ITSSRCS} ${ITSELCS} ; \
134           do  \
135             ${INSTALL_DATA}  $${FILE} ${lispdir}/egg/its ; \
136           done; \
137
138
139 uninstall-site:
140         if [ -d ${lispdir}/egg ]; then \
141           rm -rf ${lispdir}/egg; \
142         fi
143
144 # DEPENDENCIES
145 egg/sj3rpc.elc: egg-com.elc egg/sj3.elc
146 egg/wnnrpc.elc: egg-com.elc egg/wnn.elc
147
148 egg.elc its/ascii.elc its/aynu.elc its/erpin.elc its/greek.elc \
149 its/hankata.elc its/hira.elc its/jeonkak.elc its/pinyin.elc \
150 its/hangul.elc its/kata.elc its/quanjiao.elc \
151 its/zenkaku.elc its/zhuyin.elc: its-keydef.elc