… | |
… | |
8 | libdir = @libdir@ |
8 | libdir = @libdir@ |
9 | includedir = @includedir@ |
9 | includedir = @includedir@ |
10 | CC = @CC@ |
10 | CC = @CC@ |
11 | CXX = @CXX@ |
11 | CXX = @CXX@ |
12 | CPP = @CPP@ |
12 | CPP = @CPP@ |
13 | MV = @MV@ |
|
|
14 | CP = @CP@ |
|
|
15 | LN = @LN@ |
|
|
16 | SED = @SED@ |
|
|
17 | ECHO = @ECHO@ |
|
|
18 | PERL = @PERL@ |
13 | PERL = @PERL@ |
19 | INSTALL = @INSTALL@ |
14 | INSTALL = @INSTALL@ |
20 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
15 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
21 | INSTALL_DATA = @INSTALL@ -m 644 |
16 | INSTALL_DATA = @INSTALL@ -m 644 |
22 | CXXFLAGS = @CXXFLAGS@ |
17 | CXXFLAGS = @CXXFLAGS@ |
23 | CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@ |
18 | CPPFLAGS = @CPPFLAGS@ |
24 | LDFLAGS = @LDFLAGS@ |
19 | LDFLAGS = @LDFLAGS@ |
25 | DEFS = @DEFS@ |
20 | DEFS = @DEFS@ |
26 | LIBS = @LIBS@ |
21 | LIBS = @LIBS@ |
27 | DINCLUDE = @DINCLUDE@ |
|
|
28 | DLIB = @DLIB@ |
|
|
29 | XINC = @X_CFLAGS@ @XPM_CFLAGS@ @LIBAFTERIMAGE_CFLAGS@ |
22 | XINC = @X_CFLAGS@ @AFTERIMAGE_CFLAGS@ |
30 | XLIB = @X_LIBS@ @XPM_LIBS@ @AFTERIMAGE_LIBS@ -lX11 @X_EXTRA_LIBS@ |
23 | XLIB = @X_LIBS@ @AFTERIMAGE_LIBS@ -lX11 @X_EXTRA_LIBS@ |
31 | COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I.. -I$(srcdir) -I. |
24 | COMPILE = $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(XINC) -I.. -I$(srcdir) -I. |
32 | LINK = @LINKER@ $(LDFLAGS) |
25 | LINK = @LINKER@ $(LDFLAGS) |
33 | |
26 | |
34 | srcdir = @srcdir@ |
27 | srcdir = @srcdir@ |
35 | VPATH = @srcdir@ |
28 | VPATH = @srcdir@ |
36 | |
29 | |
… | |
… | |
38 | |
31 | |
39 | first_rule: all |
32 | first_rule: all |
40 | dummy: |
33 | dummy: |
41 | |
34 | |
42 | COMMON = \ |
35 | COMMON = \ |
43 | command.o rxvtfont.o init.o logging.o main.o misc.o netdisp.o \ |
36 | background.o command.o rxvtfont.o init.o logging.o main.o misc.o \ |
44 | ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ |
37 | ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ |
45 | scrollbar-xterm.o scrollbar-plain.o xdefaults.o xpm.o encoding.o \ |
38 | scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ |
46 | rxvttoolkit.o rxvtutil.o iom.o keyboard.o fdpass.o @PERL_O@ |
39 | rxvttoolkit.o rxvtutil.o iom.o keyboard.o fdpass.o @PERL_O@ |
47 | |
40 | |
48 | COMMON_DAEMON = rxvtdaemon.o |
41 | COMMON_DAEMON = rxvtdaemon.o |
49 | |
42 | |
50 | RXVT_BASENAME=`$(ECHO) $(RXVTNAME)|$(SED) 's/$(EXEEXT)$$//'|$(SED) '$(transform)'` |
43 | RXVT_BASENAME=`echo $(RXVTNAME)|sed 's/$(EXEEXT)$$//'|sed '$(transform)'` |
51 | RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT) |
44 | RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT) |
52 | RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT) |
45 | RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT) |
53 | RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT) |
46 | RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT) |
54 | |
47 | |
55 | # |
48 | # |
… | |
… | |
75 | #------------------------------------------------------------------------- |
68 | #------------------------------------------------------------------------- |
76 | |
69 | |
77 | all: allbin |
70 | all: allbin |
78 | |
71 | |
79 | rxvt: rxvt.o $(COMMON) |
72 | rxvt: rxvt.o $(COMMON) |
80 | $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) $(DLIB) @PERLLIB@ |
73 | $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) @PERLLIB@ |
81 | # $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ |
74 | # $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) -o $@ |
82 | |
75 | |
83 | rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) |
76 | rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) |
84 | $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(DLIB) @PERLLIB@ |
77 | $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) @PERLLIB@ |
85 | # $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ |
78 | # $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) -o $@ |
86 | |
79 | |
87 | rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o |
80 | rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o |
88 | $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass.o $(LIBS) $(DLIB) |
81 | $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass.o $(LIBS) |
89 | # $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@ |
82 | # $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) -o $@ |
90 | |
83 | |
91 | #librxvt.la: $(LIBOBJS) |
84 | #librxvt.la: $(LIBOBJS) |
92 | # $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@ |
85 | # $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@ |
93 | |
86 | |
94 | #------------------------------------------------------------------------- |
87 | #------------------------------------------------------------------------- |
95 | |
88 | |
|
|
89 | #EXUBERANT_OPTS = -I NOTHROW |
|
|
90 | |
96 | tags: *.[Ch] |
91 | tags: *.[Ch] |
97 | ctags *.[Ch] |
92 | ctags $(EXUBERANT_OPTS) *.[Ch] |
98 | |
93 | |
99 | TAGS: *.[Ch] |
94 | TAGS: *.[Ch] |
100 | etags *.[Ch] |
95 | etags $(EXUBERANT_OPTS) *.[Ch] |
101 | |
96 | |
102 | allbin: rxvt rxvtd rxvtc |
97 | allbin: rxvt rxvtd rxvtc |
103 | |
98 | |
104 | alldoc: |
99 | alldoc: |
105 | |
100 | |
… | |
… | |
180 | main.o: rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h callback.h |
175 | main.o: rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h callback.h |
181 | main.o: salloc.h rxvtperl.h hookinc.h rsinc.h keyboard.h |
176 | main.o: salloc.h rxvtperl.h hookinc.h rsinc.h keyboard.h |
182 | misc.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h |
177 | misc.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h |
183 | misc.o: rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h callback.h |
178 | misc.o: rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h callback.h |
184 | misc.o: salloc.h rxvtperl.h hookinc.h rsinc.h |
179 | misc.o: salloc.h rxvtperl.h hookinc.h rsinc.h |
185 | netdisp.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
|
|
186 | netdisp.o: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
|
|
187 | netdisp.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
|
|
188 | proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h |
180 | proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h |
189 | proxy.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h |
181 | proxy.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h |
190 | proxy.o: iom.h iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
182 | proxy.o: iom.h iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
191 | ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h |
183 | ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h |
192 | ptytty.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h |
184 | ptytty.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h |
… | |
… | |
237 | scrollbar.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
229 | scrollbar.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
238 | xdefaults.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
230 | xdefaults.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
239 | xdefaults.o: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
231 | xdefaults.o: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
240 | xdefaults.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h version.h |
232 | xdefaults.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h version.h |
241 | xdefaults.o: keyboard.h |
233 | xdefaults.o: keyboard.h |
242 | xpm.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h |
234 | background.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h |
243 | xpm.o: rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h callback.h |
235 | background.o: rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h callback.h |
244 | xpm.o: salloc.h rxvtperl.h hookinc.h rsinc.h |
236 | background.o: salloc.h rxvtperl.h hookinc.h rsinc.h background.h |
245 | |
237 | |
246 | command.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
238 | command.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
247 | command.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
239 | command.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
248 | command.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h version.h |
240 | command.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h version.h |
249 | command.lo: command.h keyboard.h |
241 | command.lo: command.h keyboard.h |
… | |
… | |
278 | main.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
270 | main.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
279 | main.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h keyboard.h |
271 | main.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h keyboard.h |
280 | misc.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
272 | misc.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
281 | misc.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
273 | misc.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
282 | misc.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
274 | misc.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
283 | netdisp.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
|
|
284 | netdisp.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h |
|
|
285 | netdisp.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
|
|
286 | proxy.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h |
275 | proxy.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h |
287 | proxy.lo: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h |
276 | proxy.lo: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h |
288 | proxy.lo: iom.h iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
277 | proxy.lo: iom.h iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
289 | ptytty.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h |
278 | ptytty.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h |
290 | ptytty.lo: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h |
279 | ptytty.lo: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h |
… | |
… | |
336 | scrollbar.lo: libptytty.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
325 | scrollbar.lo: libptytty.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
337 | xdefaults.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
326 | xdefaults.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
338 | xdefaults.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h |
327 | xdefaults.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h |
339 | xdefaults.lo: libptytty.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
328 | xdefaults.lo: libptytty.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h |
340 | xdefaults.lo: version.h keyboard.h |
329 | xdefaults.lo: version.h keyboard.h |
341 | xpm.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h |
330 | background.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h |
342 | xpm.lo: rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h callback.h |
331 | background.lo: rxvtfont.h rxvttoolkit.h iom.h iom_conf.h libptytty.h callback.h |
343 | xpm.lo: salloc.h rxvtperl.h hookinc.h rsinc.h |
332 | background.lo: salloc.h rxvtperl.h hookinc.h rsinc.h background.h |