--- rxvt-unicode/src/Makefile.in 2005/12/23 14:46:34 1.28 +++ rxvt-unicode/src/Makefile.in 2006/01/02 16:04:34 1.32 @@ -9,7 +9,6 @@ top_builddir = .. basedir = .. thisdir = src -MKDIR = @top_srcdir@/autoconf/mkinstalldirs # for developers: the following debug options may be used # -DDEBUG_CMD -DDEBUG_MAIN -DDEBUG_MENU -DDEBUG_MENUARROWS @@ -22,7 +21,7 @@ dummy: COMMON = \ - command.o rxvtfont.o init.o logging.o \ + command.o rxvtfont.o init.o logging.o @PERL_O@ \ main.o menubar.o misc.o netdisp.o ptytty.o screen.o \ scrollbar.o scrollbar-next.o scrollbar-rxvt.o scrollbar-xterm.o scrollbar-plain.o \ strings.o xdefaults.o xpm.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o @@ -60,11 +59,11 @@ all: allbin rxvt: rxvt.o $(COMMON) - $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) + $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@ # $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) - $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) + $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@ # $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@ rxvtc: rxvtc.o $(COMMON_DAEMON) @@ -94,15 +93,28 @@ distclean: realclean (cd $(srcdir); $(RMF) Makefile) -install: allbin alldoc - $(MKDIR) $(DESTDIR)$(bindir) - $(RMF) $(RXVT_BINNAME) - $(RMF) $(RXVTC_BINNAME) - $(RMF) $(RXVTD_BINNAME) +install-perl: +@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir) +@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt +@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl-ext +@IF_PERL@ $(INSTALL_DATA) urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm +@IF_PERL@ for ext in perl-ext/*; do $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/"$$ext"; done + +install: allbin alldoc install-perl + $(INSTALL) -d $(DESTDIR)$(bindir) $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) +perlxsi.c: Makefile + $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt + +rxvtperl.C: rxvtperl.xs typemap + $(PERL) @PERLARCHLIB@/ExtUtils/xsubpp -C++ -typemap @PERLARCHLIB@/ExtUtils/typemap -typemap typemap -prototypes $< >$@ + +rxvtperl.o: rxvtperl.C perlxsi.c + $(COMPILE) @PERLFLAGS@ -DLIBDIR="\"$(libdir)/urxvt\"" -c $< + depend: makedepend -f Makefile.in -I. -Y *.C >/dev/null 2>&1 makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1 @@ -111,7 +123,7 @@ command.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h command.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h -command.o: salloc.h menubar.h version.h command.h keyboard.h +command.o: salloc.h menubar.h rxvtperl.h version.h command.h keyboard.h encoding.o: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h encoding.o: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h encoding.o: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h @@ -140,7 +152,7 @@ logging.o: salloc.h menubar.h logging.h main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h main.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h -main.o: menubar.h keyboard.h +main.o: menubar.h keyboard.h rxvtperl.h menubar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h menubar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h menubar.o: salloc.h menubar.h version.h @@ -156,16 +168,19 @@ rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h rxvt.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h rxvt.o: menubar.h -rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h rxvt.h rxvtlib.h ptytty.h -rxvtc.o: feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h -rxvtc.o: callback.h salloc.h menubar.h +rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h fdpass.h rxvt.h rxvtlib.h +rxvtc.o: ptytty.h feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h +rxvtc.o: iom_conf.h callback.h salloc.h menubar.h rxvtd.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtd.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h -rxvtd.o: salloc.h menubar.h rxvtdaemon.h +rxvtd.o: salloc.h menubar.h rxvtdaemon.h fdpass.h rxvtdaemon.o: rxvtdaemon.h rxvtutil.h rxvtfont.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h rxvtfont.o: salloc.h menubar.h table/linedraw.h +rxvtperl.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h +rxvtperl.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h +rxvtperl.o: salloc.h menubar.h rxvtperl.h perlxsi.c rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvttoolkit.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h rxvttoolkit.o: callback.h salloc.h menubar.h @@ -173,7 +188,7 @@ salloc.o: salloc.h screen.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h screen.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h -screen.o: salloc.h menubar.h salloc.C +screen.o: salloc.h menubar.h rxvtperl.h salloc.C scrollbar-next.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h scrollbar-next.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h scrollbar-next.o: callback.h salloc.h menubar.h @@ -201,7 +216,7 @@ command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h command.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h -command.lo: salloc.h menubar.h version.h command.h keyboard.h +command.lo: salloc.h menubar.h rxvtperl.h version.h command.h keyboard.h encoding.lo: ../config.h encoding.h table/iso8859_1.h table/iso8859_15.h encoding.lo: table/iso8859_2.h table/iso8859_3.h table/iso8859_4.h encoding.lo: table/iso8859_5.h table/iso8859_6.h table/iso8859_7.h @@ -230,7 +245,7 @@ logging.lo: salloc.h menubar.h logging.h main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h main.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h -main.lo: salloc.h menubar.h keyboard.h +main.lo: salloc.h menubar.h keyboard.h rxvtperl.h menubar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h menubar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h menubar.lo: salloc.h menubar.h version.h @@ -246,16 +261,19 @@ rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h rxvt.lo: salloc.h menubar.h -rxvtc.lo: ../config.h rxvtdaemon.h rxvtutil.h rxvt.h rxvtlib.h ptytty.h -rxvtc.lo: feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h iom_conf.h -rxvtc.lo: callback.h salloc.h menubar.h +rxvtc.lo: ../config.h rxvtdaemon.h rxvtutil.h fdpass.h rxvt.h rxvtlib.h +rxvtc.lo: ptytty.h feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h +rxvtc.lo: iom_conf.h callback.h salloc.h menubar.h rxvtd.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtd.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h -rxvtd.lo: salloc.h menubar.h rxvtdaemon.h +rxvtd.lo: salloc.h menubar.h rxvtdaemon.h fdpass.h rxvtdaemon.lo: rxvtdaemon.h rxvtutil.h rxvtfont.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h rxvtfont.lo: salloc.h menubar.h table/linedraw.h +rxvtperl.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h +rxvtperl.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h +rxvtperl.lo: salloc.h menubar.h rxvtperl.h perlxsi.c rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvttoolkit.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h rxvttoolkit.lo: callback.h salloc.h menubar.h @@ -263,7 +281,7 @@ salloc.lo: salloc.h screen.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h screen.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h -screen.lo: salloc.h menubar.h salloc.C +screen.lo: salloc.h menubar.h rxvtperl.h salloc.C scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h scrollbar-next.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h scrollbar-next.lo: callback.h salloc.h menubar.h