ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/Makefile.in
(Generate patch)

Comparing rxvt-unicode/src/Makefile.in (file contents):
Revision 1.169 by root, Thu Jun 28 15:19:15 2012 UTC vs.
Revision 1.189 by sf-exg, Thu May 13 19:40:19 2021 UTC

1DATE=@DATE@ 1DATE = @DATE@
2VERSION=@VERSION@ 2VERSION = @VERSION@
3RXVTNAME=@RXVTNAME@ 3RXVTNAME = @RXVTNAME@
4SHELL = /bin/sh 4SHELL = /bin/sh
5prefix = @prefix@ 5prefix = @prefix@
6exec_prefix = @exec_prefix@ 6exec_prefix = @exec_prefix@
7bindir = @bindir@ 7bindir = @bindir@
8libdir = @libdir@ 8libdir = @libdir@
9man1dir = @mandir@/man1
10man1ext = 1
11man3dir = @mandir@/man3
12man3ext = 3
13PODOPTS = quotes => q<"> , center => q<RXVT-UNICODE>, release => q<$(VERSION)>
9CXX = @CXX@ 14CXX = @CXX@
10PERL = @PERL@ 15PERL = @PERL@
11INSTALL = @INSTALL@ 16INSTALL = @INSTALL@
12INSTALL_PROGRAM = @INSTALL@ -m 755 17INSTALL_PROGRAM = @INSTALL@ -m 755
13INSTALL_DATA = @INSTALL@ -m 644 18INSTALL_DATA = @INSTALL@ -m 644
22LINK = @LINKER@ $(LDFLAGS) 27LINK = @LINKER@ $(LDFLAGS)
23EXEEXT = @EXEEXT@ 28EXEEXT = @EXEEXT@
24PERLFLAGS = @PERLFLAGS@ 29PERLFLAGS = @PERLFLAGS@
25PERLLIB = @PERLLIB@ 30PERLLIB = @PERLLIB@
26 31
27srcdir = @srcdir@ 32srcdir = @srcdir@
28VPATH = @srcdir@ 33VPATH = @srcdir@
29 34
30first_rule: all 35first_rule: all
31dummy: 36dummy:
32 37
33COMMON = \ 38COMMON = \
34 background.o command.o rxvtfont.o init.o main.o misc.o \ 39 command.o rxvtfont.o init.o main.o misc.o \
35 screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ 40 screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
36 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ 41 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
37 rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \ 42 rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \
38 ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@ 43 ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@
39 44
40COMMON_DAEMON = rxvtdaemon.o 45COMMON_DAEMON = rxvtdaemon.o
41 46
42RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT) 47RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT)
43RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT) 48RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT)
44RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT) 49RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT)
50RCLOCK_BINNAME=$(DESTDIR)$(bindir)/urclock$(EXEEXT)
45 51
46# 52#
47# Distribution variables 53# Distribution variables
48# 54#
49 55
65 $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB) 71 $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB)
66 72
67rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o 73rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o
68 $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(LIBS) 74 $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(LIBS)
69 75
76rclock: rclock.o
77 $(LINK) -o $@ rclock.o $(LIBS) $(XLIB)
78
70#------------------------------------------------------------------------- 79#-------------------------------------------------------------------------
71 80
72#EXUBERANT_OPTS = -I NOTHROW -I THROW
73
74tags: *.[Ch] 81tags: *.[Ch]
75 ctags $(EXUBERANT_OPTS) *.[Ch] 82 ctags *.[Ch]
76 83
77TAGS: *.[Ch] 84TAGS: *.[Ch]
78 etags $(EXUBERANT_OPTS) *.[Ch] 85 etags *.[Ch]
79 86
80allbin: rxvt rxvtd rxvtc 87allbin: rxvt rxvtd rxvtc rclock
81 88
82alldoc: 89alldoc:
83 90
84clean: 91clean:
85 rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C 92 rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C manlst mantmp
86 rm -f *.o 93 rm -f *.o
87 94
88distclean: clean 95distclean: clean
89 rm -f Makefile 96 rm -f Makefile
90 97
95 102
96install-perl: 103install-perl:
97@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir) 104@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)
98@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt 105@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt
99@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl 106@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl
107@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man1dir)
108@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
100@IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm 109@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 110@IF_PERL@ for ext in $(srcdir)/perl/*; do \
111@IF_PERL@ test -f "$$ext" || continue; \
112@IF_PERL@ base=`basename "$$ext"`; \
113@IF_PERL@ $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \
114@IF_PERL@ < "$$ext" \
115@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "'urxvt-$$base'", $(PODOPTS))->parse_from_file' \
116@IF_PERL@ > mantmp; \
117@IF_PERL@ test -s mantmp && $(INSTALL_DATA) mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$base.$(man1ext); \
118@IF_PERL@ < "$$ext" $(PERL) -ne '<>, (print <> . "\n"), exit if /^=head1/' >&3; \
119@IF_PERL@ done 3>manlst
120@IF_PERL@ cat $(srcdir)/../doc/extensions.pod.top manlst $(srcdir)/../doc/extensions.pod.bot | \
121@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@IF_PERL@ < $(srcdir)/urxvt.pm \
125@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)perl", section => 3, $(PODOPTS))->parse_from_file' \
126@IF_PERL@ > mantmp
127@IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
102 128
103install-bin: allbin 129install-bin: allbin
104 $(INSTALL) -d $(DESTDIR)$(bindir) 130 $(INSTALL) -d $(DESTDIR)$(bindir)
105 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) 131 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
106 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) 132 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
107 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) 133 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
134 $(INSTALL_PROGRAM) rclock $(RCLOCK_BINNAME)
108 135
109install: install-bin install-perl 136install: install-bin install-perl
110 137
111perlxsi.c: Makefile 138perlxsi.c: Makefile
112 $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt 139 $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
113 140
114rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom 141rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom
115 PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@ 142 PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap 'typemap.iom' -typemap 'typemap' -prototypes $(srcdir)/rxvtperl.xs >$@
116 143
117rxvtperl.o: rxvtperl.C perlxsi.c 144rxvtperl.o: rxvtperl.C perlxsi.c
118 $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< 145 $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
119 146
120depend: 147depend:
121 makedepend -f Makefile.in -I. -I.. -I../libptytty/src -I../libev -Y *.C *.xs >/dev/null 2>&1 148 makedepend -f Makefile.in -I. -I.. -I../libptytty/src -I../libev -Y *.C *.xs >/dev/null 2>&1
122 149
150# makedepend has trouble finding these
151ev_cpp.o: ../libev/ev.c ../libev/ev_epoll.c ../libev/ev_kqueue.c ../libev/ev_linuxaio.c
152ev_cpp.o: ../libev/ev_poll.c ../libev/ev_port.c ../libev/ev_select.c ../libev/ev_win32.c
153
154
123# DO NOT DELETE: nice dependency list follows 155# DO NOT DELETE: nice dependency list follows
124 156
125background.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
126background.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
127background.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
128background.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
129background.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
130background.o: optinc.h
131command.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h 157command.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
132command.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h 158command.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
133command.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h 159command.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h
134command.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h 160command.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
135command.o: rxvtperl.h hookinc.h rsinc.h optinc.h version.h command.h 161command.o: rxvtperl.h hookinc.h rsinc.h optinc.h version.h command.h
216rxvttoolkit.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h 242rxvttoolkit.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
217rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h 243rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
218rxvttoolkit.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h 244rxvttoolkit.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
219rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h 245rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
220rxvttoolkit.o: optinc.h 246rxvttoolkit.o: optinc.h
221rxvtutil.o: rxvtutil.h ../libptytty/src/ecb.h ../libptytty/src/estl.h emman.h 247rxvtutil.o: emman.c emman.h ../libptytty/src/ecb.h rxvtutil.h
222rxvtutil.o: emman.c 248rxvtutil.o: ../libptytty/src/estl.h
223screen.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h 249screen.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
224screen.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h 250screen.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h rxvttoolkit.h
225screen.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h 251screen.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h
226screen.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h 252screen.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
227screen.o: hookinc.h rsinc.h optinc.h 253screen.o: hookinc.h rsinc.h optinc.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines