6 exec_prefix = @exec_prefix@
9 includedir = @includedir@
15 INSTALL_PROGRAM = @INSTALL@ -m 755
16 INSTALL_DATA = @INSTALL@ -m 644
22 XINC = @X_CFLAGS@ @AFTERIMAGE_CFLAGS@
23 XLIB = @X_LIBS@ @AFTERIMAGE_LIBS@ -lX11 @X_EXTRA_LIBS@
24 COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(XINC)
25 LINK = @LINKER@ $(LDFLAGS)
34 background.o command.o rxvtfont.o init.o logging.o main.o misc.o \
35 ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
36 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
37 rxvttoolkit.o rxvtutil.o keyboard.o \
38 fdpass.o ev_cpp.o @PERL_O@
40 COMMON_DAEMON = rxvtdaemon.o
42 RXVT_BASENAME=`echo $(RXVTNAME)|sed 's/$(EXEEXT)$$//'|sed '$(transform)'`
43 RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT)
44 RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT)
45 RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT)
48 # Distribution variables
53 #-------------------------------------------------------------------------
58 #-------------------------------------------------------------------------
62 rxvt: rxvt.o $(COMMON)
63 $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) @PERLLIB@
65 rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON)
66 $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) @PERLLIB@
68 rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o ev_cpp.o
69 $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass.o ev_cpp.o $(LIBS)
71 #-------------------------------------------------------------------------
73 #EXUBERANT_OPTS = -I NOTHROW
76 ctags $(EXUBERANT_OPTS) *.[Ch]
79 etags $(EXUBERANT_OPTS) *.[Ch]
81 allbin: rxvt rxvtd rxvtc
86 rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C
98 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)
99 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt
100 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl
101 @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm
102 @IF_PERL@ for ext in $(srcdir)/perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/"`basename "$$ext"`"; done
105 $(INSTALL) -d $(DESTDIR)$(bindir)
106 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
107 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
108 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
110 install: install-bin install-perl
113 $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
115 rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom
116 PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@
118 rxvtperl.o: rxvtperl.C perlxsi.c
119 $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
122 makedepend -f Makefile.in -I. -I.. -I../libev -Y *.C >/dev/null 2>&1
124 # DO NOT DELETE: nice dependency list follows
126 background.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
127 background.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
128 background.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
129 background.o: background.h rsinc.h optinc.h
130 command.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
131 command.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
132 command.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
133 command.o: rsinc.h optinc.h version.h command.h keyboard.h
134 encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
135 encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h
136 encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h
137 encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h
138 encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h
139 encoding.o: table/iso8859_16.h table/koi8_r.h table/koi8_u.h
140 encoding.o: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h
141 encoding.o: table/gb2312_1980_0.h table/cns11643_1992_1.h
142 encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h
143 encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h
144 encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h
145 encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
146 encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
147 encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
148 encoding.o: table/compose.h table/category.h
149 ev_cpp.o: ev_cpp.h ../libev/ev++.h ../libev/ev.h ../libev/ev.c ../config.h
150 ev_cpp.o: ../libev/ev_vars.h ../libev/ev_epoll.c ../libev/ev_select.c
151 fdpass.o: ../config.h libptytty.h
152 init.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
153 init.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
154 init.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
155 init.o: rsinc.h optinc.h init.h keyboard.h
156 keyboard.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
157 keyboard.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
158 keyboard.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
159 keyboard.o: background.h rsinc.h optinc.h keyboard.h command.h
160 logging.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h feature.h
161 logging.o: encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h
162 logging.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h
163 logging.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
164 main.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
165 main.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
166 main.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
167 main.o: rsinc.h optinc.h keyboard.h
168 misc.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
169 misc.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
170 misc.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
171 misc.o: rsinc.h optinc.h
172 proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h feature.h
173 proxy.o: encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h
174 proxy.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h
175 proxy.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
176 ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h feature.h
177 ptytty.o: encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h
178 ptytty.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h
179 ptytty.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
180 rxvt.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
181 rxvt.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
182 rxvt.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
183 rxvt.o: rsinc.h optinc.h
184 rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h libptytty.h rxvt.h feature.h
185 rxvtc.o: encoding.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
186 rxvtc.o: ../libev/ev.h callback.h scrollbar.h salloc.h rxvtperl.h hookinc.h
187 rxvtc.o: background.h rsinc.h optinc.h
188 rxvtd.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
189 rxvtd.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
190 rxvtd.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
191 rxvtd.o: rsinc.h optinc.h rxvtdaemon.h
192 rxvtdaemon.o: rxvtdaemon.h rxvtutil.h
193 rxvtfont.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
194 rxvtfont.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
195 rxvtfont.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
196 rxvtfont.o: background.h rsinc.h optinc.h table/linedraw.h
197 rxvtperl.o: ../config.h ev_cpp.h ../libev/ev++.h ../libev/ev.h rxvt.h
198 rxvtperl.o: feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h
199 rxvtperl.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
200 rxvtperl.o: background.h rsinc.h optinc.h keyboard.h perlxsi.c iom_perl.h
201 rxvttoolkit.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
202 rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h
203 rxvttoolkit.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h
204 rxvttoolkit.o: hookinc.h background.h rsinc.h optinc.h
205 rxvtutil.o: rxvtutil.h
207 screen.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
208 screen.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
209 screen.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
210 screen.o: rsinc.h optinc.h salloc.C
211 scrollbar-next.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h
212 scrollbar-next.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
213 scrollbar-next.o: ../libev/ev.h callback.h scrollbar.h salloc.h libptytty.h
214 scrollbar-next.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
215 scrollbar-plain.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h
216 scrollbar-plain.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
217 scrollbar-plain.o: ../libev/ev.h callback.h scrollbar.h salloc.h libptytty.h
218 scrollbar-plain.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
219 scrollbar-rxvt.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h
220 scrollbar-rxvt.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
221 scrollbar-rxvt.o: ../libev/ev.h callback.h scrollbar.h salloc.h libptytty.h
222 scrollbar-rxvt.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
223 scrollbar-xterm.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h
224 scrollbar-xterm.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
225 scrollbar-xterm.o: ../libev/ev.h callback.h scrollbar.h salloc.h libptytty.h
226 scrollbar-xterm.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
227 scrollbar.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
228 scrollbar.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
229 scrollbar.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
230 scrollbar.o: background.h rsinc.h optinc.h
231 xdefaults.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
232 xdefaults.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h
233 xdefaults.o: scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
234 xdefaults.o: background.h rsinc.h optinc.h version.h keyboard.h