ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
Revision: 1.189
Committed: Thu May 13 19:40:19 2021 UTC (3 years ago) by sf-exg
Branch: MAIN
CVS Tags: rxvt-unicode-rel-9_26, rxvt-unicode-rel-9_25
Changes since 1.188: +2 -4 lines
Log Message:
Require C++11

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