ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
Revision: 1.186
Committed: Mon May 10 00:47:35 2021 UTC (3 years ago) by root
Branch: MAIN
Changes since 1.185: +4 -0 lines
Log Message:
preliminary rclock build support

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