ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
Revision: 1.30
Committed: Mon Jan 2 15:35:43 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
Changes since 1.29: +24 -9 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: allbin alldoc
98 $(MKDIR) $(DESTDIR)$(bindir)
99 $(RMF) $(RXVT_BINNAME)
100 $(RMF) $(RXVTC_BINNAME)
101 $(RMF) $(RXVTD_BINNAME)
102 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
103 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
104 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
105
106 perlxsi.c: Makefile
107 $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
108
109 rxvtperl.C: rxvtperl.xs typemap
110 $(PERL) @PERLARCHLIB@/ExtUtils/xsubpp -C++ -typemap @PERLARCHLIB@/ExtUtils/typemap -typemap typemap -prototypes $< >$@
111
112 rxvtperl.o: rxvtperl.C perlxsi.c
113 $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
114
115 depend:
116 makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1
117 makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1
118
119 # DO NOT DELETE: nice dependency list follows
120
121 command.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
122 command.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
123 command.o: salloc.h menubar.h rxvtperl.h version.h command.h keyboard.h
124 encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
125 encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h
126 encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h
127 encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h
128 encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h
129 encoding.o: table/iso8859_16.h table/koi8_r.h table/koi8_u.h
130 encoding.o: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h
131 encoding.o: table/gb2312_1980_0.h table/cns11643_1992_1.h
132 encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h
133 encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h
134 encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h
135 encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
136 encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
137 encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
138 encoding.o: table/compose.h table/category.h
139 fdpass.o: ../config.h fdpass.h
140 init.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
141 init.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
142 init.o: menubar.h init.h
143 iom.o: iom.h iom_conf.h rxvtutil.h callback.h
144 keyboard.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
145 keyboard.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
146 keyboard.o: salloc.h menubar.h keyboard.h command.h
147 logging.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
148 logging.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
149 logging.o: salloc.h menubar.h logging.h
150 main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
151 main.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
152 main.o: menubar.h keyboard.h rxvtperl.h
153 menubar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
154 menubar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
155 menubar.o: salloc.h menubar.h version.h
156 misc.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
157 misc.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
158 misc.o: menubar.h
159 netdisp.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
160 netdisp.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
161 netdisp.o: salloc.h menubar.h
162 ptytty.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
163 ptytty.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
164 ptytty.o: salloc.h menubar.h
165 rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
166 rxvt.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
167 rxvt.o: menubar.h
168 rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h fdpass.h rxvt.h rxvtlib.h
169 rxvtc.o: ptytty.h feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h
170 rxvtc.o: iom_conf.h callback.h salloc.h menubar.h
171 rxvtd.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
172 rxvtd.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
173 rxvtd.o: salloc.h menubar.h rxvtdaemon.h fdpass.h
174 rxvtdaemon.o: rxvtdaemon.h rxvtutil.h
175 rxvtfont.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
176 rxvtfont.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
177 rxvtfont.o: salloc.h menubar.h table/linedraw.h
178 rxvtperl.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
179 rxvtperl.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
180 rxvtperl.o: salloc.h menubar.h rxvtperl.h perlxsi.c
181 rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
182 rxvttoolkit.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
183 rxvttoolkit.o: callback.h salloc.h menubar.h
184 rxvtutil.o: rxvtutil.h
185 salloc.o: salloc.h
186 screen.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
187 screen.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
188 screen.o: salloc.h menubar.h rxvtperl.h salloc.C
189 scrollbar-next.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
190 scrollbar-next.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
191 scrollbar-next.o: callback.h salloc.h menubar.h
192 scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
193 scrollbar-plain.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
194 scrollbar-plain.o: callback.h salloc.h menubar.h
195 scrollbar-rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
196 scrollbar-rxvt.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
197 scrollbar-rxvt.o: callback.h salloc.h menubar.h
198 scrollbar-xterm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
199 scrollbar-xterm.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
200 scrollbar-xterm.o: callback.h salloc.h menubar.h
201 scrollbar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
202 scrollbar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
203 scrollbar.o: salloc.h menubar.h
204 strings.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
205 strings.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
206 strings.o: salloc.h menubar.h
207 xdefaults.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
208 xdefaults.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
209 xdefaults.o: salloc.h menubar.h version.h keyboard.h
210 xpm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
211 xpm.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
212 xpm.o: menubar.h
213
214 command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
215 command.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
216 command.lo: salloc.h menubar.h rxvtperl.h version.h command.h keyboard.h
217 encoding.lo: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
218 encoding.lo: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h
219 encoding.lo: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h
220 encoding.lo: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h
221 encoding.lo: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h
222 encoding.lo: table/iso8859_16.h table/koi8_r.h table/koi8_u.h
223 encoding.lo: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h
224 encoding.lo: table/gb2312_1980_0.h table/cns11643_1992_1.h
225 encoding.lo: table/cns11643_1992_2.h table/cns11643_1992_3.h
226 encoding.lo: table/cns11643_1992_4.h table/cns11643_1992_5.h
227 encoding.lo: table/cns11643_1992_6.h table/cns11643_1992_7.h
228 encoding.lo: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
229 encoding.lo: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
230 encoding.lo: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
231 encoding.lo: table/compose.h table/category.h
232 fdpass.lo: ../config.h fdpass.h
233 init.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
234 init.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
235 init.lo: salloc.h menubar.h init.h
236 iom.lo: iom.h iom_conf.h rxvtutil.h callback.h
237 keyboard.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
238 keyboard.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
239 keyboard.lo: salloc.h menubar.h keyboard.h command.h
240 logging.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
241 logging.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
242 logging.lo: salloc.h menubar.h logging.h
243 main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
244 main.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
245 main.lo: salloc.h menubar.h keyboard.h rxvtperl.h
246 menubar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
247 menubar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
248 menubar.lo: salloc.h menubar.h version.h
249 misc.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
250 misc.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
251 misc.lo: salloc.h menubar.h
252 netdisp.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
253 netdisp.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
254 netdisp.lo: salloc.h menubar.h
255 ptytty.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
256 ptytty.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
257 ptytty.lo: salloc.h menubar.h
258 rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
259 rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
260 rxvt.lo: salloc.h menubar.h
261 rxvtc.lo: ../config.h rxvtdaemon.h rxvtutil.h fdpass.h rxvt.h rxvtlib.h
262 rxvtc.lo: ptytty.h feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h
263 rxvtc.lo: iom_conf.h callback.h salloc.h menubar.h
264 rxvtd.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
265 rxvtd.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
266 rxvtd.lo: salloc.h menubar.h rxvtdaemon.h fdpass.h
267 rxvtdaemon.lo: rxvtdaemon.h rxvtutil.h
268 rxvtfont.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
269 rxvtfont.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
270 rxvtfont.lo: salloc.h menubar.h table/linedraw.h
271 rxvtperl.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
272 rxvtperl.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
273 rxvtperl.lo: salloc.h menubar.h rxvtperl.h perlxsi.c
274 rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
275 rxvttoolkit.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
276 rxvttoolkit.lo: callback.h salloc.h menubar.h
277 rxvtutil.lo: rxvtutil.h
278 salloc.lo: salloc.h
279 screen.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
280 screen.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
281 screen.lo: salloc.h menubar.h rxvtperl.h salloc.C
282 scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
283 scrollbar-next.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
284 scrollbar-next.lo: callback.h salloc.h menubar.h
285 scrollbar-plain.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h
286 scrollbar-plain.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h
287 scrollbar-plain.lo: iom_conf.h callback.h salloc.h menubar.h
288 scrollbar-rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
289 scrollbar-rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
290 scrollbar-rxvt.lo: callback.h salloc.h menubar.h
291 scrollbar-xterm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h
292 scrollbar-xterm.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h
293 scrollbar-xterm.lo: iom_conf.h callback.h salloc.h menubar.h
294 scrollbar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
295 scrollbar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
296 scrollbar.lo: salloc.h menubar.h
297 strings.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
298 strings.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
299 strings.lo: salloc.h menubar.h
300 xdefaults.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
301 xdefaults.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
302 xdefaults.lo: salloc.h menubar.h version.h keyboard.h
303 xpm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
304 xpm.lo: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
305 xpm.lo: menubar.h