ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
Revision: 1.31
Committed: Mon Jan 2 15:59:25 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
Changes since 1.30: +8 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
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 @PERL_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 COMMON_DAEMON = rxvtdaemon.o fdpass.o
31
32 RXVT_BASENAME=`$(ECHO) $(RXVTNAME)|$(SED) 's/$(EXEEXT)$$//'|$(SED) '$(transform)'`
33 RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT)
34 RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT)
35 RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT)
36 RXVT_OLDNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)-old$(EXEEXT)
37
38 #
39 # Distribution variables
40 #
41
42 .SUFFIXES: .C .o
43
44 #-------------------------------------------------------------------------
45 # inference rules
46 .C.o:
47 $(COMPILE) -c $<
48
49 #.C.lo:
50 # $(LIBTOOL) --mode=compile $(COMPILE) -c $<
51 #
52 #.s.lo:
53 # $(LIBTOOL) --mode=compile $(COMPILE) -c $<
54 #
55 #.S.lo:
56 # $(LIBTOOL) --mode=compile $(COMPILE) -c $<
57
58 #-------------------------------------------------------------------------
59
60 all: allbin
61
62 rxvt: rxvt.o $(COMMON)
63 $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@
64 # $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
65
66 rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON)
67 $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@
68 # $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
69
70 rxvtc: rxvtc.o $(COMMON_DAEMON)
71 $(LINK) -o $@ $^ $(LIBS) $(DLIB)
72 # $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@
73
74 #librxvt.la: $(LIBOBJS)
75 # $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@
76
77 #-------------------------------------------------------------------------
78
79 tags:
80 ctags *.h *.C
81
82 allbin: rxvt rxvtd rxvtc
83
84 alldoc:
85
86 clean:
87 $(RMF) rxvt rxvtc rxvtd core a.out *.o *.lo *.bak *~ *.intpro .libs/* librxvt.la tmpproto *.tmp
88
89 realclean: clean
90 $(RMF) tags librxvt.h
91
92 cleandir: realclean
93
94 distclean: realclean
95 (cd $(srcdir); $(RMF) Makefile)
96
97 install-perl:
98 @IF_PERL@ $(MKDIR) $(DESTDIR)$(libdir)
99 @IF_PERL@ $(MKDIR) $(DESTDIR)$(libdir)/urxvt
100 @IF_PERL@ $(MKDIR) $(DESTDIR)$(libdir)/urxvt/perl-ext
101 @IF_PERL@ $(INSTALL_DATA) urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm
102 @IF_PERL@ for ext in perl-ext/*; do $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/"$$ext"; done
103
104 install: allbin alldoc install-perl
105 $(MKDIR) $(DESTDIR)$(bindir)
106 $(RMF) $(RXVT_BINNAME)
107 $(RMF) $(RXVTC_BINNAME)
108 $(RMF) $(RXVTD_BINNAME)
109 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
110 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
111 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
112
113 perlxsi.c: Makefile
114 $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
115
116 rxvtperl.C: rxvtperl.xs typemap
117 $(PERL) @PERLARCHLIB@/ExtUtils/xsubpp -C++ -typemap @PERLARCHLIB@/ExtUtils/typemap -typemap typemap -prototypes $< >$@
118
119 rxvtperl.o: rxvtperl.C perlxsi.c
120 $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
121
122 depend:
123 makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1
124 makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1
125
126 # DO NOT DELETE: nice dependency list follows
127
128 command.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
129 command.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
130 command.o: salloc.h menubar.h rxvtperl.h version.h command.h keyboard.h
131 encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
132 encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h
133 encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h
134 encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h
135 encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h
136 encoding.o: table/iso8859_16.h table/koi8_r.h table/koi8_u.h
137 encoding.o: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h
138 encoding.o: table/gb2312_1980_0.h table/cns11643_1992_1.h
139 encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h
140 encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h
141 encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h
142 encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
143 encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
144 encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
145 encoding.o: table/compose.h table/category.h
146 fdpass.o: ../config.h fdpass.h
147 init.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
148 init.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
149 init.o: menubar.h init.h
150 iom.o: iom.h iom_conf.h rxvtutil.h callback.h
151 keyboard.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
152 keyboard.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
153 keyboard.o: salloc.h menubar.h keyboard.h command.h
154 logging.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
155 logging.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
156 logging.o: salloc.h menubar.h logging.h
157 main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
158 main.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
159 main.o: menubar.h keyboard.h rxvtperl.h
160 menubar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
161 menubar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
162 menubar.o: salloc.h menubar.h version.h
163 misc.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
164 misc.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
165 misc.o: menubar.h
166 netdisp.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
167 netdisp.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
168 netdisp.o: salloc.h menubar.h
169 ptytty.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
170 ptytty.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
171 ptytty.o: salloc.h menubar.h
172 rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
173 rxvt.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
174 rxvt.o: menubar.h
175 rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h fdpass.h rxvt.h rxvtlib.h
176 rxvtc.o: ptytty.h feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h
177 rxvtc.o: iom_conf.h callback.h salloc.h menubar.h
178 rxvtd.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
179 rxvtd.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
180 rxvtd.o: salloc.h menubar.h rxvtdaemon.h fdpass.h
181 rxvtdaemon.o: rxvtdaemon.h rxvtutil.h
182 rxvtfont.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
183 rxvtfont.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
184 rxvtfont.o: salloc.h menubar.h table/linedraw.h
185 rxvtperl.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
186 rxvtperl.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
187 rxvtperl.o: salloc.h menubar.h rxvtperl.h perlxsi.c
188 rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
189 rxvttoolkit.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
190 rxvttoolkit.o: callback.h salloc.h menubar.h
191 rxvtutil.o: rxvtutil.h
192 salloc.o: salloc.h
193 screen.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
194 screen.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
195 screen.o: salloc.h menubar.h rxvtperl.h salloc.C
196 scrollbar-next.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
197 scrollbar-next.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
198 scrollbar-next.o: callback.h salloc.h menubar.h
199 scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
200 scrollbar-plain.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
201 scrollbar-plain.o: callback.h salloc.h menubar.h
202 scrollbar-rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
203 scrollbar-rxvt.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
204 scrollbar-rxvt.o: callback.h salloc.h menubar.h
205 scrollbar-xterm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
206 scrollbar-xterm.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
207 scrollbar-xterm.o: callback.h salloc.h menubar.h
208 scrollbar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
209 scrollbar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
210 scrollbar.o: salloc.h menubar.h
211 strings.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
212 strings.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
213 strings.o: salloc.h menubar.h
214 xdefaults.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
215 xdefaults.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
216 xdefaults.o: salloc.h menubar.h version.h keyboard.h
217 xpm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
218 xpm.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
219 xpm.o: menubar.h
220
221 command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
222 command.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
223 command.lo: salloc.h menubar.h rxvtperl.h version.h command.h keyboard.h
224 encoding.lo: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
225 encoding.lo: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h
226 encoding.lo: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h
227 encoding.lo: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h
228 encoding.lo: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h
229 encoding.lo: table/iso8859_16.h table/koi8_r.h table/koi8_u.h
230 encoding.lo: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h
231 encoding.lo: table/gb2312_1980_0.h table/cns11643_1992_1.h
232 encoding.lo: table/cns11643_1992_2.h table/cns11643_1992_3.h
233 encoding.lo: table/cns11643_1992_4.h table/cns11643_1992_5.h
234 encoding.lo: table/cns11643_1992_6.h table/cns11643_1992_7.h
235 encoding.lo: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
236 encoding.lo: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
237 encoding.lo: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
238 encoding.lo: table/compose.h table/category.h
239 fdpass.lo: ../config.h fdpass.h
240 init.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
241 init.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
242 init.lo: salloc.h menubar.h init.h
243 iom.lo: iom.h iom_conf.h rxvtutil.h callback.h
244 keyboard.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
245 keyboard.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
246 keyboard.lo: salloc.h menubar.h keyboard.h command.h
247 logging.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
248 logging.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
249 logging.lo: salloc.h menubar.h logging.h
250 main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
251 main.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
252 main.lo: salloc.h menubar.h keyboard.h rxvtperl.h
253 menubar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
254 menubar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
255 menubar.lo: salloc.h menubar.h version.h
256 misc.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
257 misc.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
258 misc.lo: salloc.h menubar.h
259 netdisp.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
260 netdisp.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
261 netdisp.lo: salloc.h menubar.h
262 ptytty.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
263 ptytty.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
264 ptytty.lo: salloc.h menubar.h
265 rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
266 rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
267 rxvt.lo: salloc.h menubar.h
268 rxvtc.lo: ../config.h rxvtdaemon.h rxvtutil.h fdpass.h rxvt.h rxvtlib.h
269 rxvtc.lo: ptytty.h feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h
270 rxvtc.lo: iom_conf.h callback.h salloc.h menubar.h
271 rxvtd.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
272 rxvtd.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
273 rxvtd.lo: salloc.h menubar.h rxvtdaemon.h fdpass.h
274 rxvtdaemon.lo: rxvtdaemon.h rxvtutil.h
275 rxvtfont.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
276 rxvtfont.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
277 rxvtfont.lo: salloc.h menubar.h table/linedraw.h
278 rxvtperl.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
279 rxvtperl.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
280 rxvtperl.lo: salloc.h menubar.h rxvtperl.h perlxsi.c
281 rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
282 rxvttoolkit.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
283 rxvttoolkit.lo: callback.h salloc.h menubar.h
284 rxvtutil.lo: rxvtutil.h
285 salloc.lo: salloc.h
286 screen.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
287 screen.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
288 screen.lo: salloc.h menubar.h rxvtperl.h salloc.C
289 scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
290 scrollbar-next.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
291 scrollbar-next.lo: callback.h salloc.h menubar.h
292 scrollbar-plain.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h
293 scrollbar-plain.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h
294 scrollbar-plain.lo: iom_conf.h callback.h salloc.h menubar.h
295 scrollbar-rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
296 scrollbar-rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
297 scrollbar-rxvt.lo: callback.h salloc.h menubar.h
298 scrollbar-xterm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h
299 scrollbar-xterm.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h
300 scrollbar-xterm.lo: iom_conf.h callback.h salloc.h menubar.h
301 scrollbar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
302 scrollbar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
303 scrollbar.lo: salloc.h menubar.h
304 strings.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
305 strings.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
306 strings.lo: salloc.h menubar.h
307 xdefaults.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
308 xdefaults.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
309 xdefaults.lo: salloc.h menubar.h version.h keyboard.h
310 xpm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
311 xpm.lo: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
312 xpm.lo: menubar.h