… | |
… | |
20 | |
20 | |
21 | first_rule: all |
21 | first_rule: all |
22 | dummy: |
22 | dummy: |
23 | |
23 | |
24 | COMMON = \ |
24 | COMMON = \ |
25 | command.o rxvtfont.o init.o logging.o \ |
25 | command.o rxvtfont.o init.o logging.o @PERL_O@ \ |
26 | main.o menubar.o misc.o netdisp.o ptytty.o screen.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 \ |
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 |
28 | strings.o xdefaults.o xpm.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o |
29 | |
29 | |
30 | COMMON_DAEMON = rxvtdaemon.o fdpass.o |
30 | COMMON_DAEMON = rxvtdaemon.o fdpass.o |
… | |
… | |
58 | #------------------------------------------------------------------------- |
58 | #------------------------------------------------------------------------- |
59 | |
59 | |
60 | all: allbin |
60 | all: allbin |
61 | |
61 | |
62 | rxvt: rxvt.o $(COMMON) |
62 | rxvt: rxvt.o $(COMMON) |
63 | $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) |
63 | $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@ |
64 | # $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ |
64 | # $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ |
65 | |
65 | |
66 | rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) |
66 | rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) |
67 | $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) |
67 | $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@ |
68 | # $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ |
68 | # $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ |
69 | |
69 | |
70 | rxvtc: rxvtc.o $(COMMON_DAEMON) |
70 | rxvtc: rxvtc.o $(COMMON_DAEMON) |
71 | $(LINK) -o $@ $^ $(LIBS) $(DLIB) |
71 | $(LINK) -o $@ $^ $(LIBS) $(DLIB) |
72 | # $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@ |
72 | # $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@ |
… | |
… | |
92 | cleandir: realclean |
92 | cleandir: realclean |
93 | |
93 | |
94 | distclean: realclean |
94 | distclean: realclean |
95 | (cd $(srcdir); $(RMF) Makefile) |
95 | (cd $(srcdir); $(RMF) Makefile) |
96 | |
96 | |
|
|
97 | install-perl: |
|
|
98 | @IF_PERL@ $(MKDIR) $(DESTDIR)$(libdir) |
|
|
99 | @IF_PERL@ $(MKDIR) $(DESTDIR)$(libdir)/urxvt |
|
|
100 | @IF_PERL@ $(MKDIR) $(DESTDIR)$(libdir)/urxvt/perl-ext |
|
|
101 | @IF_PERL@ $(INSTALL_DATA) urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm |
|
|
102 | @IF_PERL@ for ext in perl-ext/*; do $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/"$$ext"; done |
|
|
103 | |
97 | install: allbin alldoc |
104 | install: allbin alldoc install-perl |
98 | $(MKDIR) $(DESTDIR)$(bindir) |
105 | $(MKDIR) $(DESTDIR)$(bindir) |
99 | $(RMF) $(RXVT_BINNAME) |
106 | $(RMF) $(RXVT_BINNAME) |
100 | $(RMF) $(RXVTC_BINNAME) |
107 | $(RMF) $(RXVTC_BINNAME) |
101 | $(RMF) $(RXVTD_BINNAME) |
108 | $(RMF) $(RXVTD_BINNAME) |
102 | $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
109 | $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
103 | $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
110 | $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
104 | $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) |
111 | $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) |
105 | |
112 | |
|
|
113 | perlxsi.c: Makefile |
|
|
114 | $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt |
|
|
115 | |
|
|
116 | rxvtperl.C: rxvtperl.xs typemap |
|
|
117 | $(PERL) @PERLARCHLIB@/ExtUtils/xsubpp -C++ -typemap @PERLARCHLIB@/ExtUtils/typemap -typemap typemap -prototypes $< >$@ |
|
|
118 | |
|
|
119 | rxvtperl.o: rxvtperl.C perlxsi.c |
|
|
120 | $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $< |
|
|
121 | |
106 | depend: |
122 | depend: |
107 | makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1 |
123 | makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1 |
108 | makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1 |
124 | makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1 |
109 | |
125 | |
110 | # DO NOT DELETE: nice dependency list follows |
126 | # DO NOT DELETE: nice dependency list follows |
111 | |
127 | |
112 | command.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
128 | command.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
113 | command.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
129 | command.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
114 | command.o: salloc.h menubar.h version.h command.h keyboard.h |
130 | command.o: salloc.h menubar.h rxvtperl.h version.h command.h keyboard.h |
115 | encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h |
131 | encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h |
116 | encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h |
132 | encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h |
117 | encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h |
133 | encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h |
118 | encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h |
134 | encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h |
119 | encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h |
135 | encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h |
… | |
… | |
138 | logging.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
154 | logging.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
139 | logging.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
155 | logging.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
140 | logging.o: salloc.h menubar.h logging.h |
156 | logging.o: salloc.h menubar.h logging.h |
141 | main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
157 | main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
142 | main.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
158 | main.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
143 | main.o: menubar.h keyboard.h |
159 | main.o: menubar.h keyboard.h rxvtperl.h |
144 | menubar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
160 | menubar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
145 | menubar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
161 | menubar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
146 | menubar.o: salloc.h menubar.h version.h |
162 | menubar.o: salloc.h menubar.h version.h |
147 | misc.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
163 | misc.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h |
148 | misc.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
164 | misc.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
… | |
… | |
164 | rxvtd.o: salloc.h menubar.h rxvtdaemon.h fdpass.h |
180 | rxvtd.o: salloc.h menubar.h rxvtdaemon.h fdpass.h |
165 | rxvtdaemon.o: rxvtdaemon.h rxvtutil.h |
181 | rxvtdaemon.o: rxvtdaemon.h rxvtutil.h |
166 | rxvtfont.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
182 | rxvtfont.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
167 | rxvtfont.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
183 | rxvtfont.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
168 | rxvtfont.o: salloc.h menubar.h table/linedraw.h |
184 | rxvtfont.o: salloc.h menubar.h table/linedraw.h |
|
|
185 | rxvtperl.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
|
|
186 | rxvtperl.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
|
|
187 | rxvtperl.o: salloc.h menubar.h rxvtperl.h perlxsi.c |
169 | rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
188 | rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
170 | rxvttoolkit.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
189 | rxvttoolkit.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
171 | rxvttoolkit.o: callback.h salloc.h menubar.h |
190 | rxvttoolkit.o: callback.h salloc.h menubar.h |
172 | rxvtutil.o: rxvtutil.h |
191 | rxvtutil.o: rxvtutil.h |
173 | salloc.o: salloc.h |
192 | salloc.o: salloc.h |
174 | screen.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
193 | screen.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
175 | screen.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
194 | screen.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
176 | screen.o: salloc.h menubar.h salloc.C |
195 | screen.o: salloc.h menubar.h rxvtperl.h salloc.C |
177 | scrollbar-next.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
196 | scrollbar-next.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
178 | scrollbar-next.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
197 | scrollbar-next.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
179 | scrollbar-next.o: callback.h salloc.h menubar.h |
198 | scrollbar-next.o: callback.h salloc.h menubar.h |
180 | scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
199 | scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
181 | scrollbar-plain.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
200 | scrollbar-plain.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
… | |
… | |
199 | xpm.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
218 | xpm.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h |
200 | xpm.o: menubar.h |
219 | xpm.o: menubar.h |
201 | |
220 | |
202 | command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
221 | command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
203 | command.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
222 | command.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
204 | command.lo: salloc.h menubar.h version.h command.h keyboard.h |
223 | command.lo: salloc.h menubar.h rxvtperl.h version.h command.h keyboard.h |
205 | encoding.lo: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h |
224 | encoding.lo: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h |
206 | encoding.lo: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h |
225 | encoding.lo: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h |
207 | encoding.lo: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h |
226 | encoding.lo: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h |
208 | encoding.lo: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h |
227 | encoding.lo: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h |
209 | encoding.lo: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h |
228 | encoding.lo: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h |
… | |
… | |
228 | logging.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
247 | logging.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
229 | logging.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
248 | logging.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
230 | logging.lo: salloc.h menubar.h logging.h |
249 | logging.lo: salloc.h menubar.h logging.h |
231 | main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
250 | main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
232 | main.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
251 | main.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
233 | main.lo: salloc.h menubar.h keyboard.h |
252 | main.lo: salloc.h menubar.h keyboard.h rxvtperl.h |
234 | menubar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
253 | menubar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
235 | menubar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
254 | menubar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
236 | menubar.lo: salloc.h menubar.h version.h |
255 | menubar.lo: salloc.h menubar.h version.h |
237 | misc.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
256 | misc.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
238 | misc.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
257 | misc.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
… | |
… | |
254 | rxvtd.lo: salloc.h menubar.h rxvtdaemon.h fdpass.h |
273 | rxvtd.lo: salloc.h menubar.h rxvtdaemon.h fdpass.h |
255 | rxvtdaemon.lo: rxvtdaemon.h rxvtutil.h |
274 | rxvtdaemon.lo: rxvtdaemon.h rxvtutil.h |
256 | rxvtfont.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
275 | rxvtfont.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
257 | rxvtfont.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
276 | rxvtfont.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
258 | rxvtfont.lo: salloc.h menubar.h table/linedraw.h |
277 | rxvtfont.lo: salloc.h menubar.h table/linedraw.h |
|
|
278 | rxvtperl.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
|
|
279 | rxvtperl.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
|
|
280 | rxvtperl.lo: salloc.h menubar.h rxvtperl.h perlxsi.c |
259 | rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
281 | rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
260 | rxvttoolkit.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
282 | rxvttoolkit.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
261 | rxvttoolkit.lo: callback.h salloc.h menubar.h |
283 | rxvttoolkit.lo: callback.h salloc.h menubar.h |
262 | rxvtutil.lo: rxvtutil.h |
284 | rxvtutil.lo: rxvtutil.h |
263 | salloc.lo: salloc.h |
285 | salloc.lo: salloc.h |
264 | screen.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
286 | screen.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
265 | screen.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
287 | screen.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h |
266 | screen.lo: salloc.h menubar.h salloc.C |
288 | screen.lo: salloc.h menubar.h rxvtperl.h salloc.C |
267 | scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
289 | scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h |
268 | scrollbar-next.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
290 | scrollbar-next.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h |
269 | scrollbar-next.lo: callback.h salloc.h menubar.h |
291 | scrollbar-next.lo: callback.h salloc.h menubar.h |
270 | scrollbar-plain.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h |
292 | scrollbar-plain.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h |
271 | scrollbar-plain.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h |
293 | scrollbar-plain.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h |