-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
165 lines (133 loc) · 3.61 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# Makefile --- Makefile of Tamago-tsunagi
# Copyright (C) 1999, 2000, 2015 Free Software Foundation, Inc
# 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
# 2015 ARAI Shun-ichi <hermes@ceres.dti.ne.jp>
# Author: NIIBE Yutaka <gniibe@chroot.org>
# TOMURA Satoru <tomura@etl.go.jp>
.SUFFIXES:
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
#------------------------------------------------
# Configuration parameters
#------------------------------------------------
# emacs you use
EMACS = emacs
# emacs lisp installation directory
lispdir = @lispdir@
#------------------------------------------------
prefix = @prefix@
datarootdir= @datarootdir@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_INFO = install-info
#---------------------------------------
# (1) make
# ;; compile *.el files
# (2) make install
# ;; install files into the emacs site-lisp directory
# ;; ex. /usr/local/share/emacs/site-lisp/egg
DEPS = -l $(top_srcdir)/docomp.el
BATCHFLAGS = -batch -q -no-site-file -no-init-file
ETCS = Makefile docomp.el \
AUTHORS ChangeLog README TODO PROBLEMS
INITELS = eggrc leim-list.el
SRCS = ${TOPSRCS} ${EGGSRCS} ${ITSSRCS}
TOPSRCS = \
egg.el \
egg-edep.el \
egg-com.el \
egg-cnv.el \
egg-mlh.el \
egg-sim.el \
menudiag.el \
its.el \
its-keydef.el \
leim-list.el \
#
EGGSRCS = \
egg/cannarpc.el egg/canna.el \
egg/sj3rpc.el egg/sj3.el \
egg/wnnrpc.el egg/wnn.el \
egg/anthyipc.el egg/anthy.el
#
AYNU = @HAVE_JISX0213@ its/aynu.el
ITSSRCS = \
its/ascii.el \
its/bixing.el \
its/erpin.el \
its/greek.el \
its/hankata.el \
its/hira.el \
its/jeonkak.el \
its/greek.el \
its/pinyin.el \
its/hangul.el \
its/kata.el \
its/thai.el \
its/quanjiao.el \
its/zenkaku.el \
its/zhuyin.el \
its/jiskana.el \
${AYNU}
#
ELCS = ${SRCS:.el=.elc}
TOPELCS = ${TOPSRCS:.el=.elc}
EGGELCS = ${EGGSRCS:.el=.elc}
ITSELCS = ${ITSSRCS:.el=.elc}
DIST = ${ETCS} ${SRCS} ${INITELS}
ETAGS = etags
all: ${ELCS}
.SUFFIXES: .el .elc
.el.elc:
${EMACS} ${BATCHFLAGS} ${DEPS} -f batch-byte-compile $<
clean:
rm -f ${ELCS} *~ */*~ \#* .\#* */\#* */.\#* TAGS
tags:
${ETAGS} *.el egg/*.el its/*.el helper/*.c
distclean: clean
rm -f ${ELCS} config.* Makefile
rm -rf autom4te.cache/
install: install-site
install-site: all
echo "Egg system will be installed in ${lispdir}/egg...."; \
if [ -d ${DESTDIR}${lispdir}/egg ]; then \
echo "Clean up the previsous installation...."; \
rm -rf ${DESTDIR}${lispdir}/egg/*; \
else \
echo "Make the directory ${lispdir}/egg..."; \
mkdir -p ${DESTDIR}${lispdir}/egg; \
fi; \
#
for FILE in ${TOPSRCS} ${TOPELCS} ${INITELS}; \
do \
${INSTALL_DATA} $${FILE} ${DESTDIR}${lispdir}/egg/; \
done; \
#
mkdir -p ${DESTDIR}${lispdir}/egg/egg ; \
for FILE in ${EGGSRCS} ${EGGELCS} ; \
do \
${INSTALL_DATA} $${FILE} ${DESTDIR}${lispdir}/egg/egg; \
done; \
touch ${DESTDIR}${lispdir}/egg/egg/.nosearch; \
#
mkdir -p ${DESTDIR}${lispdir}/egg/its ; \
for FILE in ${ITSSRCS} ${ITSELCS} ; \
do \
${INSTALL_DATA} $${FILE} ${DESTDIR}${lispdir}/egg/its ; \
done; \
touch ${DESTDIR}${lispdir}/egg/its/.nosearch; \
uninstall-site:
if [ -d ${lispdir}/egg ]; then \
rm -rf ${lispdir}/egg; \
fi
# DEPENDENCIES
egg/sj3rpc.elc: egg-com.elc egg/sj3.elc
egg/wnnrpc.elc: egg-com.elc egg/wnn.elc
egg.elc its/ascii.elc its/aynu.elc its/erpin.elc its/greek.elc \
its/hankata.elc its/hira.elc its/jeonkak.elc its/pinyin.elc \
its/hangul.elc its/kata.elc its/quanjiao.elc \
its/zenkaku.elc its/zhuyin.elc: its-keydef.elc