ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
Revision: 1.194
Committed: Mon Nov 22 15:43:26 2021 UTC (2 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rxvt-unicode-rel-9_29, rxvt-unicode-rel-9_30, HEAD
Changes since 1.193: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.170 DATE = @DATE@
2     VERSION = @VERSION@
3     RXVTNAME = @RXVTNAME@
4 ayin 1.48 SHELL = /bin/sh
5 sf-exg 1.156 prefix = @prefix@
6     exec_prefix = @exec_prefix@
7 ayin 1.48 bindir = @bindir@
8     libdir = @libdir@
9 root 1.170 man1dir = @mandir@/man1
10     man1ext = 1
11 root 1.171 man3dir = @mandir@/man3
12     man3ext = 3
13 root 1.172 PODOPTS = quotes => q<"> , center => q<RXVT-UNICODE>, release => q<$(VERSION)>
14 ayin 1.48 CXX = @CXX@
15     PERL = @PERL@
16     INSTALL = @INSTALL@
17     INSTALL_PROGRAM = @INSTALL@ -m 755
18     INSTALL_DATA = @INSTALL@ -m 644
19 ayin 1.91 CXXFLAGS = @CXXFLAGS@
20 ayin 1.102 CPPFLAGS = @CPPFLAGS@
21 ayin 1.48 LDFLAGS = @LDFLAGS@
22 sf-exg 1.192 DEFS = @DEFS@ @PTYTTY_CFLAGS@
23     LIBS = @LIBS@ @PTYTTY_LIBS@
24 sf-exg 1.159 XINC = @X_CFLAGS@ @PIXBUF_CFLAGS@ @STARTUP_NOTIFICATION_CFLAGS@
25     XLIB = @X_LIBS@ -lX11 @X_EXTRA_LIBS@ @PIXBUF_LIBS@ @STARTUP_NOTIFICATION_LIBS@
26 sf-exg 1.192 COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(XINC)
27 ayin 1.48 LINK = @LINKER@ $(LDFLAGS)
28 sf-exg 1.134 EXEEXT = @EXEEXT@
29 sf-exg 1.136 PERLFLAGS = @PERLFLAGS@
30     PERLLIB = @PERLLIB@
31 ayin 1.48
32 root 1.171 srcdir = @srcdir@
33     VPATH = @srcdir@
34 pcg 1.1
35     first_rule: all
36     dummy:
37    
38 root 1.26 COMMON = \
39 sf-exg 1.183 command.o rxvtfont.o init.o main.o misc.o \
40 sf-exg 1.144 screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
41 ayin 1.108 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
42 root 1.165 rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \
43 sf-exg 1.192 ev_cpp.o @PERL_O@
44 pcg 1.1
45 root 1.51 COMMON_DAEMON = rxvtdaemon.o
46 root 1.28
47 sf-exg 1.135 RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT)
48     RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT)
49     RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT)
50 root 1.188 RCLOCK_BINNAME=$(DESTDIR)$(bindir)/urclock$(EXEEXT)
51 root 1.186
52 pcg 1.1 #
53     # Distribution variables
54     #
55    
56 root 1.87 .SUFFIXES: .C .c .o
57 pcg 1.1
58     #-------------------------------------------------------------------------
59     # inference rules
60     .C.o:
61     $(COMPILE) -c $<
62    
63     #-------------------------------------------------------------------------
64 pcg 1.13
65 pcg 1.1 all: allbin
66    
67 root 1.26 rxvt: rxvt.o $(COMMON)
68 sf-exg 1.136 $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) $(PERLLIB)
69 root 1.26
70 root 1.28 rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON)
71 sf-exg 1.136 $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB)
72 root 1.26
73 sf-exg 1.192 rxvtc: rxvtc.o $(COMMON_DAEMON)
74     $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) $(LIBS)
75 pcg 1.13
76 root 1.185 rclock: rclock.o
77     $(LINK) -o $@ rclock.o $(LIBS) $(XLIB)
78    
79 pcg 1.1 #-------------------------------------------------------------------------
80 pcg 1.13
81 ayin 1.53 tags: *.[Ch]
82 sf-exg 1.189 ctags *.[Ch]
83 ayin 1.53
84     TAGS: *.[Ch]
85 sf-exg 1.189 etags *.[Ch]
86 pcg 1.1
87 root 1.188 allbin: rxvt rxvtd rxvtc rclock
88 pcg 1.1
89     alldoc:
90    
91     clean:
92 sf-exg 1.190 rm -f rxvt rxvtc rxvtd rclock perlxsi.c rxvtperl.C manlst mantmp
93 ayin 1.129 rm -f *.o
94 pcg 1.1
95 ayin 1.93 distclean: clean
96 ayin 1.126 rm -f Makefile
97 ayin 1.93
98     realclean: distclean
99 ayin 1.92 rm -f tags TAGS
100 pcg 1.1
101     cleandir: realclean
102    
103 root 1.31 install-perl:
104 root 1.32 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)
105     @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt
106 root 1.36 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl
107 root 1.171 @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man1dir)
108     @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
109 ayin 1.82 @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm
110 root 1.175 @IF_PERL@ for ext in $(srcdir)/perl/*; do \
111 root 1.170 @IF_PERL@ test -f "$$ext" || continue; \
112 sf-exg 1.181 @IF_PERL@ base=`basename "$$ext"`; \
113 root 1.170 @IF_PERL@ $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \
114     @IF_PERL@ < "$$ext" \
115 root 1.175 @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "'urxvt-$$base'", $(PODOPTS))->parse_from_file' \
116 sf-exg 1.179 @IF_PERL@ > mantmp; \
117     @IF_PERL@ test -s mantmp && $(INSTALL_DATA) mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$base.$(man1ext); \
118 root 1.171 @IF_PERL@ < "$$ext" $(PERL) -ne '<>, (print <> . "\n"), exit if /^=head1/' >&3; \
119 root 1.175 @IF_PERL@ done 3>manlst
120 sf-exg 1.173 @IF_PERL@ cat $(srcdir)/../doc/extensions.pod.top manlst $(srcdir)/../doc/extensions.pod.bot | \
121 root 1.171 @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)-extensions", $(PODOPTS))->parse_from_file' \
122     @IF_PERL@ > mantmp
123     @IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-extensions.$(man1ext)
124 sf-exg 1.173 @IF_PERL@ < $(srcdir)/urxvt.pm \
125 sf-exg 1.176 @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)perl", section => 3, $(PODOPTS))->parse_from_file' \
126 root 1.171 @IF_PERL@ > mantmp
127     @IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
128 root 1.31
129 ayin 1.88 install-bin: allbin
130 root 1.32 $(INSTALL) -d $(DESTDIR)$(bindir)
131 root 1.26 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
132     $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
133     $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
134 root 1.188 $(INSTALL_PROGRAM) rclock $(RCLOCK_BINNAME)
135 pcg 1.1
136 ayin 1.93 install: install-bin install-perl
137 ayin 1.88
138 root 1.30 perlxsi.c: Makefile
139     $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
140    
141 root 1.84 rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom
142 sf-exg 1.180 PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap 'typemap.iom' -typemap 'typemap' -prototypes $(srcdir)/rxvtperl.xs >$@
143 root 1.30
144     rxvtperl.o: rxvtperl.C perlxsi.c
145 sf-exg 1.136 $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
146 root 1.30
147 root 1.23 depend:
148 sf-exg 1.192 makedepend -f Makefile.in -I. -I.. -I../libev -Y *.C *.xs >/dev/null 2>&1
149 root 1.23
150 root 1.184 # makedepend has trouble finding these
151     ev_cpp.o: ../libev/ev.c ../libev/ev_epoll.c ../libev/ev_kqueue.c ../libev/ev_linuxaio.c
152     ev_cpp.o: ../libev/ev_poll.c ../libev/ev_port.c ../libev/ev_select.c ../libev/ev_win32.c
153    
154    
155 pcg 1.1 # DO NOT DELETE: nice dependency list follows
156    
157 root 1.191 command.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
158     command.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
159     command.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
160 sf-exg 1.192 command.o: rxvtperl.h hookinc.h rsinc.h optinc.h version.h command.h
161     command.o: keyboard.h
162 root 1.191 encoding.o: ../config.h encoding.h rxvtutil.h ecb.h estl.h emman.h
163     encoding.o: table/iso8859_1.h table/iso8859_15.h table/iso8859_2.h
164     encoding.o: table/iso8859_3.h table/iso8859_4.h table/iso8859_5.h
165     encoding.o: table/iso8859_6.h table/iso8859_7.h table/iso8859_8.h
166     encoding.o: table/iso8859_9.h table/iso8859_10.h table/iso8859_11.h
167     encoding.o: table/iso8859_13.h table/iso8859_14.h table/iso8859_16.h
168     encoding.o: table/koi8_r.h table/koi8_u.h table/ksc5601_1987_0.h table/big5.h
169     encoding.o: table/gbk_0.h table/gb2312_1980_0.h table/cns11643_1992_1.h
170 root 1.23 encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h
171     encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h
172     encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h
173     encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
174     encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
175     encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
176     encoding.o: table/compose.h table/category.h
177 root 1.131 ev_cpp.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h ../libev/ev.c
178 root 1.193 ev_cpp.o: ../libev/ev_vars.h ../libev/ev_epoll.c ../libev/ev_select.c
179 root 1.191 init.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
180     init.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
181 sf-exg 1.192 init.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h rxvtperl.h hookinc.h
182     init.o: rsinc.h optinc.h init.h keyboard.h
183 root 1.191 keyboard.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
184     keyboard.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
185     keyboard.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
186 sf-exg 1.192 keyboard.o: rxvtperl.h hookinc.h rsinc.h optinc.h keyboard.h
187 root 1.191 main.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
188     main.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
189 sf-exg 1.192 main.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h rxvtperl.h hookinc.h
190     main.o: rsinc.h optinc.h init.h keyboard.h
191 root 1.191 misc.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
192     misc.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
193 sf-exg 1.192 misc.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h rxvtperl.h hookinc.h
194     misc.o: rsinc.h optinc.h
195 root 1.194 rclock.o: ecb.h version.h
196 root 1.191 rxvt.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
197     rxvt.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
198 sf-exg 1.192 rxvt.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h rxvtperl.h hookinc.h
199     rxvt.o: rsinc.h optinc.h
200 root 1.191 rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h ecb.h estl.h emman.h
201     rxvtd.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
202     rxvtd.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
203     rxvtd.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
204 sf-exg 1.192 rxvtd.o: rxvtperl.h hookinc.h rsinc.h optinc.h rxvtdaemon.h
205 root 1.191 rxvtdaemon.o: rxvtdaemon.h rxvtutil.h ecb.h estl.h emman.h
206     rxvtfont.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
207     rxvtfont.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
208     rxvtfont.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
209 sf-exg 1.192 rxvtfont.o: rxvtperl.h hookinc.h rsinc.h optinc.h table/linedraw.h
210 root 1.191 rxvtimg.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
211     rxvtimg.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
212     rxvtimg.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
213 sf-exg 1.192 rxvtimg.o: rxvtperl.h hookinc.h rsinc.h optinc.h
214 root 1.193 rxvtperl.o: ../config.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
215     rxvtperl.o: rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h emman.h
216     rxvtperl.o: rxvtfont.h rxvttoolkit.h callback.h rxvtimg.h scrollbar.h
217     rxvtperl.o: rxvtperl.h hookinc.h rsinc.h optinc.h keyboard.h perlxsi.c
218     rxvtperl.o: iom_perl.h
219 root 1.191 rxvttoolkit.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
220     rxvttoolkit.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
221     rxvttoolkit.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
222 sf-exg 1.192 rxvttoolkit.o: rxvtperl.h hookinc.h rsinc.h optinc.h
223 root 1.191 rxvtutil.o: emman.c emman.h ecb.h rxvtutil.h estl.h
224     screen.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
225     screen.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
226     screen.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
227 sf-exg 1.192 screen.o: rxvtperl.h hookinc.h rsinc.h optinc.h
228 root 1.191 scrollbar-next.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
229     scrollbar-next.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h
230     scrollbar-next.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h
231 sf-exg 1.192 scrollbar-next.o: rxvtimg.h scrollbar.h rxvtperl.h hookinc.h rsinc.h optinc.h
232 root 1.191 scrollbar-plain.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
233     scrollbar-plain.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h
234     scrollbar-plain.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h
235 sf-exg 1.192 scrollbar-plain.o: rxvtimg.h scrollbar.h rxvtperl.h hookinc.h rsinc.h
236     scrollbar-plain.o: optinc.h
237 root 1.191 scrollbar-rxvt.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
238     scrollbar-rxvt.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h
239     scrollbar-rxvt.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h
240 sf-exg 1.192 scrollbar-rxvt.o: rxvtimg.h scrollbar.h rxvtperl.h hookinc.h rsinc.h optinc.h
241 root 1.191 scrollbar-xterm.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
242     scrollbar-xterm.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h
243     scrollbar-xterm.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h
244 sf-exg 1.192 scrollbar-xterm.o: rxvtimg.h scrollbar.h rxvtperl.h hookinc.h rsinc.h
245     scrollbar-xterm.o: optinc.h
246 root 1.191 scrollbar.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
247     scrollbar.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
248     scrollbar.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
249 sf-exg 1.192 scrollbar.o: rxvtperl.h hookinc.h rsinc.h optinc.h
250 root 1.191 xdefaults.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
251     xdefaults.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
252     xdefaults.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
253 sf-exg 1.192 xdefaults.o: rxvtperl.h hookinc.h rsinc.h optinc.h version.h keyboard.h
254 root 1.167 rxvtperl.o: ../config.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
255 root 1.191 rxvtperl.o: rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h emman.h
256     rxvtperl.o: rxvtfont.h rxvttoolkit.h callback.h rxvtimg.h scrollbar.h
257 root 1.193 rxvtperl.o: rxvtperl.h hookinc.h rsinc.h optinc.h keyboard.h perlxsi.c
258     rxvtperl.o: iom_perl.h