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 |
includedir = @includedir@ |
10 |
CC = @CC@ |
11 |
CXX = @CXX@ |
12 |
CPP = @CPP@ |
13 |
PERL = @PERL@ |
14 |
INSTALL = @INSTALL@ |
15 |
INSTALL_PROGRAM = @INSTALL@ -m 755 |
16 |
INSTALL_DATA = @INSTALL@ -m 644 |
17 |
CXXFLAGS = @CXXFLAGS@ |
18 |
CPPFLAGS = @CPPFLAGS@ |
19 |
LDFLAGS = @LDFLAGS@ |
20 |
DEFS = @DEFS@ |
21 |
LIBS = @LIBS@ |
22 |
XINC = @X_CFLAGS@ @AFTERIMAGE_CFLAGS@ @PIXBUF_CFLAGS@ |
23 |
XLIB = @X_LIBS@ @AFTERIMAGE_LIBS@ -lX11 @X_EXTRA_LIBS@ @PIXBUF_LIBS@ |
24 |
COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev -I$(srcdir)/../libptytty/src -I$(srcdir)/../libecb $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(XINC) |
25 |
LINK = @LINKER@ $(LDFLAGS) |
26 |
EXEEXT = @EXEEXT@ |
27 |
PERLFLAGS = @PERLFLAGS@ |
28 |
PERLLIB = @PERLLIB@ |
29 |
|
30 |
srcdir = @srcdir@ |
31 |
VPATH = @srcdir@ |
32 |
|
33 |
first_rule: all |
34 |
dummy: |
35 |
|
36 |
COMMON = \ |
37 |
background.o command.o rxvtfont.o init.o main.o misc.o \ |
38 |
screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ |
39 |
scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ |
40 |
rxvttoolkit.o rxvtutil.o keyboard.o \ |
41 |
ev_cpp.o ptytty_wrapper.o @PERL_O@ |
42 |
|
43 |
COMMON_DAEMON = rxvtdaemon.o |
44 |
|
45 |
RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT) |
46 |
RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT) |
47 |
RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT) |
48 |
|
49 |
# |
50 |
# Distribution variables |
51 |
# |
52 |
|
53 |
.SUFFIXES: .C .c .o |
54 |
|
55 |
#------------------------------------------------------------------------- |
56 |
# inference rules |
57 |
.C.o: |
58 |
$(COMPILE) -c $< |
59 |
|
60 |
#------------------------------------------------------------------------- |
61 |
|
62 |
all: allbin |
63 |
|
64 |
rxvt: rxvt.o $(COMMON) |
65 |
$(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) $(PERLLIB) |
66 |
|
67 |
rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) |
68 |
$(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB) |
69 |
|
70 |
rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o |
71 |
$(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass.o $(LIBS) |
72 |
|
73 |
#------------------------------------------------------------------------- |
74 |
|
75 |
#EXUBERANT_OPTS = -I NOTHROW |
76 |
|
77 |
tags: *.[Ch] |
78 |
ctags $(EXUBERANT_OPTS) *.[Ch] |
79 |
|
80 |
TAGS: *.[Ch] |
81 |
etags $(EXUBERANT_OPTS) *.[Ch] |
82 |
|
83 |
allbin: rxvt rxvtd rxvtc |
84 |
|
85 |
alldoc: |
86 |
|
87 |
clean: |
88 |
rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C |
89 |
rm -f *.o |
90 |
|
91 |
distclean: clean |
92 |
rm -f Makefile |
93 |
|
94 |
realclean: distclean |
95 |
rm -f tags TAGS |
96 |
|
97 |
cleandir: realclean |
98 |
|
99 |
install-perl: |
100 |
@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir) |
101 |
@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt |
102 |
@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl |
103 |
@IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm |
104 |
@IF_PERL@ for ext in $(srcdir)/perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; done |
105 |
|
106 |
install-bin: allbin |
107 |
$(INSTALL) -d $(DESTDIR)$(bindir) |
108 |
$(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
109 |
$(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
110 |
$(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) |
111 |
|
112 |
install: install-bin install-perl |
113 |
|
114 |
perlxsi.c: Makefile |
115 |
$(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt |
116 |
|
117 |
rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom |
118 |
PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@ |
119 |
|
120 |
rxvtperl.o: rxvtperl.C perlxsi.c |
121 |
$(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< |
122 |
|
123 |
depend: |
124 |
makedepend -f Makefile.in -I. -I.. -I../libev -I../libptytty/src -Y *.C >/dev/null 2>&1 |
125 |
|
126 |
# DO NOT DELETE: nice dependency list follows |
127 |
|
128 |
background.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
129 |
background.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h |
130 |
background.o: ../libev/ev.h callback.h scrollbar.h salloc.h |
131 |
background.o: ../libptytty/src/libptytty.h rxvtperl.h rsinc.h optinc.h |
132 |
command.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
133 |
command.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
134 |
command.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
135 |
command.o: rxvtperl.h rsinc.h optinc.h version.h command.h |
136 |
encoding.o: ../config.h encoding.h rxvtutil.h table/iso8859_1.h |
137 |
encoding.o: table/iso8859_15.h table/iso8859_2.h table/iso8859_3.h |
138 |
encoding.o: table/iso8859_4.h table/iso8859_5.h table/iso8859_6.h |
139 |
encoding.o: table/iso8859_7.h table/iso8859_8.h table/iso8859_9.h |
140 |
encoding.o: table/iso8859_10.h table/iso8859_11.h table/iso8859_13.h |
141 |
encoding.o: table/iso8859_14.h table/iso8859_16.h table/koi8_r.h |
142 |
encoding.o: table/koi8_u.h table/ksc5601_1987_0.h table/big5.h table/gbk_0.h |
143 |
encoding.o: table/gb2312_1980_0.h table/cns11643_1992_1.h |
144 |
encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h |
145 |
encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h |
146 |
encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h |
147 |
encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h |
148 |
encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h |
149 |
encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h |
150 |
encoding.o: table/compose.h table/category.h |
151 |
ev_cpp.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h ../libev/ev.c |
152 |
ev_cpp.o: ../libev/ev_vars.h |
153 |
init.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
154 |
init.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
155 |
init.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
156 |
init.o: rxvtperl.h rsinc.h optinc.h init.h keyboard.h |
157 |
keyboard.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
158 |
keyboard.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
159 |
keyboard.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
160 |
keyboard.o: rxvtperl.h rsinc.h optinc.h |
161 |
main.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
162 |
main.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
163 |
main.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
164 |
main.o: rxvtperl.h rsinc.h optinc.h init.h keyboard.h |
165 |
misc.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
166 |
misc.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
167 |
misc.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
168 |
misc.o: rxvtperl.h rsinc.h optinc.h wcwidth.C |
169 |
ptytty_wrapper.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h |
170 |
ptytty_wrapper.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h |
171 |
ptytty_wrapper.o: ../libev/ev.h callback.h scrollbar.h salloc.h |
172 |
ptytty_wrapper.o: ../libptytty/src/libptytty.h rxvtperl.h rsinc.h optinc.h |
173 |
ptytty_wrapper.o: ../libptytty/src/fdpass.C ../libptytty/src/logging.C |
174 |
ptytty_wrapper.o: ../libptytty/src/ptytty.h ../libptytty/src/ptytty_conf.h |
175 |
ptytty_wrapper.o: ../libptytty/src/proxy.C ../libptytty/src/ptytty.C |
176 |
rxvt.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
177 |
rxvt.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
178 |
rxvt.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
179 |
rxvt.o: rxvtperl.h rsinc.h optinc.h |
180 |
rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h ../libptytty/src/libptytty.h |
181 |
rxvtd.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
182 |
rxvtd.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
183 |
rxvtd.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
184 |
rxvtd.o: rxvtperl.h rsinc.h optinc.h rxvtdaemon.h |
185 |
rxvtdaemon.o: rxvtdaemon.h rxvtutil.h |
186 |
rxvtfont.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
187 |
rxvtfont.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
188 |
rxvtfont.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
189 |
rxvtfont.o: rxvtperl.h rsinc.h optinc.h |
190 |
rxvttoolkit.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
191 |
rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h |
192 |
rxvttoolkit.o: ../libev/ev.h callback.h scrollbar.h salloc.h |
193 |
rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h rsinc.h optinc.h |
194 |
rxvtutil.o: rxvtutil.h |
195 |
salloc.o: salloc.h |
196 |
screen.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
197 |
screen.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
198 |
screen.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
199 |
screen.o: rxvtperl.h rsinc.h optinc.h salloc.C |
200 |
scrollbar-next.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h |
201 |
scrollbar-next.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h |
202 |
scrollbar-next.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h |
203 |
scrollbar-next.o: salloc.h ../libptytty/src/libptytty.h rxvtperl.h rsinc.h |
204 |
scrollbar-next.o: optinc.h |
205 |
scrollbar-plain.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h |
206 |
scrollbar-plain.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h |
207 |
scrollbar-plain.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h |
208 |
scrollbar-plain.o: salloc.h ../libptytty/src/libptytty.h rxvtperl.h rsinc.h |
209 |
scrollbar-plain.o: optinc.h |
210 |
scrollbar-rxvt.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h |
211 |
scrollbar-rxvt.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h |
212 |
scrollbar-rxvt.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h |
213 |
scrollbar-rxvt.o: salloc.h ../libptytty/src/libptytty.h rxvtperl.h rsinc.h |
214 |
scrollbar-rxvt.o: optinc.h |
215 |
scrollbar-xterm.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h |
216 |
scrollbar-xterm.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h |
217 |
scrollbar-xterm.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h |
218 |
scrollbar-xterm.o: salloc.h ../libptytty/src/libptytty.h rxvtperl.h rsinc.h |
219 |
scrollbar-xterm.o: optinc.h |
220 |
scrollbar.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
221 |
scrollbar.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
222 |
scrollbar.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
223 |
scrollbar.o: rxvtperl.h rsinc.h optinc.h |
224 |
xdefaults.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h |
225 |
xdefaults.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h |
226 |
xdefaults.o: callback.h scrollbar.h salloc.h ../libptytty/src/libptytty.h |
227 |
xdefaults.o: rxvtperl.h rsinc.h optinc.h version.h |