*** empty log message ***
[dana/urxvt.git] / src / Makefile.in
index a00ef35..af39840 100644 (file)
@@ -1,7 +1,37 @@
-# $Id: Makefile.in,v 1.24 2005-02-02 08:09:23 root Exp $
-@MCOMMON@
-
-LINT = lint -DNARROWPROTO=1 $(XINC) -chapbxz
+DATE=@DATE@
+VERSION=@VERSION@
+RXVTNAME=@RXVTNAME@
+SHELL = /bin/sh
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+libdir = @libdir@
+includedir = @includedir@
+CC = @CC@
+CXX = @CXX@
+CPP = @CPP@
+MV = @MV@
+RM = @RM@
+RMF = @RM@ -f
+CP = @CP@
+LN = @LN@
+SED = @SED@
+ECHO = @ECHO@
+PERL = @PERL@
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL@ -m 755
+INSTALL_DATA = @INSTALL@ -m 644
+CXXFLAGS = @CXXFLAGS@ 
+CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+DEFS = @DEFS@
+LIBS = @LIBS@
+DINCLUDE = @DINCLUDE@
+DLIB = @DLIB@
+XINC = @X_CFLAGS@ @XPM_CFLAGS@
+XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@
+COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I.
+LINK = @LINKER@ $(LDFLAGS)
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -10,108 +40,80 @@ VPATH =            @srcdir@
 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
-#      -DDEBUG_MENUBAR_STACKING -DDEBUG_MENU_LAYOUT -DDEBUG_RESOURCES
+#      -DDEBUG_CMD -DDEBUG_MAIN -DDEBUG_RESOURCES
 #      -DDEBUG_SEARCH_PATH -DDEBUG_SIZE -DDEBUG_TTY -DDEBUG_TTYMODE
-#      -DDEBUG_KEYBOARD
+#      -DDEBUG_KEYBOARD -DDEBUG_STRICT
 DEBUG=-DDEBUG_STRICT @DEBUG@
 
 first_rule: all
 dummy:
 
-LIBSRCS = command.C rxvtfont.C init.C logging.C \
-       main.C menubar.C misc.C netdisp.C ptytty.C screen.C scrollbar.C \
-       scrollbar-rxvt.C scrollbar-next.C scrollbar-xterm.C strings.C \
-       xdefaults.C xpm.C encoding.C rxvttoolkit.C rxvtutil.C iom.C \
-       scrollbar-plain.C keyboard.C
-
-SRCS =  rxvt.C $(LIBSRCS)
-
-HDRS = command.h rxvtfont.h feature.h init.h logging.h \
-       menubar.h netdisp.h rxvt.h rxvtgrx.h version.h encoding.h \
-       rxvtutil.h iom.h iom_conf.h keyboard.h
-
-EXTRAHDRS = rxvtlib.h rxvtdaemon.h
+COMMON = \
+        command.o rxvtfont.o init.o logging.o main.o misc.o netdisp.o      \
+       ptytty.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o    \
+       scrollbar-xterm.o scrollbar-plain.o xdefaults.o xpm.o encoding.o   \
+       rxvttoolkit.o rxvtutil.o iom.o keyboard.o fdpass.o @PERL_O@
 
-OBJS = command.o rxvtfont.o init.o logging.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 rxvt.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o
-LIBOBJS = command.lo rxvtfont.lo init.lo logging.lo \
-       main.lo menubar.lo misc.lo netdisp.lo ptytty.lo screen.lo \
-       scrollbar.lo scrollbar-next.lo scrollbar-rxvt.lo scrollbar-xterm.lo scrollbar-plain.lo \
-       strings.lo xdefaults.lo xpm.lo encoding.lo rxvt.lo rxvttoolkit.lo rxvtutil.lo iom.lo keyboard.lo
-
-LIBVERSION = @LIBVERSION@
-INSTALL_LIBRXVT = @INSTALL_LIBRXVT@
+COMMON_DAEMON = rxvtdaemon.o
 
 RXVT_BASENAME=`$(ECHO) $(RXVTNAME)|$(SED) 's/$(EXEEXT)$$//'|$(SED) '$(transform)'`
 RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT)
 RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT)
 RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT)
