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

# User Rev Content
1 ayin 1.48 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 ayin 1.91 CXXFLAGS = @CXXFLAGS@
18 ayin 1.102 CPPFLAGS = @CPPFLAGS@
19 ayin 1.48 LDFLAGS = @LDFLAGS@
20     DEFS = @DEFS@
21     LIBS = @LIBS@
22 ayin 1.102 XINC = @X_CFLAGS@ @AFTERIMAGE_CFLAGS@
23     XLIB = @X_LIBS@ @AFTERIMAGE_LIBS@ -lX11 @X_EXTRA_LIBS@
24 root 1.119 COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(XINC)
25 ayin 1.48 LINK = @LINKER@ $(LDFLAGS)
26    
27 pcg 1.1 srcdir = @srcdir@
28     VPATH = @srcdir@
29    
30 root 1.60 DEBUG=-DDEBUG_STRICT
31 pcg 1.1
32     first_rule: all
33     dummy:
34    
35 root 1.26 COMMON = \
36 ayin 1.124 background.o command.o rxvtfont.o init.o logging.o main.o misc.o \
37 root 1.61 ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
38 ayin 1.108 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
39 root 1.112 rxvttoolkit.o rxvtutil.o keyboard.o \
40     fdpass.o ev_cpp.o @PERL_O@
41 pcg 1.1
42 root 1.51 COMMON_DAEMON = rxvtdaemon.o
43 root 1.28
44 ayin 1.99 RXVT_BASENAME=`echo $(RXVTNAME)|sed 's/$(EXEEXT)$$//'|sed '$(transform)'`
45 pcg 1.1 RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT)
46 pcg 1.5 RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT)
47     RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT)
48 pcg 1.1
49     #
50     # Distribution variables
51     #
52    
53 root 1.87 .SUFFIXES: .C .c .o
54 pcg 1.1
55     #-------------------------------------------------------------------------
56     # inference rules
57     .C.o:
58     $(COMPILE) -c $<
59    
60 root 1.26 #.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 pcg 1.1
69     #-------------------------------------------------------------------------
70 pcg 1.13
71 pcg 1.1 all: allbin
72    
73 root 1.26 rxvt: rxvt.o $(COMMON)
74 ayin 1.95 $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) @PERLLIB@
75     # $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) -o $@
76 root 1.26
77 root 1.28 rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON)
78 ayin 1.95 $(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 root 1.26
81 root 1.112 rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o ev_cpp.o
82 root 1.113 $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass.o ev_cpp.o $(LIBS)
83 ayin 1.100 # $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) -o $@
84 pcg 1.1
85 root 1.26 #librxvt.la: $(LIBOBJS)
86     # $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@
87 pcg 1.13
88 pcg 1.1 #-------------------------------------------------------------------------
89 pcg 1.13
90 ayin 1.106 #EXUBERANT_OPTS = -I NOTHROW
91    
92 ayin 1.53 tags: *.[Ch]
93 ayin 1.106 ctags $(EXUBERANT_OPTS) *.[Ch]
94 ayin 1.53
95     TAGS: *.[Ch]
96 ayin 1.106 etags $(EXUBERANT_OPTS) *.[Ch]
97 pcg 1.1
98 root 1.17 allbin: rxvt rxvtd rxvtc
99 pcg 1.1
100     alldoc:
101    
102     clean:
103 ayin 1.59 rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C
104     rm -f *.o *.lo .libs/* librxvt.la tmpproto *.tmp
105 pcg 1.1
106 ayin 1.93 distclean: clean
107     rm -f Makefile rxvtlib.h
108    
109     realclean: distclean
110 ayin 1.92 rm -f tags TAGS
111 pcg 1.1
112     cleandir: realclean
113    
114 root 1.31 install-perl:
115 root 1.32 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)
116     @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt
117 root 1.36 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl
118 ayin 1.82 @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm
119 ayin 1.81 @IF_PERL@ for ext in $(srcdir)/perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/"`basename "$$ext"`"; done
120 root 1.31
121 ayin 1.88 install-bin: allbin
122 root 1.32 $(INSTALL) -d $(DESTDIR)$(bindir)
123 root 1.26 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
124     $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
125     $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
126 pcg 1.1
127 ayin 1.93 install: install-bin install-perl
128 ayin 1.88
129 root 1.30 perlxsi.c: Makefile
130     $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
131    
132 root 1.84 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 root 1.30
135     rxvtperl.o: rxvtperl.C perlxsi.c
136     $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
137    
138 root 1.23 depend:
139 root 1.125 makedepend -f Makefile.in -I. -I.. -I../libev -Y *.C >/dev/null 2>&1
140 ayin 1.121 # makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1
141 root 1.23
142 pcg 1.1 # DO NOT DELETE: nice dependency list follows
143    
144 root 1.107 background.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
145 root 1.125 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 root 1.51 command.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
149 root 1.125 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 root 1.23 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 root 1.125 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 root 1.56 fdpass.o: ../config.h libptytty.h
170 root 1.63 init.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h
171 root 1.125 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 root 1.51 keyboard.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
175 root 1.125 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 root 1.58 logging.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
179 root 1.63 logging.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h
180 root 1.125 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 root 1.63 main.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h
183 root 1.125 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 root 1.63 misc.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h
187 root 1.125 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 root 1.62 proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
191 root 1.63 proxy.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h
192 root 1.125 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 root 1.58 ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h
195 root 1.63 ptytty.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h
196 root 1.125 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 root 1.63 rxvt.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h
199 root 1.125 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 root 1.58 rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h libptytty.h rxvt.h rxvtlib.h
203 root 1.109 rxvtc.o: optinc.h feature.h encoding.h rxvtfont.h rxvttoolkit.h ev_cpp.h
204 root 1.125 rxvtc.o: ../libev/ev++.h ../libev/ev.h callback.h salloc.h rxvtperl.h
205     rxvtc.o: hookinc.h background.h rsinc.h
206 root 1.51 rxvtd.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
207 root 1.125 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 root 1.23 rxvtdaemon.o: rxvtdaemon.h rxvtutil.h
211 root 1.51 rxvtfont.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
212 root 1.125 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 root 1.51 rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
220 root 1.125 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 root 1.23 rxvtutil.o: rxvtutil.h
224     salloc.o: salloc.h
225 root 1.51 screen.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
226 root 1.125 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 root 1.51 scrollbar-next.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
230 root 1.125 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 root 1.51 scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
234 root 1.125 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 root 1.51 scrollbar-rxvt.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
238 root 1.125 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 root 1.51 scrollbar-xterm.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
242 root 1.125 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 root 1.51 scrollbar.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
246 root 1.125 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 root 1.51 xdefaults.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
250 root 1.125 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