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.172 by root, Fri Sep 21 23:31:43 2012 UTC vs.
Revision 1.190 by sf-exg, Thu Jun 10 09:01:52 2021 UTC

34 34
35first_rule: all 35first_rule: all
36dummy: 36dummy:
37 37
38COMMON = \ 38COMMON = \
39 background.o command.o rxvtfont.o init.o main.o misc.o \ 39 command.o rxvtfont.o init.o main.o misc.o \
40 screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ 40 screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
41 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ 41 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
42 rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \ 42 rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \
43 ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@ 43 ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@
44 44
45COMMON_DAEMON = rxvtdaemon.o 45COMMON_DAEMON = rxvtdaemon.o
46 46
47RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT) 47RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT)
48RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT) 48RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT)
49RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT) 49RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT)
50RCLOCK_BINNAME=$(DESTDIR)$(bindir)/urclock$(EXEEXT)
50 51
51# 52#
52# Distribution variables 53# Distribution variables
53# 54#
54 55
70 $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB) 71 $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB)
71 72
72rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o 73rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o
73 $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(LIBS) 74 $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(LIBS)
74 75
76rclock: rclock.o
77 $(LINK) -o $@ rclock.o $(LIBS) $(XLIB)
78
75#------------------------------------------------------------------------- 79#-------------------------------------------------------------------------
76 80
77#EXUBERANT_OPTS = -I NOTHROW -I THROW
78
79tags: *.[Ch] 81tags: *.[Ch]
80 ctags $(EXUBERANT_OPTS) *.[Ch] 82 ctags *.[Ch]
81 83
82TAGS: *.[Ch] 84TAGS: *.[Ch]
83 etags $(EXUBERANT_OPTS) *.[Ch] 85 etags *.[Ch]
84 86
85allbin: rxvt rxvtd rxvtc 87allbin: rxvt rxvtd rxvtc rclock
86 88
87alldoc: 89alldoc:
88 90
89clean: 91clean:
90 rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C manlst mantmp 92 rm -f rxvt rxvtc rxvtd rclock perlxsi.c rxvtperl.C manlst mantmp
91 rm -f *.o 93 rm -f *.o
92 94
93distclean: clean 95distclean: clean
94 rm -f Makefile 96 rm -f Makefile
95 97
103@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt 105@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt
104@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl 106@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl
105@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man1dir) 107@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man1dir)
106@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) 108@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
107@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
108@IF_PERL@ cd $(srcdir)/perl; \
109@IF_PERL@ for ext in *; do \ 110@IF_PERL@ for ext in $(srcdir)/perl/*; do \
110@IF_PERL@ test -f "$$ext" || continue; \ 111@IF_PERL@ test -f "$$ext" || continue; \
112@IF_PERL@ base=`basename "$$ext"`; \
111@IF_PERL@ $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \ 113@IF_PERL@ $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \
112@IF_PERL@ < "$$ext" \ 114@IF_PERL@ < "$$ext" \
113@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "'rxvt-$$ext'", $(PODOPTS))->parse_from_file' \ 115@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "'urxvt-$$base'", $(PODOPTS))->parse_from_file' \
114@IF_PERL@ > ../mantmp; \ 116@IF_PERL@ > mantmp; \
115@IF_PERL@ test -s ../mantmp && $(INSTALL_DATA) ../mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$ext.$(man1ext); \ 117@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; \ 118@IF_PERL@ < "$$ext" $(PERL) -ne '<>, (print <> . "\n"), exit if /^=head1/' >&3; \
117@IF_PERL@ done 3>../manlst 119@IF_PERL@ done 3>manlst
118@IF_PERL@ cat ../doc/extensions.pod.top manlst ../doc/extensions.pod.bot | \ 120@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' \ 121@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)-extensions", $(PODOPTS))->parse_from_file' \
120@IF_PERL@ > mantmp 122@IF_PERL@ > mantmp
121@IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-extensions.$(man1ext) 123@IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-extensions.$(man1ext)
122@IF_PERL@ < urxvt.pm \ 124@IF_PERL@ < $(srcdir)/urxvt.pm \
123@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)perl", $(PODOPTS))->parse_from_file' \ 125@IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)perl", section => 3, $(PODOPTS))->parse_from_file' \
124@IF_PERL@ > mantmp 126@IF_PERL@ > mantmp
125@IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext) 127@IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
126 128
127install-bin: allbin 129install-bin: allbin
128 $(INSTALL) -d $(DESTDIR)$(bindir) 130 $(INSTALL) -d $(DESTDIR)$(bindir)
129 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) 131 $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
130 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) 132 $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
131 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) 133 $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
134 $(INSTALL_PROGRAM) rclock $(RCLOCK_BINNAME)
132 135
133install: install-bin install-perl 136install: install-bin install-perl
134 137
135perlxsi.c: Makefile 138perlxsi.c: Makefile
136 $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt 139 $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt
137 140
138rxvtperl.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
139 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 >$@
140 143
141rxvtperl.o: rxvtperl.C perlxsi.c 144rxvtperl.o: rxvtperl.C perlxsi.c
142 $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< 145 $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
143 146
144depend: 147depend:
145 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
146 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
147# DO NOT DELETE: nice dependency list follows 155# DO NOT DELETE: nice dependency list follows
148 156
149background.o: ../config.h rxvt.h feature.h ../libptytty/src/ecb.h encoding.h
150background.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
151background.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
152background.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
153background.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
154background.o: optinc.h
155command.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
156command.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h 158command.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
157command.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
158command.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h 160command.o: callback.h rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h
159command.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
240rxvttoolkit.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h 242rxvttoolkit.o: rxvtutil.h ../libptytty/src/estl.h emman.h rxvtfont.h
241rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h 243rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h
242rxvttoolkit.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h 244rxvttoolkit.o: ../libev/ev.h callback.h rxvtimg.h scrollbar.h
243rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h 245rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h
244rxvttoolkit.o: optinc.h 246rxvttoolkit.o: optinc.h
245rxvtutil.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
246rxvtutil.o: emman.c 248rxvtutil.o: ../libptytty/src/estl.h
247screen.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
248screen.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
249screen.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
250screen.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h 252screen.o: rxvtimg.h scrollbar.h ../libptytty/src/libptytty.h rxvtperl.h
251screen.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