-RXVT_OLDNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)-old$(EXEEXT)
-
-INTPROS = rxvtfont.intpro logging.intpro main.intpro misc.intpro \
-         ptytty.intpro xpm.intpro
 
 #
 # Distribution variables
 #
 
-DIST = $(HDRS) $(SRCS) Makefile.in gcc-Wall rxvtlib.h.in $(INTPROS)
-
-.SUFFIXES:     .C .o .intpro .lo
+.SUFFIXES:     .C .o
 
 #-------------------------------------------------------------------------
 # inference rules
 .C.o:
        $(COMPILE) -c $<
 
-.C.lo:
-       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-
-.s.lo:
-       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-
-.S.lo:
-       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-
-.C.intpro:
-       @$(RMF) $@.tmp
-       @$(AWK) -f $(srcdir)/makeintprotos-awk $< > $@.tmp
-       @if $(CMP) -s $@ $@.tmp ; then : ; else $(ECHO) "$(AWK) -f $(srcdir)/makeintprotos-awk $< > $@"; $(CP) $@.tmp $@; fi
-       @$(RMF) $@.tmp
+#.C.lo:
+#      $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+#
+#.s.lo:
+#      $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+#
+#.S.lo:
+#      $(LIBTOOL) --mode=compile $(COMPILE) -c $<
 
 #-------------------------------------------------------------------------
 
 all: allbin
 
-rxvt: version.h rxvt.o librxvt.la
-       $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
+rxvt: rxvt.o $(COMMON)
+       $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@
+#      $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
 
-rxvtd: version.h rxvtd.o librxvt.la rxvtdaemon.o
-       $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
+rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON)
+       $(LINK) -o $@ $^ $(LIBS) $(XLIB) $(DLIB) @PERLLIB@
+#      $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) $(DLIB) -o $@
 
-rxvtc: version.h rxvtc.o rxvtdaemon.o
-       $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@
+rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o
+       $(LINK) -o $@ $^ $(LIBS) $(DLIB)
+#      $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) $(DLIB) -o $@
 
-librxvt.la: $(LIBOBJS)
-       $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@
+#librxvt.la: $(LIBOBJS)
+#      $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@
 
 #-------------------------------------------------------------------------
 
-tags: $(SRCS) $(HDRS) $(EXTRAHDRS)
-       ctags $(SRCS) $(HDRS) $(EXTRAHDRS)
+tags:
+       ctags *.h *.C
 
 allbin: rxvt rxvtd rxvtc
 
 alldoc:
 
 clean:
