ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
Revision: 1.136
Committed: Fri Aug 27 17:52:41 2010 UTC (13 years, 8 months ago) by sf-exg
Branch: MAIN
Changes since 1.135: +5 -3 lines
Log Message:
Add makefile variables for PERLFLAGS/PERLLIB output variables.

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.130 COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(XINC)
25 ayin 1.48 LINK = @LINKER@ $(LDFLAGS)
26 sf-exg 1.134 EXEEXT = @EXEEXT@
27 sf-exg 1.136 PERLFLAGS = @PERLFLAGS@
28     PERLLIB = @PERLLIB@
29 ayin 1.48
30 pcg 1.1 srcdir = @srcdir@
31     VPATH = @srcdir@
32    
33     first_rule: all
34     dummy:
35    
36 root 1.26 COMMON = \
37 ayin 1.124 background.o command.o rxvtfont.o init.o logging.o main.o misc.o \
38 root 1.61 ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
39 ayin 1.108 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
40 root 1.112 rxvttoolkit.o rxvtutil.o keyboard.o \
41     fdpass.o ev_cpp.o @PERL_O@
42 pcg 1.1
43 root 1.51 COMMON_DAEMON = rxvtdaemon.o
44 root 1.28
45 sf-exg 1.135 RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT)
46     RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT)
47     RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)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     #-------------------------------------------------------------------------
61 pcg 1.13
62 pcg 1.1 all: allbin
63    
64 root 1.26 rxvt: rxvt.o $(COMMON)
65 sf-exg 1.136 $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) $(PERLLIB)
66 root 1.26
67 root 1.28 rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON)
68 sf-exg 1.136 $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB)
69 root 1.26
70 sf-exg 1.132 rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o
71     $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass.o $(LIBS)
72 pcg 1.13
73 pcg 1.1 #-------------------------------------------------------------------------
74 pcg 1.13
75 ayin 1.106 #EXUBERANT_OPTS = -I NOTHROW
76    
77 ayin 1.53 tags: *.[Ch]
78 ayin 1.106 ctags $(EXUBERANT_OPTS) *.[Ch]
79 ayin 1.53
80     TAGS: *.[Ch]
81 ayin 1.106 etags $(EXUBERANT_OPTS) *.[Ch]
82 pcg 1.1
83 root 1.17 allbin: rxvt rxvtd rxvtc
84 pcg 1.1
85     alldoc:
86    
87     clean:
88 ayin 1.59 rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C
89 ayin 1.129 rm -f *.o
90 pcg 1.1
91 ayin 1.93 distclean: clean
92 ayin 1.126 rm -f Makefile
93 ayin 1.93
94     realclean: distclean
95 ayin 1.92 rm -f tags TAGS
96 pcg 1.1
97     cleandir: realclean
98    
99 root 1.31 install-perl:
100 root 1.32 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)
101     @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt
102 root 1.36 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl
103 ayin 1.82 @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm
104 sf-exg 1.133 @IF_PERL@ for ext in $(srcdir)/perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; done
105 root 1.31
106 ayin 1.88 install-bin: allbin
107 root 1.32 $(INSTALL) -d $(DESTDIR)$(bindir)
108 root 1.26 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
109     $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
110     $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
111 pcg 1.1
112 ayin 1.93 install: install-bin install-perl
113 ayin 1.88
114 root 1.30 perlxsi.c: Makefile
115     $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
116    
117 root 1.84 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 root 1.30
120     rxvtperl.o: rxvtperl.C perlxsi.c
121 sf-exg 1.136 $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
122 root 1.30
123 root 1.23 depend:
124 root 1.125 makedepend -f Makefile.in -I. -I.. -I../libev -Y *.C >/dev/null 2>&1
125 root 1.23
126 pcg 1.1 # DO NOT DELETE: nice dependency list follows
127    
128 root 1.128 background.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
129 root 1.131 background.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
130     background.o: ../libev/ev.h callback.h scrollbar.h salloc.h libptytty.h
131     background.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
132 root 1.128 command.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
133 root 1.131 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.h rxvtperl.h hookinc.h
135     command.o: background.h rsinc.h optinc.h version.h command.h keyboard.h
136 root 1.23 encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h
137     encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h
138     encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h
139     encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h
140     encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h
141     encoding.o: table/iso8859_16.h table/koi8_r.h table/koi8_u.h
142     encoding.o: 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 root 1.131 ev_cpp.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h ../libev/ev.c
152 root 1.125 ev_cpp.o: ../libev/ev_vars.h ../libev/ev_epoll.c ../libev/ev_select.c
153 root 1.56 fdpass.o: ../config.h libptytty.h
154 root 1.128 init.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
155 root 1.131 init.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
156     init.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
157     init.o: background.h rsinc.h optinc.h init.h keyboard.h
158 root 1.128 keyboard.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
159 root 1.131 keyboard.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
160     keyboard.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
161 root 1.128 keyboard.o: background.h rsinc.h optinc.h keyboard.h command.h
162     logging.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h feature.h
163     logging.o: encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h
164 root 1.131 logging.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h
165     logging.o: salloc.h rxvtperl.h hookinc.h background.h rsinc.h optinc.h
166 root 1.128 main.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
167 root 1.131 main.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
168     main.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
169     main.o: background.h rsinc.h optinc.h keyboard.h
170 root 1.128 misc.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
171 root 1.131 misc.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
172     misc.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
173     misc.o: background.h rsinc.h optinc.h
174 root 1.128 proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h feature.h
175 root 1.131 proxy.o: encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
176 root 1.128 proxy.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h
177     proxy.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
178     ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h feature.h
179 root 1.131 ptytty.o: encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
180 root 1.128 ptytty.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h
181     ptytty.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
182     rxvt.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
183 root 1.131 rxvt.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
184     rxvt.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
185     rxvt.o: background.h rsinc.h optinc.h
186 root 1.128 rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h libptytty.h rxvt.h feature.h
187 root 1.131 rxvtc.o: encoding.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
188     rxvtc.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h
189     rxvtc.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
190 root 1.128 rxvtd.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
191 root 1.131 rxvtd.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
192     rxvtd.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
193     rxvtd.o: background.h rsinc.h optinc.h rxvtdaemon.h
194 root 1.23 rxvtdaemon.o: rxvtdaemon.h rxvtutil.h
195 root 1.128 rxvtfont.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
196 root 1.131 rxvtfont.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
197     rxvtfont.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
198 root 1.128 rxvtfont.o: background.h rsinc.h optinc.h table/linedraw.h
199 root 1.131 rxvtperl.o: ../config.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
200     rxvtperl.o: rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h
201 root 1.128 rxvtperl.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
202     rxvtperl.o: background.h rsinc.h optinc.h keyboard.h perlxsi.c iom_perl.h
203     rxvttoolkit.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
204 root 1.131 rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
205     rxvttoolkit.o: ../libev/ev.h callback.h scrollbar.h salloc.h libptytty.h
206     rxvttoolkit.o: rxvtperl.h hookinc.h background.h rsinc.h optinc.h
207 root 1.23 rxvtutil.o: rxvtutil.h
208     salloc.o: salloc.h
209 root 1.128 screen.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
210 root 1.131 screen.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
211     screen.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
212     screen.o: background.h rsinc.h optinc.h salloc.C
213 root 1.128 scrollbar-next.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h
214 root 1.131 scrollbar-next.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
215     scrollbar-next.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h
216     scrollbar-next.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h
217     scrollbar-next.o: rsinc.h optinc.h
218 root 1.128 scrollbar-plain.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h
219 root 1.131 scrollbar-plain.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
220     scrollbar-plain.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h
221     scrollbar-plain.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h
222     scrollbar-plain.o: rsinc.h optinc.h
223 root 1.128 scrollbar-rxvt.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h
224 root 1.131 scrollbar-rxvt.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
225     scrollbar-rxvt.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h
226     scrollbar-rxvt.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h
227     scrollbar-rxvt.o: rsinc.h optinc.h
228 root 1.128 scrollbar-xterm.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h
229 root 1.131 scrollbar-xterm.o: rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
230     scrollbar-xterm.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h
231     scrollbar-xterm.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h
232     scrollbar-xterm.o: rsinc.h optinc.h
233 root 1.128 scrollbar.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
234 root 1.131 scrollbar.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
235     scrollbar.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
236 root 1.128 scrollbar.o: background.h rsinc.h optinc.h
237     xdefaults.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.h
238 root 1.131 xdefaults.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
239     xdefaults.o: callback.h scrollbar.h salloc.h libptytty.h rxvtperl.h hookinc.h
240 root 1.128 xdefaults.o: background.h rsinc.h optinc.h version.h keyboard.h