… | |
… | |
122 | |
122 | |
123 | install-perl: |
123 | install-perl: |
124 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir) |
124 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir) |
125 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt |
125 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt |
126 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl |
126 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl |
127 | @IF_PERL@ $(INSTALL_DATA) urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm |
127 | @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm |
128 | @IF_PERL@ for ext in perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/"$$ext"; done |
128 | @IF_PERL@ for ext in $(srcdir)/perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/"`basename "$$ext"`"; done |
129 | |
129 | |
130 | install: allbin alldoc install-perl |
130 | install: allbin alldoc install-perl |
131 | $(INSTALL) -d $(DESTDIR)$(bindir) |
131 | $(INSTALL) -d $(DESTDIR)$(bindir) |
132 | $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
132 | $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) |
133 | $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
133 | $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) |
134 | $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) |
134 | $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) |
135 | |
135 | |
136 | perlxsi.c: Makefile |
136 | perlxsi.c: Makefile |
137 | $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt |
137 | $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt |
138 | |
138 | |
139 | rxvtperl.C: rxvtperl.xs typemap |
139 | rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap |
140 | $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap -prototypes rxvtperl.xs >$@ |
140 | #$(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -csuffix .C -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap -prototypes rxvtperl.xs >$@ |
|
|
141 | PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@ |
141 | |
142 | |
142 | rxvtperl.o: rxvtperl.C perlxsi.c |
143 | rxvtperl.o: rxvtperl.C perlxsi.c |
143 | $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $< |
144 | $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $< |
144 | |
145 | |
145 | depend: |
146 | depend: |
|
|
147 | makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1 |
146 | makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1 |
148 | makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1 |
147 | |
149 | |
148 | # DO NOT DELETE: nice dependency list follows |
150 | # DO NOT DELETE: nice dependency list follows |
149 | |
151 | |
150 | command.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |
152 | command.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h |