ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
Revision: 1.170
Committed: Fri Sep 21 22:55:56 2012 UTC (11 years, 8 months ago) by root
Branch: MAIN
Changes since 1.169: +14 -5 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 DATE = @DATE@
2 VERSION = @VERSION@
3 RXVTNAME = @RXVTNAME@
4 SHELL = /bin/sh
5 prefix = @prefix@
6 exec_prefix = @exec_prefix@
7 bindir = @bindir@
8 libdir = @libdir@
9 man1dir = @mandir@/man1
10 man1ext = 1
11 CXX = @CXX@
12 PERL = @PERL@
13 INSTALL = @INSTALL@
14 INSTALL_PROGRAM = @INSTALL@ -m 755
15 INSTALL_DATA = @INSTALL@ -m 644
16 CXXFLAGS = @CXXFLAGS@
17 CPPFLAGS = @CPPFLAGS@
18 LDFLAGS = @LDFLAGS@
19 DEFS = @DEFS@
20 LIBS = @LIBS@
21 XINC = @X_CFLAGS@ @PIXBUF_CFLAGS@ @STARTUP_NOTIFICATION_CFLAGS@
22 XLIB = @X_LIBS@ -lX11 @X_EXTRA_LIBS@ @PIXBUF_LIBS@ @STARTUP_NOTIFICATION_LIBS@
23 COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev -I$(srcdir)/../libptytty/src $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(XINC)
24 LINK = @LINKER@ $(LDFLAGS)
25 EXEEXT = @EXEEXT@
26 PERLFLAGS = @PERLFLAGS@
27 PERLLIB = @PERLLIB@
28
29 srcdir = @srcdir@
30 VPATH = @srcdir@
31
32 first_rule: all
33 dummy:
34
35 COMMON = \
36 background.o command.o rxvtfont.o init.o main.o misc.o \
37 screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
38 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
39 rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \
40 ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@
41
42 COMMON_DAEMON = rxvtdaemon.o
43
44 RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT)
45 RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT)
46 RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT)
47
48 #
49 # Distribution variables
50 #
51
52 .SUFFIXES: .C .c .o
53
54 #-------------------------------------------------------------------------
55 # inference rules
56 .C.o:
57 $(COMPILE) -c $<
58
59 #-------------------------------------------------------------------------
60
61 all: allbin
62
63 rxvt: rxvt.o $(COMMON)
64 $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) $(PERLLIB)
65
66 rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON)
67 $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB)
68
69 rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o
70 $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(LIBS)
71
72 #-------------------------------------------------------------------------
73
74 #EXUBERANT_OPTS = -I NOTHROW -I THROW
75
76 tags: *.[Ch]
77 ctags $(EXUBERANT_OPTS) *.[Ch]
78
79 TAGS: *.[Ch]
80 etags $(EXUBERANT_OPTS) *.[Ch]
81
82 allbin: rxvt rxvtd rxvtc
83
84 alldoc:
85
86 clean:
87 rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C mantmp
88 rm -f *.o
89
90 distclean: clean
91 rm -f Makefile
92
93 realclean: distclean
94 rm -f tags TAGS
95
96 cleandir: realclean
97
98 install-perl:
99 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)
100 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt
101 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl
102 @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm
103 @IF_PERL@ cd $(srcdir)/perl; for ext in *; do \
104 @IF_PERL@ test -f "$$ext" || continue; \
105 @IF_PERL@ $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \
106 @IF_PERL@ < "$$ext" \
107 @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "abc", quotes => q<"> , center => q<RXVT-UNICODE>)->parse_from_file' \
108 @IF_PERL@ > ../mantmp; \
109 @IF_PERL@ test -s ../mantmp && $(INSTALL_DATA) ../mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$ext.$(man1ext); \
110 @IF_PERL@ done
111
112 install-bin: allbin
113 $(INSTALL) -d $(DESTDIR)$(bindir)
114 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
115 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
116 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
117
118 install: install-bin install-perl
119
120 perlxsi.c: Makefile
121 $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
122
123 rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom
124 PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@
125
126 rxvtperl.o: rxvtperl.C perlxsi.c
127 $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
128
129 depend:
130 makedepend -f Makefile.in -I. -I.. -I../libptytty/src -I../libev -Y *.C *.xs >/dev/null 2>&1
131
132 # DO NOT DELETE: nice dependency list follows
133
134 background.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
135 background.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
136 background.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
137 background.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
138 background.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
139 background.o: optinc.h
140 command.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
141 command.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
142 command.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
143 command.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
144 command.o: rxvtperl.h hookinc.h rsinc.h optinc.h version.h command.h
145 command.o: keyboard.h
146 encoding.o: ../config.h encoding.h rxvtutil.h ../libptytty/src/ecb.h
147 encoding.o: ../libptytty/src/estl.h emman.h table/iso8859_1.h
148 encoding.o: table/iso8859_15.h table/iso8859_2.h table/iso8859_3.h
149 encoding.o: table/iso8859_4.h table/iso8859_5.h table/iso8859_6.h
150 encoding.o: table/iso8859_7.h table/iso8859_8.h table/iso8859_9.h
151 encoding.o: table/iso8859_10.h table/iso8859_11.h table/iso8859_13.h
152 encoding.o: table/iso8859_14.h table/iso8859_16.h table/koi8_r.h
153 encoding.o: table/koi8_u.h table/ksc5601_1987_0.h table/big5.h table/gbk_0.h
154 encoding.o: table/gb2312_1980_0.h table/cns11643_1992_1.h
155 encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h
156 encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h
157 encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h
158 encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
159 encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
160 encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
161 encoding.o: table/compose.h table/category.h
162 ev_cpp.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h ../libev/ev.c
163 ev_cpp.o: ../libev/ev_vars.h ../libev/ev_epoll.c ../libev/ev_select.c
164 fdpass_wrapper.o: ../libptytty/src/fdpass.C ../config.h
165 fdpass_wrapper.o: ../libptytty/src/libptytty.h
166 init.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
167 init.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h
168 init.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h
169 init.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
170 init.o: hookinc.h rsinc.h optinc.h init.h keyboard.h
171 keyboard.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
172 keyboard.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
173 keyboard.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
174 keyboard.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
175 keyboard.o: rxvtperl.h hookinc.h rsinc.h optinc.h keyboard.h
176 main.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
177 main.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h
178 main.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h
179 main.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
180 main.o: hookinc.h rsinc.h optinc.h init.h keyboard.h
181 misc.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
182 misc.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h
183 misc.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h
184 misc.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
185 misc.o: hookinc.h rsinc.h optinc.h
186 ptytty_wrapper.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h
187 ptytty_wrapper.o: encoding.h rxvtutil.h ../libptytty/src/estl.h emman.h
188 ptytty_wrapper.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
189 ptytty_wrapper.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
190 ptytty_wrapper.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
191 ptytty_wrapper.o: optinc.h ../libptytty/src/logging.C
192 ptytty_wrapper.o: ../libptytty/src/ptytty.h ../libptytty/src/ptytty_conf.h
193 ptytty_wrapper.o: ../libptytty/src/proxy.C ../libptytty/src/ptytty.C
194 rxvt.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
195 rxvt.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h
196 rxvt.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h
197 rxvt.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
198 rxvt.o: hookinc.h rsinc.h optinc.h
199 rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h ../libptytty/src/ecb.h
200 rxvtc.o: ../libptytty/src/estl.h emman.h ../libptytty/src/libptytty.h
201 rxvtd.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
202 rxvtd.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h
203 rxvtd.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h
204 rxvtd.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
205 rxvtd.o: hookinc.h rsinc.h optinc.h rxvtdaemon.h
206 rxvtdaemon.o: rxvtdaemon.h rxvtutil.h ../libptytty/src/ecb.h
207 rxvtdaemon.o: ../libptytty/src/estl.h emman.h
208 rxvtfont.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
209 rxvtfont.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
210 rxvtfont.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
211 rxvtfont.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
212 rxvtfont.o: rxvtperl.h hookinc.h rsinc.h optinc.h table/linedraw.h
213 rxvtimg.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
214 rxvtimg.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
215 rxvtimg.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
216 rxvtimg.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
217 rxvtimg.o: rxvtperl.h hookinc.h rsinc.h optinc.h
218 rxvtperl.o: ../config.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
219 rxvtperl.o: rxvt.h feature.h ../libptytty/src/ecb.h encoding.h rxvtutil.h
220 rxvtperl.o: ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h
221 rxvtperl.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
222 rxvtperl.o: rxvtperl.h hookinc.h rsinc.h optinc.h keyboard.h perlxsi.c
223 rxvtperl.o: iom_perl.h
224 rxvttoolkit.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
225 rxvttoolkit.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
226 rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
227 rxvttoolkit.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
228 rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
229 rxvttoolkit.o: optinc.h
230 rxvtutil.o: rxvtutil.h ../libptytty/src/ecb.h ../libptytty/src/estl.h emman.h
231 rxvtutil.o: emman.c
232 screen.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
233 screen.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h
234 screen.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h
235 screen.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
236 screen.o: hookinc.h rsinc.h optinc.h
237 scrollbar-next.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h
238 scrollbar-next.o: encoding.h rxvtutil.h ../libptytty/src/estl.h emman.h
239 scrollbar-next.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
240 scrollbar-next.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h
241 scrollbar-next.o: scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
242 scrollbar-next.o: hookinc.h rsinc.h optinc.h
243 scrollbar-plain.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h
244 scrollbar-plain.o: encoding.h rxvtutil.h ../libptytty/src/estl.h emman.h
245 scrollbar-plain.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
246 scrollbar-plain.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h
247 scrollbar-plain.o: scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
248 scrollbar-plain.o: hookinc.h rsinc.h optinc.h
249 scrollbar-rxvt.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h
250 scrollbar-rxvt.o: encoding.h rxvtutil.h ../libptytty/src/estl.h emman.h
251 scrollbar-rxvt.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
252 scrollbar-rxvt.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h
253 scrollbar-rxvt.o: scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
254 scrollbar-rxvt.o: hookinc.h rsinc.h optinc.h
255 scrollbar-xterm.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h
256 scrollbar-xterm.o: encoding.h rxvtutil.h ../libptytty/src/estl.h emman.h
257 scrollbar-xterm.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
258 scrollbar-xterm.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h
259 scrollbar-xterm.o: scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
260 scrollbar-xterm.o: hookinc.h rsinc.h optinc.h
261 scrollbar.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
262 scrollbar.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
263 scrollbar.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
264 scrollbar.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
265 scrollbar.o: rxvtperl.h hookinc.h rsinc.h optinc.h
266 xdefaults.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
267 xdefaults.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
268 xdefaults.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
269 xdefaults.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
270 xdefaults.o: rxvtperl.h hookinc.h rsinc.h optinc.h version.h keyboard.h
271 rxvtperl.o: ../config.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
272 rxvtperl.o: rxvt.h feature.h ../libptytty/src/ecb.h encoding.h rxvtutil.h
273 rxvtperl.o: ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h
274 rxvtperl.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
275 rxvtperl.o: rxvtperl.h hookinc.h rsinc.h optinc.h keyboard.h perlxsi.c
276 rxvtperl.o: iom_perl.h