1 |
@MCOMMON@ |
2 |
|
3 |
LINT = lint -DNARROWPROTO=1 $(XINC) -chapbxz |
4 |
|
5 |
srcdir = @srcdir@ |
6 |
VPATH = @srcdir@ |
7 |
.PATH: @srcdir@ |
8 |
|
9 |
top_builddir = .. |
10 |
basedir = .. |
11 |
thisdir = src |
12 |
MKDIR = @top_srcdir@/autoconf/mkinstalldirs |
13 |
|
14 |
# for developers: the following debug options may be used |
15 |
# -DDEBUG_CMD -DDEBUG_MAIN -DDEBUG_MENU -DDEBUG_MENUARROWS |
16 |
# -DDEBUG_MENUBAR_STACKING -DDEBUG_MENU_LAYOUT -DDEBUG_RESOURCES |
17 |
# -DDEBUG_SEARCH_PATH -DDEBUG_SIZE -DDEBUG_TTY -DDEBUG_TTYMODE |
18 |
# -DDEBUG_KEYBOARD |
19 |
DEBUG=-DDEBUG_STRICT @DEBUG@ |
20 |
|
21 |
first_rule: all |
22 |
dummy: |
23 |
|
24 |
COMMON = \ |
25 |
command.o rxvtfont.o init.o logging.o \ |
26 |
main.o menubar.o misc.o netdisp.o ptytty.o screen.o \ |
27 |
scrollbar.o scrollbar-next.o scrollbar-rxvt.o scrollbar-xterm.o scrollbar-plain.o \ |
28 |
strings.o xdefaults.o xpm.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o |
29 |
|
30 |
RXVT_BASENAME=`$(ECHO) $(RXVTNAME)|$(SED) 's/$(EXEEXT)$$//'|$(SED) '$(transform)'` |
31 |
RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT) |
32 |
RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT) |
33 |
RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT) |
34 |
RXVT_OLDNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)-old$(EXEEXT) |
35 |
|
36 |
# |
37 |
# Distribution variables |
38 |
# |
39 |
|
40 |
.SUFFIXES: .C .o |
41 |
|
42 |
#------------------------------------------------------------------------- |
43 |
# inference rules |
44 |
.C.o: |
45 |
$(COMPILE) -c $< |
46 |
|
47 |
#.C.lo: |
48 |
# $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
49 |
# |
50 |
#.s.lo: |
51 |
# $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
52 |
# |
53 |
#.S.lo: |
54 |
# $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
55 |
|
56 |
#------------------------------------------------------------------------- |
57 |
|
58 |
all: allbin |
59 |
|
60 |
rxvt: rxvt.o $(COMMON) |
61 |
$(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) |
62 |
# $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ |
63 |
|
64 |
rxvtd: rxvtd.o rxvtdaemon.o $(COMMON) |
65 |
$(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) |
66 |
# $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ |
67 |
|
68 |
rxvtc: rxvtc.o rxvtdaemon.o |
69 |
$(LINK) -o $@ $^ $(LIBS) $(DLIB) |
70 |
# $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@ |
71 |
|
72 |
#librxvt.la: $(LIBOBJS) |
73 |
# $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@ |
74 |
|
75 |
#------------------------------------------------------------------------- |
76 |
|
77 |
tags: |
78 |
ctags *.h *.C |
79 |
|
80 |
allbin: rxvt rxvtd rxvtc |
81 |
|
82 |
alldoc: |
83 |
|
84 |
clean: |
85 |
$(RMF) rxvt rxvtc rxvtd core a.out *.o *.lo *.bak *~ *.intpro .libs/* librxvt.la tmpproto *.tmp |
86 |
|
87 |
realclean: clean |
88 |
$(RMF) tags librxvt.h |
89 |
|
90 |
cleandir: realclean |
91 |
|
92 |
distclean: realclean |
93 |
(cd $(srcdir); $(RMF) Makefile) |
94 |
|
95 |
install: allbin alldoc |
96 |
$(MKDIR) $(DESTDIR)$(bindir) |
97 |
$(RMF) $(RXVT_BINNAME) |
98 |
$(RMF) $(RXVTC_BINNAME) |
99 |
$(RMF) $(RXVTD_BINNAME) |
100 |
$(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
101 |
$(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
102 |
$(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) |
103 |
|
104 |
distdirs: |
105 |
mkdir $(basedir)/../$(VERNAME)/$(thisdir) |
106 |
|
107 |
distcopy: $(INTPROS) |
108 |
$(CP) -p $(DIST) $(basedir)/../$(VERNAME)/$(thisdir) |
109 |
|
110 |
depend: |
111 |
makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1 |
112 |
makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1 |
113 |
|
114 |
# DO NOT DELETE: nice dependency list follows |
115 |
|
116 |
command.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
117 |
command.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
118 |
command.o: salloc.h menubar.h version.h command.h keyboard.h |
119 |
encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h |
120 |
encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h |
121 |
encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h |
122 |
encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h |
123 |
encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h |
124 |
encoding.o: table/iso8859_16.h table/koi8_r.h table/koi8_u.h |
125 |
encoding.o: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h |
126 |
encoding.o: table/gb2312_1980_0.h table/cns11643_1992_1.h |
127 |
encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h |
128 |
encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h |
129 |
encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h |
130 |
encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h |
131 |
encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h |
132 |
encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h |
133 |
encoding.o: table/compose.h table/category.h |
134 |
init.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
135 |
init.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
136 |
init.o: menubar.h init.h |
137 |
iom.o: iom.h iom_conf.h rxvtutil.h callback.h |
138 |
keyboard.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
139 |
keyboard.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
140 |
keyboard.o: salloc.h menubar.h keyboard.h command.h |
141 |
logging.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
142 |
logging.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
143 |
logging.o: salloc.h menubar.h logging.h |
144 |
main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
145 |
main.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
146 |
main.o: menubar.h keyboard.h |
147 |
menubar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
148 |
menubar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
149 |
menubar.o: salloc.h menubar.h version.h |
150 |
misc.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
151 |
misc.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
152 |
misc.o: menubar.h |
153 |
netdisp.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
154 |
netdisp.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
155 |
netdisp.o: salloc.h menubar.h |
156 |
ptytty.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
157 |
ptytty.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
158 |
ptytty.o: salloc.h menubar.h |
159 |
rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
160 |
rxvt.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
161 |
rxvt.o: menubar.h |
162 |
rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h rxvt.h rxvtlib.h ptytty.h |
163 |
rxvtc.o: feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h |
164 |
rxvtc.o: callback.h salloc.h menubar.h |
165 |
rxvtd.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
166 |
rxvtd.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
167 |
rxvtd.o: salloc.h menubar.h rxvtdaemon.h |
168 |
rxvtdaemon.o: rxvtdaemon.h rxvtutil.h |
169 |
rxvtfont.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
170 |
rxvtfont.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
171 |
rxvtfont.o: salloc.h menubar.h table/linedraw.h |
172 |
rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
173 |
rxvttoolkit.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
174 |
rxvttoolkit.o: callback.h salloc.h menubar.h |
175 |
rxvtutil.o: rxvtutil.h |
176 |
salloc.o: salloc.h |
177 |
screen.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
178 |
screen.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
179 |
screen.o: salloc.h menubar.h salloc.C |
180 |
scrollbar-next.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
181 |
scrollbar-next.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
182 |
scrollbar-next.o: callback.h salloc.h menubar.h |
183 |
scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
184 |
scrollbar-plain.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
185 |
scrollbar-plain.o: callback.h salloc.h menubar.h |
186 |
scrollbar-rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
187 |
scrollbar-rxvt.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
188 |
scrollbar-rxvt.o: callback.h salloc.h menubar.h |
189 |
scrollbar-xterm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
190 |
scrollbar-xterm.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
191 |
scrollbar-xterm.o: callback.h salloc.h menubar.h |
192 |
scrollbar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
193 |
scrollbar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
194 |
scrollbar.o: salloc.h menubar.h |
195 |
strings.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
196 |
strings.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
197 |
strings.o: salloc.h menubar.h |
198 |
xdefaults.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
199 |
xdefaults.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
200 |
xdefaults.o: salloc.h menubar.h version.h keyboard.h |
201 |
xpm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
202 |
xpm.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
203 |
xpm.o: menubar.h |
204 |
|
205 |
command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
206 |
command.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
207 |
command.lo: salloc.h menubar.h version.h command.h keyboard.h |
208 |
encoding.lo: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h |
209 |
encoding.lo: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h |
210 |
encoding.lo: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h |
211 |
encoding.lo: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h |
212 |
encoding.lo: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h |
213 |
encoding.lo: table/iso8859_16.h table/koi8_r.h table/koi8_u.h |
214 |
encoding.lo: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h |
215 |
encoding.lo: table/gb2312_1980_0.h table/cns11643_1992_1.h |
216 |
encoding.lo: table/cns11643_1992_2.h table/cns11643_1992_3.h |
217 |
encoding.lo: table/cns11643_1992_4.h table/cns11643_1992_5.h |
218 |
encoding.lo: table/cns11643_1992_6.h table/cns11643_1992_7.h |
219 |
encoding.lo: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h |
220 |
encoding.lo: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h |
221 |
encoding.lo: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h |
222 |
encoding.lo: table/compose.h table/category.h |
223 |
init.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
224 |
init.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
225 |
init.lo: salloc.h menubar.h init.h |
226 |
iom.lo: iom.h iom_conf.h rxvtutil.h callback.h |
227 |
keyboard.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
228 |
keyboard.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
229 |
keyboard.lo: salloc.h menubar.h keyboard.h command.h |
230 |
logging.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
231 |
logging.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
232 |
logging.lo: salloc.h menubar.h logging.h |
233 |
main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
234 |
main.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
235 |
main.lo: salloc.h menubar.h keyboard.h |
236 |
menubar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
237 |
menubar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
238 |
menubar.lo: salloc.h menubar.h version.h |
239 |
misc.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
240 |
misc.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
241 |
misc.lo: salloc.h menubar.h |
242 |
netdisp.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
243 |
netdisp.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
244 |
netdisp.lo: salloc.h menubar.h |
245 |
ptytty.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
246 |
ptytty.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
247 |
ptytty.lo: salloc.h menubar.h |
248 |
rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
249 |
rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
250 |
rxvt.lo: salloc.h menubar.h |
251 |
rxvtc.lo: ../config.h rxvtdaemon.h rxvtutil.h rxvt.h rxvtlib.h ptytty.h |
252 |
rxvtc.lo: feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h |
253 |
rxvtc.lo: callback.h salloc.h menubar.h |
254 |
rxvtd.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
255 |
rxvtd.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
256 |
rxvtd.lo: salloc.h menubar.h rxvtdaemon.h |
257 |
rxvtdaemon.lo: rxvtdaemon.h rxvtutil.h |
258 |
rxvtfont.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
259 |
rxvtfont.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
260 |
rxvtfont.lo: salloc.h menubar.h table/linedraw.h |
261 |
rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
262 |
rxvttoolkit.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
263 |
rxvttoolkit.lo: callback.h salloc.h menubar.h |
264 |
rxvtutil.lo: rxvtutil.h |
265 |
salloc.lo: salloc.h |
266 |
screen.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
267 |
screen.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
268 |
screen.lo: salloc.h menubar.h salloc.C |
269 |
scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
270 |
scrollbar-next.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
271 |
scrollbar-next.lo: callback.h salloc.h menubar.h |
272 |
scrollbar-plain.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h |
273 |
scrollbar-plain.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h |
274 |
scrollbar-plain.lo: iom_conf.h callback.h salloc.h menubar.h |
275 |
scrollbar-rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
276 |
scrollbar-rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
277 |
scrollbar-rxvt.lo: callback.h salloc.h menubar.h |
278 |
scrollbar-xterm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h |
279 |
scrollbar-xterm.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h |
280 |
scrollbar-xterm.lo: iom_conf.h callback.h salloc.h menubar.h |
281 |
scrollbar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
282 |
scrollbar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
283 |
scrollbar.lo: salloc.h menubar.h |
284 |
strings.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
285 |
strings.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
286 |
strings.lo: salloc.h menubar.h |
287 |
xdefaults.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
288 |
xdefaults.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
289 |
xdefaults.lo: salloc.h menubar.h version.h keyboard.h |
290 |
xpm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
291 |
xpm.lo: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
292 |
xpm.lo: menubar.h |