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