-       $(RMF) rxvt rxvtc rxvtd core a.out *.o *.lo *.bak *~ *.intpro .libs/* librxvt.la tmpproto *.tmp
+       $(RMF) rxvt rxvtc rxvtd perlxsi.c rxvtperl.C
+       $(RMF) *.o *.lo .libs/* librxvt.la tmpproto *.tmp
 
 realclean: clean
        $(RMF) tags librxvt.h
@@ -121,38 +123,27 @@ cleandir: realclean
 distclean: realclean
        (cd $(srcdir); $(RMF) Makefile)
 
-install: allbin alldoc
-       $(MKDIR) $(DESTDIR)$(includedir) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
-       @if test x$(INSTALL_LIBRXVT) = xyes; then \
-           $(ECHO) "$(LIBTOOL) --mode=install $(INSTALL_DATA) rxvtlib.h $(DESTDIR)$(includedir)/rxvtlib.h"; \
-           $(LIBTOOL) --mode=install $(INSTALL_DATA) rxvtlib.h $(DESTDIR)$(includedir)/rxvtlib.h; \
-           $(ECHO) "$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) librxvt.la $(DESTDIR)$(libdir)/librxvt.la"; \
-           $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) librxvt.la $(DESTDIR)$(libdir)/librxvt.la; \
-       fi
-       $(RMF) $(RXVT_BINNAME)
-       $(RMF) $(RXVTC_BINNAME)
-       $(RMF) $(RXVTD_BINNAME)
-       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) rxvt  $(RXVT_BINNAME)
-       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
-       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME)
-
-uninstall:
-       @$(ECHO) $(RMF) $(RXVT_VERNAME)
-       @$(RMF) $(RXVT_VERNAME)
-       @$(ECHO) "$(LIBTOOL) --mode=uninstall $(RMF) $(RXVT_BINNAME)"
-       @$(LIBTOOL) --mode=uninstall $(RMF) $(RXVT_BINNAME)
-       @if test x$(INSTALL_LIBRXVT) = xyes; then \
-           $(ECHO) "$(LIBTOOL) --mode=uninstall $(RMF) $(DESTDIR)$(libdir)/librxvt.la"; \
-           $(LIBTOOL) --mode=uninstall $(RMF) $(DESTDIR)$(libdir)/librxvt.la; \
-           $(ECHO) "$(LIBTOOL) --mode=uninstall $(RMF) $(DESTDIR)$(includedir)/rxvtlib.h"; \
-           $(LIBTOOL) --mode=uninstall $(RMF) $(DESTDIR)$(includedir)/rxvtlib.h; \
-       fi
-
-distdirs:
-       mkdir $(basedir)/../$(VERNAME)/$(thisdir)
-
-distcopy: $(INTPROS)
-       $(CP) -p $(DIST) $(basedir)/../$(VERNAME)/$(thisdir)
+install-perl:
+@IF_PERL@      $(INSTALL) -d $(DESTDIR)$(libdir)
+@IF_PERL@      $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt
+@IF_PERL@      $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl
+@IF_PERL@      $(INSTALL_DATA) urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm
+@IF_PERL@      for ext in perl/*; do test -f "$$ext" && $(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) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/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
@@ -160,9 +151,10 @@ depend:
 
 # DO NOT DELETE: nice dependency list follows
 
-command.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+command.o: ../config.h rxvt.h rxvtlib.h optinc.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 rxvtperl.h hookinc.h rsinc.h version.h command.h
+command.o: 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
@@ -178,80 +170,81 @@ encoding.o: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
 encoding.o: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
 encoding.o: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
 encoding.o: table/compose.h table/category.h
-init.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
+fdpass.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
+fdpass.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
+fdpass.o: salloc.h rxvtperl.h hookinc.h rsinc.h fdpass.h
+init.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtfont.h
 init.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
-init.o: menubar.h init.h
+init.o: rxvtperl.h hookinc.h rsinc.h init.h
 iom.o: iom.h iom_conf.h rxvtutil.h callback.h
-keyboard.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+keyboard.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 keyboard.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-keyboard.o: salloc.h menubar.h keyboard.h command.h
-logging.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+keyboard.o: salloc.h rxvtperl.h hookinc.h rsinc.h keyboard.h command.h
+logging.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 logging.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-logging.o: salloc.h menubar.h logging.h logging.intpro
-main.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
+logging.o: salloc.h rxvtperl.h hookinc.h rsinc.h ptytty.h
+main.o: ../config.h rxvt.h rxvtlib.h optinc.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 main.intpro keyboard.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
-misc.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
+main.o: rxvtperl.h hookinc.h rsinc.h keyboard.h
+misc.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtfont.h
 misc.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
-misc.o: menubar.h misc.intpro
-netdisp.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+misc.o: rxvtperl.h hookinc.h rsinc.h
+netdisp.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 netdisp.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-netdisp.o: salloc.h menubar.h
-ptytty.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+netdisp.o: salloc.h rxvtperl.h hookinc.h rsinc.h
+ptytty.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 ptytty.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-ptytty.o: salloc.h menubar.h
-rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
+ptytty.o: salloc.h rxvtperl.h hookinc.h rsinc.h fdpass.h ptytty.h
+rxvt.o: ../config.h rxvt.h rxvtlib.h optinc.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
-rxvtd.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+rxvt.o: rxvtperl.h hookinc.h rsinc.h
+rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h fdpass.h rxvt.h rxvtlib.h
+rxvtc.o: optinc.h feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h
+rxvtc.o: iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
+rxvtd.o: ../config.h rxvt.h rxvtlib.h optinc.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 rxvtperl.h hookinc.h rsinc.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: ../config.h rxvt.h rxvtlib.h optinc.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
-rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+rxvtfont.o: salloc.h rxvtperl.h hookinc.h rsinc.h table/linedraw.h
+rxvtperl.o: ../config.h iom.h iom_conf.h rxvtutil.h callback.h rxvt.h
+rxvtperl.o: rxvtlib.h optinc.h feature.h encoding.h rxvtfont.h rxvttoolkit.h
+rxvtperl.o: salloc.h rxvtperl.h hookinc.h rsinc.h keyboard.h perlxsi.c
+rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h optinc.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
+rxvttoolkit.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
 rxvtutil.o: rxvtutil.h
 salloc.o: salloc.h
-screen.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+screen.o: ../config.h rxvt.h rxvtlib.h optinc.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
-scrollbar-next.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+screen.o: salloc.h rxvtperl.h hookinc.h rsinc.h salloc.C
+scrollbar-next.o: ../config.h rxvt.h rxvtlib.h optinc.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
-scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+scrollbar-next.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
+scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 scrollbar-plain.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
-scrollbar-plain.o: callback.h salloc.h menubar.h
-scrollbar-rxvt.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+scrollbar-plain.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
+scrollbar-rxvt.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 scrollbar-rxvt.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
-scrollbar-rxvt.o: callback.h salloc.h menubar.h
-scrollbar-xterm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+scrollbar-rxvt.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
+scrollbar-xterm.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 scrollbar-xterm.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
-scrollbar-xterm.o: callback.h salloc.h menubar.h
-scrollbar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+scrollbar-xterm.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
+scrollbar.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 scrollbar.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-scrollbar.o: salloc.h menubar.h
-strings.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
-strings.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-strings.o: salloc.h menubar.h
-xdefaults.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+scrollbar.o: salloc.h rxvtperl.h hookinc.h rsinc.h
+xdefaults.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 xdefaults.o: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-xdefaults.o: salloc.h menubar.h version.h keyboard.h
-xpm.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
+xdefaults.o: salloc.h rxvtperl.h hookinc.h rsinc.h version.h keyboard.h
+xpm.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtfont.h
 xpm.o: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
-xpm.o: menubar.h xpm.intpro
+xpm.o: rxvtperl.h hookinc.h rsinc.h
 
-command.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+command.lo: ../config.h rxvt.h rxvtlib.h optinc.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 rxvtperl.h hookinc.h rsinc.h version.h command.h
+command.lo: 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
@@ -267,73 +260,75 @@ encoding.lo: table/cns11643_1992_f.h table/big5_ext.h table/big5_plus.h
 encoding.lo: table/viscii.h table/jis0201_1976_0.h table/jis0208_1990_0.h
 encoding.lo: table/jis0212_1990_0.h table/jis0213_1.h table/jis0213_2.h
 encoding.lo: table/compose.h table/category.h
-init.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+fdpass.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
+fdpass.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
+fdpass.lo: salloc.h rxvtperl.h hookinc.h rsinc.h fdpass.h
+init.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 init.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-init.lo: salloc.h menubar.h init.h
+init.lo: salloc.h rxvtperl.h hookinc.h rsinc.h init.h
 iom.lo: iom.h iom_conf.h rxvtutil.h callback.h
-keyboard.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+keyboard.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 keyboard.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-keyboard.lo: salloc.h menubar.h keyboard.h command.h
-logging.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+keyboard.lo: salloc.h rxvtperl.h hookinc.h rsinc.h keyboard.h command.h
+logging.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 logging.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-logging.lo: salloc.h menubar.h logging.h logging.intpro
-main.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+logging.lo: salloc.h rxvtperl.h hookinc.h rsinc.h ptytty.h
+main.lo: ../config.h rxvt.h rxvtlib.h optinc.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 main.intpro keyboard.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
-misc.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+main.lo: salloc.h rxvtperl.h hookinc.h rsinc.h keyboard.h
+misc.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 misc.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-misc.lo: salloc.h menubar.h misc.intpro
-netdisp.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+misc.lo: salloc.h rxvtperl.h hookinc.h rsinc.h
+netdisp.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 netdisp.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-netdisp.lo: salloc.h menubar.h
-ptytty.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+netdisp.lo: salloc.h rxvtperl.h hookinc.h rsinc.h
+ptytty.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 ptytty.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-ptytty.lo: salloc.h menubar.h
-rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+ptytty.lo: salloc.h rxvtperl.h hookinc.h rsinc.h fdpass.h ptytty.h
+rxvt.lo: ../config.h rxvt.h rxvtlib.h optinc.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
-rxvtd.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+rxvt.lo: salloc.h rxvtperl.h hookinc.h rsinc.h
+rxvtc.lo: ../config.h rxvtdaemon.h rxvtutil.h fdpass.h rxvt.h rxvtlib.h
+rxvtc.lo: optinc.h feature.h encoding.h rxvtfont.h rxvttoolkit.h iom.h
+rxvtc.lo: iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
+rxvtd.lo: ../config.h rxvt.h rxvtlib.h optinc.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 rxvtperl.h hookinc.h rsinc.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: ../config.h rxvt.h rxvtlib.h optinc.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
-rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+rxvtfont.lo: salloc.h rxvtperl.h hookinc.h rsinc.h table/linedraw.h
+rxvtperl.lo: ../config.h iom.h iom_conf.h rxvtutil.h callback.h rxvt.h
+rxvtperl.lo: rxvtlib.h optinc.h feature.h encoding.h rxvtfont.h rxvttoolkit.h
+rxvtperl.lo: salloc.h rxvtperl.h hookinc.h rsinc.h keyboard.h perlxsi.c
+rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h optinc.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
+rxvttoolkit.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
 rxvtutil.lo: rxvtutil.h
 salloc.lo: salloc.h
-screen.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+screen.lo: ../config.h rxvt.h rxvtlib.h optinc.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
-scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+screen.lo: salloc.h rxvtperl.h hookinc.h rsinc.h salloc.C
+scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h optinc.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
-scrollbar-plain.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h
+scrollbar-next.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
+scrollbar-plain.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h
 scrollbar-plain.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h
-scrollbar-plain.lo: iom_conf.h callback.h salloc.h menubar.h
-scrollbar-rxvt.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+scrollbar-plain.lo: iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h
+scrollbar-plain.lo: rsinc.h
+scrollbar-rxvt.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 scrollbar-rxvt.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h
-scrollbar-rxvt.lo: callback.h salloc.h menubar.h
-scrollbar-xterm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h
+scrollbar-rxvt.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h
+scrollbar-xterm.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h
 scrollbar-xterm.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h
-scrollbar-xterm.lo: iom_conf.h callback.h salloc.h menubar.h
-scrollbar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+scrollbar-xterm.lo: iom_conf.h callback.h salloc.h rxvtperl.h hookinc.h
+scrollbar-xterm.lo: rsinc.h
+scrollbar.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 scrollbar.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-scrollbar.lo: salloc.h menubar.h
-strings.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
-strings.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-strings.lo: salloc.h menubar.h
-xdefaults.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h
+scrollbar.lo: salloc.h rxvtperl.h hookinc.h rsinc.h
+xdefaults.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h
 xdefaults.lo: rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h
-xdefaults.lo: salloc.h menubar.h version.h keyboard.h
-xpm.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h encoding.h rxvtfont.h
+xdefaults.lo: salloc.h rxvtperl.h hookinc.h rsinc.h version.h keyboard.h
+xpm.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtfont.h
 xpm.lo: rxvtutil.h rxvttoolkit.h iom.h iom_conf.h callback.h salloc.h
-xpm.lo: menubar.h xpm.intpro
+xpm.lo: rxvtperl.h hookinc.h rsinc.h