-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile.in
150 lines (120 loc) · 3.06 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
# Makefile --- Makefile of EGG V4.0
# Copyright (C) 1999, 2000 Free Software Foundation, Inc
# Author: NIIBE Yutaka <[email protected]>
# TOMURA Satoru <[email protected]>
# Maintaner: Satoru Tomura <[email protected]>
.SUFFIXES:
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
EMACS = @EMACS@
lispdir = @lispdir@
prefix = @prefix@
datarootdir = @datarootdir@
datadir = @datadir@
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 \
#
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/pinyin.el \
its/hangul.el \
its/kata.el \
its/thai.el \
its/quanjiao.el \
its/zenkaku.el \
its/zhuyin.el \
${AYNU}
#
ELCS = ${SRCS:.el=.elc}
TOPELCS = ${TOPSRCS:.el=.elc}
EGGELCS = ${EGGSRCS:.el=.elc}
ITSELCS = ${ITSSRCS:.el=.elc}
DIST = ${ETCS} ${SRCS} ${INITELS}
all: ${ELCS}
.SUFFIXES: .el .elc
.el.elc:
${EMACS} ${BATCHFLAGS} ${DEPS} -f batch-byte-compile $<
clean:
rm -f ${ELCS} *~ */*~ \#* .\#* */\#* */.\#*
distclean:
rm -f ${ELCS} config.* Makefile
install: install-site
install-site: all
echo "Egg system will be installed in ${lispdir}/egg...."; \
if [ -d ${lispdir}/egg ]; then \
echo "Clean up the previsous installation...."; \
rm -rf ${lispdir}/egg/*; \
else \
echo "Make the directory ${lispdir}/egg..."; \
mkdir ${lispdir}/egg; \
fi; \
#
for FILE in ${TOPSRCS} ${TOPELCS} ${INITELS}; \
do \
${INSTALL_DATA} $${FILE} ${lispdir}/egg/; \
done; \
#
mkdir ${lispdir}/egg/egg ; \
for FILE in ${EGGSRCS} ${EGGELCS} ; \
do \
${INSTALL_DATA} $${FILE} ${lispdir}/egg/egg; \
done; \
touch ${lispdir}/egg/egg/.nosearch; \
#
mkdir ${lispdir}/egg/its ; \
for FILE in ${ITSSRCS} ${ITSELCS} ; \
do \
${INSTALL_DATA} $${FILE} ${lispdir}/egg/its ; \
done; \
touch ${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