ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
Revision: 1.125
Committed: Wed Dec 19 02:17:34 2007 UTC (16 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-8_9
Changes since 1.124: +66 -55 lines
Log Message:
*** empty log message ***

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 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@
23 XLIB = @X_LIBS@ @AFTERIMAGE_LIBS@ -lX11 @X_EXTRA_LIBS@
24 COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(XINC)
25 LINK = @LINKER@ $(LDFLAGS)
26
27 srcdir = @srcdir@
28 VPATH = @srcdir@
29
30 DEBUG=-DDEBUG_STRICT
31
32 first_rule: all
33 dummy:
34
35 COMMON = \
36 background.o command.o rxvtfont.o init.o logging.o main.o misc.o \
37 ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
38 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
39 rxvttoolkit.o rxvtutil.o keyboard.o \
40 fdpass.o ev_cpp.o @PERL_O@
41
42 COMMON_DAEMON = rxvtdaemon.o
43
44 RXVT_BASENAME=`echo $(RXVTNAME)|sed 's/$(EXEEXT)$$//'|sed '$(transform)'`
45 RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT)
46 RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT)
47 RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)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 #.C.lo:
61 # $(LIBTOOL) --mode=compile $(COMPILE) -c $<
62 #
63 #.s.lo:
64 # $(LIBTOOL) --mode=compile $(COMPILE) -c $<
65 #
66 #.S.lo:
67 # $(LIBTOOL) --mode=compile $(COMPILE) -c $<
68
69 #-------------------------------------------------------------------------
70
71 all: allbin
72
73 rxvt: rxvt.o $(COMMON)
74 $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) @PERLLIB@
75 # $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) -o $@
76
77 rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON)
78 $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) @PERLLIB@
79 # $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) -o $@
80
81 rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o ev_cpp.o
82 $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass.o ev_cpp.o $(LIBS)
83 # $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) -o $@
84
85 #librxvt.la: $(LIBOBJS)
86 # $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@
87
88 #-------------------------------------------------------------------------
89
90 #EXUBERANT_OPTS = -I NOTHROW
91
92 tags: *.[Ch]
93 ctags $(EXUBERANT_OPTS) *.[Ch]
94
95 TAGS: *.[Ch]
96 etags $(EXUBERANT_OPTS) *.[Ch]
97
98 allbin: rxvt rxvtd rxvtc
99
100 alldoc:
101
102 clean:
103 rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C
104 rm -f *.o *.lo .libs/* librxvt.la tmpproto *.tmp
105
106 distclean: clean
107 rm -f Makefile rxvtlib.h
108
109 realclean: distclean
110 rm -f tags TAGS
111
112 cleandir: realclean
113
114 install-perl:
115 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)
116 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt
117 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl
118 @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm
119 @IF_PERL@ for ext in $(srcdir)/perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/"`basename "$$ext"`"; done
120
121 install-bin: allbin
122 $(INSTALL) -d $(DESTDIR)$(bindir)
123 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
124 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
125 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
126
127 install: install-bin install-perl
128
129 perlxsi.c: Makefile
130 $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
131
132 rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom
133 PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@
134
135 rxvtperl.o: rxvtperl.C perlxsi.c
136 $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
137
138 depend:
139 makedepend -f Makefile.in -I. -I.. -I../libev -Y *.C >/dev/null 2>&1
140 # makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1
141
142 # DO NOT DELETE: nice dependency list follows
143
144 background.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
145 background.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
146 background.o: ../libev/ev.h callback.h salloc.h libptytty.h rxvtperl.h
147 background.o: hookinc.h background.h rsinc.h
148 command.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
149 command.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
150 command.o: ../libev/ev.h callback.h salloc.h libptytty.h rxvtperl.h hookinc.h
151 command.o: background.h rsinc.h version.h command.h keyboard.h
152 encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
153 encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h
154 encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h
155 encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h
156 encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h
157 encoding.o: table/iso8859_16.h table/koi8_r.h table/koi8_u.h
158 encoding.o: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h
159 encoding.o: table/gb2312_1980_0.h table/cns11643_1992_1.h
160 encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h
161 encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h
162 encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h
163 encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
164 encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
165 encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
166 encoding.o: table/compose.h table/category.h
167 ev_cpp.o: ev_cpp.h ../libev/ev++.h ../libev/ev.h ../libev/ev.c ../config.h
168 ev_cpp.o: ../libev/ev_vars.h ../libev/ev_epoll.c ../libev/ev_select.c
169 fdpass.o: ../config.h libptytty.h
170 init.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h
171 init.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h
172 init.o: callback.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
173 init.o: rsinc.h init.h
174 keyboard.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
175 keyboard.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
176 keyboard.o: ../libev/ev.h callback.h salloc.h libptytty.h rxvtperl.h
177 keyboard.o: hookinc.h background.h rsinc.h keyboard.h command.h
178 logging.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
179 logging.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h
180 logging.o: ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h salloc.h
181 logging.o: rxvtperl.h hookinc.h background.h rsinc.h
182 main.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h
183 main.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h
184 main.o: callback.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
185 main.o: rsinc.h keyboard.h
186 misc.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h
187 misc.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h
188 misc.o: callback.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
189 misc.o: rsinc.h
190 proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
191 proxy.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h
192 proxy.o: ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h salloc.h
193 proxy.o: rxvtperl.h hookinc.h background.h rsinc.h
194 ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
195 ptytty.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h
196 ptytty.o: ev_cpp.h ../libev/ev++.h ../libev/ev.h callback.h salloc.h
197 ptytty.o: rxvtperl.h hookinc.h background.h rsinc.h
198 rxvt.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h
199 rxvt.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h
200 rxvt.o: callback.h salloc.h libptytty.h rxvtperl.h hookinc.h background.h
201 rxvt.o: rsinc.h
202 rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h libptytty.h rxvt.h rxvtlib.h
203 rxvtc.o: optinc.h feature.h encoding.h rxvtfont.h rxvttoolkit.h ev_cpp.h
204 rxvtc.o: ../libev/ev++.h ../libev/ev.h callback.h salloc.h rxvtperl.h
205 rxvtc.o: hookinc.h background.h rsinc.h
206 rxvtd.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
207 rxvtd.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
208 rxvtd.o: ../libev/ev.h callback.h salloc.h libptytty.h rxvtperl.h hookinc.h
209 rxvtd.o: background.h rsinc.h rxvtdaemon.h
210 rxvtdaemon.o: rxvtdaemon.h rxvtutil.h
211 rxvtfont.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
212 rxvtfont.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
213 rxvtfont.o: ../libev/ev.h callback.h salloc.h libptytty.h rxvtperl.h
214 rxvtfont.o: hookinc.h background.h rsinc.h table/linedraw.h
215 rxvtperl.o: ../config.h ev_cpp.h ../libev/ev++.h ../libev/ev.h rxvt.h
216 rxvtperl.o: rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h
217 rxvtperl.o: rxvttoolkit.h callback.h salloc.h libptytty.h rxvtperl.h
218 rxvtperl.o: hookinc.h background.h rsinc.h keyboard.h perlxsi.c ./iom_perl.h
219 rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
220 rxvttoolkit.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
221 rxvttoolkit.o: ../libev/ev.h callback.h salloc.h libptytty.h rxvtperl.h
222 rxvttoolkit.o: hookinc.h background.h rsinc.h
223 rxvtutil.o: rxvtutil.h
224 salloc.o: salloc.h
225 screen.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
226 screen.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
227 screen.o: ../libev/ev.h callback.h salloc.h libptytty.h rxvtperl.h hookinc.h
228 screen.o: background.h rsinc.h salloc.C
229 scrollbar-next.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
230 scrollbar-next.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h
231 scrollbar-next.o: ../libev/ev++.h ../libev/ev.h callback.h salloc.h
232 scrollbar-next.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h
233 scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
234 scrollbar-plain.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h
235 scrollbar-plain.o: ../libev/ev++.h ../libev/ev.h callback.h salloc.h
236 scrollbar-plain.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h
237 scrollbar-rxvt.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
238 scrollbar-rxvt.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h
239 scrollbar-rxvt.o: ../libev/ev++.h ../libev/ev.h callback.h salloc.h
240 scrollbar-rxvt.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h
241 scrollbar-xterm.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
242 scrollbar-xterm.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h
243 scrollbar-xterm.o: ../libev/ev++.h ../libev/ev.h callback.h salloc.h
244 scrollbar-xterm.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h
245 scrollbar.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
246 scrollbar.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
247 scrollbar.o: ../libev/ev.h callback.h salloc.h libptytty.h rxvtperl.h
248 scrollbar.o: hookinc.h background.h rsinc.h
249 xdefaults.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
250 xdefaults.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../libev/ev++.h
251 xdefaults.o: ../libev/ev.h callback.h salloc.h libptytty.h rxvtperl.h
252 xdefaults.o: hookinc.h background.h rsinc.h version.h keyboard.h