1 | DATE=@DATE@ |
1 | DATE = @DATE@ |
2 | VERSION=@VERSION@ |
2 | VERSION = @VERSION@ |
3 | RXVTNAME=@RXVTNAME@ |
3 | RXVTNAME = @RXVTNAME@ |
4 | SHELL = /bin/sh |
4 | SHELL = /bin/sh |
5 | prefix = @prefix@ |
5 | prefix = @prefix@ |
6 | exec_prefix = @exec_prefix@ |
6 | exec_prefix = @exec_prefix@ |
7 | bindir = @bindir@ |
7 | bindir = @bindir@ |
8 | libdir = @libdir@ |
8 | libdir = @libdir@ |
|
|
9 | man1dir = @mandir@/man1 |
|
|
10 | man1ext = 1 |
|
|
11 | man3dir = @mandir@/man3 |
|
|
12 | man3ext = 3 |
|
|
13 | PODOPTS = quotes => q<"> , center => q<RXVT-UNICODE>, release => q<$(VERSION)> |
9 | CXX = @CXX@ |
14 | CXX = @CXX@ |
10 | PERL = @PERL@ |
15 | PERL = @PERL@ |
11 | INSTALL = @INSTALL@ |
16 | INSTALL = @INSTALL@ |
12 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
17 | INSTALL_PROGRAM = @INSTALL@ -m 755 |
13 | INSTALL_DATA = @INSTALL@ -m 644 |
18 | INSTALL_DATA = @INSTALL@ -m 644 |
… | |
… | |
22 | LINK = @LINKER@ $(LDFLAGS) |
27 | LINK = @LINKER@ $(LDFLAGS) |
23 | EXEEXT = @EXEEXT@ |
28 | EXEEXT = @EXEEXT@ |
24 | PERLFLAGS = @PERLFLAGS@ |
29 | PERLFLAGS = @PERLFLAGS@ |
25 | PERLLIB = @PERLLIB@ |
30 | PERLLIB = @PERLLIB@ |
26 | |
31 | |
27 | srcdir = @srcdir@ |
32 | srcdir = @srcdir@ |
28 | VPATH = @srcdir@ |
33 | VPATH = @srcdir@ |
29 | |
34 | |
30 | first_rule: all |
35 | first_rule: all |
31 | dummy: |
36 | dummy: |
32 | |
37 | |
33 | COMMON = \ |
38 | COMMON = \ |
… | |
… | |
80 | allbin: rxvt rxvtd rxvtc |
85 | allbin: rxvt rxvtd rxvtc |
81 | |
86 | |
82 | alldoc: |
87 | alldoc: |
83 | |
88 | |
84 | clean: |
89 | clean: |
85 | rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C |
90 | rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C manlst mantmp |
86 | rm -f *.o |
91 | rm -f *.o |
87 | |
92 | |
88 | distclean: clean |
93 | distclean: clean |
89 | rm -f Makefile |
94 | rm -f Makefile |
90 | |
95 | |
… | |
… | |
95 | |
100 | |
96 | install-perl: |
101 | install-perl: |
97 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir) |
102 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir) |
98 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt |
103 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt |
99 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl |
104 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl |
|
|
105 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man1dir) |
|
|
106 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) |
100 | @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm |
107 | @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm |
101 | @IF_PERL@ for ext in $(srcdir)/perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; done |
108 | @IF_PERL@ for ext in $(srcdir)/perl/*; do \ |
|
|
109 | @IF_PERL@ test -f "$$ext" || continue; \ |
|
|
110 | @IF_PERL@ base="$${ext##*/}"; \ |
|
|
111 | @IF_PERL@ $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \ |
|
|
112 | @IF_PERL@ < "$$ext" \ |
|
|
113 | @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "'urxvt-$$base'", $(PODOPTS))->parse_from_file' \ |
|
|
114 | @IF_PERL@ > ../mantmp; \ |
|
|
115 | @IF_PERL@ test -s ../mantmp && $(INSTALL_DATA) ../mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$base.$(man1ext); \ |
|
|
116 | @IF_PERL@ < "$$ext" $(PERL) -ne '<>, (print <> . "\n"), exit if /^=head1/' >&3; \ |
|
|
117 | @IF_PERL@ done 3>manlst |
|
|
118 | @IF_PERL@ cat $(srcdir)/../doc/extensions.pod.top manlst $(srcdir)/../doc/extensions.pod.bot | \ |
|
|
119 | @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)-extensions", $(PODOPTS))->parse_from_file' \ |
|
|
120 | @IF_PERL@ > mantmp |
|
|
121 | @IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-extensions.$(man1ext) |
|
|
122 | @IF_PERL@ < $(srcdir)/urxvt.pm \ |
|
|
123 | @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)perl", section => 3, $(PODOPTS))->parse_from_file' \ |
|
|
124 | @IF_PERL@ > mantmp |
|
|
125 | @IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) |
102 | |
126 | |
103 | install-bin: allbin |
127 | install-bin: allbin |
104 | $(INSTALL) -d $(DESTDIR)$(bindir) |
128 | $(INSTALL) -d $(DESTDIR)$(bindir) |
105 | $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
129 | $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
106 | $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
130 | $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
… | |
… | |
149 | encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h |
173 | encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h |
150 | encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h |
174 | encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h |
151 | encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h |
175 | encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h |
152 | encoding.o: table/compose.h table/category.h |
176 | encoding.o: table/compose.h table/category.h |
153 | ev_cpp.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h ../libev/ev.c |
177 | ev_cpp.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h ../libev/ev.c |
154 | ev_cpp.o: ../libev/ev_vars.h ../libev/ev_epoll.c ../libev/ev_select.c |
178 | ev_cpp.o: ../libev/ev_vars.h ../libev/ev_epoll.c |
155 | fdpass_wrapper.o: ../libptytty/src/fdpass.C ../config.h |
179 | fdpass_wrapper.o: ../libptytty/src/fdpass.C ../config.h |
156 | fdpass_wrapper.o: ../libptytty/src/libptytty.h |
180 | fdpass_wrapper.o: ../libptytty/src/libptytty.h |
157 | init.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h |
181 | init.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h |
158 | init.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h |
182 | init.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h |
159 | init.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h |
183 | init.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h |