ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
Revision: 1.191
Committed: Sat Jul 3 04:04:12 2021 UTC (2 years, 10 months ago) by root
Branch: MAIN
Changes since 1.190: +104 -120 lines
Log Message:
-dpb

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     DEFS = @DEFS@
23     LIBS = @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 root 1.162 COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev -I$(srcdir)/../libptytty/src $(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.146 ev_cpp.o fdpass_wrapper.o ptytty_wrapper.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.146 rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o
74     $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(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 root 1.167 makedepend -f Makefile.in -I. -I.. -I../libptytty/src -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     command.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h
161     command.o: version.h command.h keyboard.h
162     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.178 ev_cpp.o: ../libev/ev_vars.h ../libev/ev_epoll.c ../libev/ev_select.c
179 sf-exg 1.147 fdpass_wrapper.o: ../libptytty/src/fdpass.C ../config.h
180     fdpass_wrapper.o: ../libptytty/src/libptytty.h
181 root 1.191 init.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
182     init.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
183     init.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
184     init.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h
185     init.o: init.h keyboard.h
186     keyboard.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
187     keyboard.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
188     keyboard.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
189     keyboard.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
190     keyboard.o: optinc.h keyboard.h
191     main.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
192     main.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
193     main.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
194     main.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h
195     main.o: init.h keyboard.h
196     misc.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
197     misc.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
198     misc.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
199     misc.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h
200     ptytty_wrapper.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
201     ptytty_wrapper.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h
202     ptytty_wrapper.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h
203     ptytty_wrapper.o: scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
204     ptytty_wrapper.o: hookinc.h rsinc.h optinc.h ../libptytty/src/logging.C
205 root 1.168 ptytty_wrapper.o: ../libptytty/src/ptytty.h ../libptytty/src/ptytty_conf.h
206     ptytty_wrapper.o: ../libptytty/src/proxy.C ../libptytty/src/ptytty.C
207 root 1.191 rxvt.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
208     rxvt.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
209     rxvt.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
210     rxvt.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h
211     rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h ecb.h estl.h emman.h
212     rxvtc.o: ../libptytty/src/libptytty.h
213     rxvtd.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
214     rxvtd.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
215     rxvtd.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
216     rxvtd.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h
217     rxvtd.o: rxvtdaemon.h
218     rxvtdaemon.o: rxvtdaemon.h rxvtutil.h ecb.h estl.h emman.h
219     rxvtfont.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
220     rxvtfont.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
221     rxvtfont.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
222     rxvtfont.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
223     rxvtfont.o: optinc.h table/linedraw.h
224     rxvtimg.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
225     rxvtimg.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
226     rxvtimg.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
227     rxvtimg.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h
228 root 1.168 rxvtperl.o: ../config.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
229 root 1.191 rxvtperl.o: rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h emman.h
230     rxvtperl.o: rxvtfont.h rxvttoolkit.h callback.h rxvtimg.h scrollbar.h
231     rxvtperl.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
232     rxvtperl.o: optinc.h keyboard.h perlxsi.c iom_perl.h
233     rxvttoolkit.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
234     rxvttoolkit.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
235     rxvttoolkit.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
236 root 1.169 rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
237     rxvttoolkit.o: optinc.h
238 root 1.191 rxvtutil.o: emman.c emman.h ecb.h rxvtutil.h estl.h
239     screen.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
240     screen.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
241     screen.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
242     screen.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h
243     scrollbar-next.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
244     scrollbar-next.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h
245     scrollbar-next.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h
246     scrollbar-next.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
247     scrollbar-next.o: rxvtperl.h hookinc.h rsinc.h optinc.h
248     scrollbar-plain.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
249     scrollbar-plain.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h
250     scrollbar-plain.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h
251     scrollbar-plain.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
252     scrollbar-plain.o: rxvtperl.h hookinc.h rsinc.h optinc.h
253     scrollbar-rxvt.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
254     scrollbar-rxvt.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h
255     scrollbar-rxvt.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h
256     scrollbar-rxvt.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
257     scrollbar-rxvt.o: rxvtperl.h hookinc.h rsinc.h optinc.h
258     scrollbar-xterm.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h
259     scrollbar-xterm.o: estl.h emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h
260     scrollbar-xterm.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h
261     scrollbar-xterm.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
262     scrollbar-xterm.o: rxvtperl.h hookinc.h rsinc.h optinc.h
263     scrollbar.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
264     scrollbar.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
265     scrollbar.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
266     scrollbar.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
267     scrollbar.o: optinc.h
268     xdefaults.o: ../config.h rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h
269     xdefaults.o: emman.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h
270     xdefaults.o: ../libev/ev++.h ../libev/ev.h callback.h rxvtimg.h scrollbar.h
271     xdefaults.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
272     xdefaults.o: optinc.h version.h keyboard.h
273 root 1.167 rxvtperl.o: ../config.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
274 root 1.191 rxvtperl.o: rxvt.h feature.h ecb.h encoding.h rxvtutil.h estl.h emman.h
275     rxvtperl.o: rxvtfont.h rxvttoolkit.h callback.h rxvtimg.h scrollbar.h
276     rxvtperl.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
277     rxvtperl.o: optinc.h keyboard.h perlxsi.c iom_perl.h