DATE=@DATE@ VERSION=@VERSION@ RXVTNAME=@RXVTNAME@ SHELL = /bin/sh prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ CXX = @CXX@ PERL = @PERL@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL@ -m 755 INSTALL_DATA = @INSTALL@ -m 644 CXXFLAGS = @CXXFLAGS@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ DEFS = @DEFS@ LIBS = @LIBS@ XINC = @X_CFLAGS@ @PIXBUF_CFLAGS@ @STARTUP_NOTIFICATION_CFLAGS@ XLIB = @X_LIBS@ -lX11 @X_EXTRA_LIBS@ @PIXBUF_LIBS@ @STARTUP_NOTIFICATION_LIBS@ COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev -I$(srcdir)/../libptytty/src -I$(srcdir)/../libecb $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(XINC) LINK = @LINKER@ $(LDFLAGS) EXEEXT = @EXEEXT@ PERLFLAGS = @PERLFLAGS@ PERLLIB = @PERLLIB@ srcdir = @srcdir@ VPATH = @srcdir@ first_rule: all dummy: COMMON = \ background.o command.o rxvtfont.o init.o main.o misc.o \ screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ rxvttoolkit.o rxvtutil.o keyboard.o \ ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@ COMMON_DAEMON = rxvtdaemon.o RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT) RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT) RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT) # # Distribution variables # .SUFFIXES: .C .c .o #------------------------------------------------------------------------- # inference rules .C.o: $(COMPILE) -c $< #------------------------------------------------------------------------- all: allbin rxvt: rxvt.o $(COMMON) $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) $(PERLLIB) rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) $(PERLLIB) rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass_wrapper.o $(LIBS) #------------------------------------------------------------------------- #EXUBERANT_OPTS = -I NOTHROW -I THROW tags: *.[Ch] ctags $(EXUBERANT_OPTS) *.[Ch] TAGS: *.[Ch] etags $(EXUBERANT_OPTS) *.[Ch] allbin: rxvt rxvtd rxvtc alldoc: clean: rm -f rxvt rxvtc rxvtd perlxsi.c rxvtperl.C rm -f *.o distclean: clean rm -f Makefile realclean: distclean rm -f tags TAGS cleandir: realclean 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) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm @IF_PERL@ for ext in $(srcdir)/perl/*; do test -f "$$ext" && $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; done install-bin: allbin $(INSTALL) -d $(DESTDIR)$(bindir) $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) install: install-bin install-perl perlxsi.c: Makefile $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@ rxvtperl.o: rxvtperl.C perlxsi.c $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< depend: makedepend -f Makefile.in -I. -I.. -I../libev -I../libptytty/src -I../libecb -Y *.C >/dev/null 2>&1 # DO NOT DELETE: nice dependency list follows background.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h background.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h background.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h background.o: ../libev/ev.h callback.h scrollbar.h salloc.h background.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h background.o: optinc.h command.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h ../libecb/ecb.h command.o: ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h ev_cpp.h command.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h command.o: salloc.h ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h command.o: optinc.h version.h command.h keyboard.h encoding.o: ../config.h encoding.h rxvtutil.h ../libecb/ecb.h encoding.o: ../libptytty/src/estl.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 encoding.o: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h encoding.o: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h encoding.o: table/iso8859_16.h table/koi8_r.h table/koi8_u.h encoding.o: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h encoding.o: table/gb2312_1980_0.h table/cns11643_1992_1.h encoding.o: table/cns11643_1992_2.h table/cns11643_1992_3.h encoding.o: table/cns11643_1992_4.h table/cns11643_1992_5.h encoding.o: table/cns11643_1992_6.h table/cns11643_1992_7.h 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 ev_cpp.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h ../libev/ev.c ev_cpp.o: ../libev/ev_vars.h ../libev/ev_epoll.c ../libev/ev_select.c fdpass_wrapper.o: ../libptytty/src/fdpass.C ../config.h fdpass_wrapper.o: ../libptytty/src/libptytty.h init.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h ../libecb/ecb.h init.o: ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h init.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h init.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h init.o: init.h keyboard.h keyboard.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h keyboard.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h keyboard.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h keyboard.o: scrollbar.h salloc.h ../libptytty/src/libptytty.h rxvtperl.h keyboard.o: hookinc.h rsinc.h optinc.h keyboard.h main.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h ../libecb/ecb.h main.o: ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h main.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h main.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h main.o: init.h keyboard.h misc.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h ../libecb/ecb.h misc.o: ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h misc.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h misc.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h ptytty_wrapper.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h ptytty_wrapper.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h ptytty_wrapper.o: rxvttoolkit.h ev_cpp.h ../libev/ev++.h ../libev/ev.h ptytty_wrapper.o: callback.h scrollbar.h salloc.h ptytty_wrapper.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h ptytty_wrapper.o: optinc.h ../libptytty/src/logging.C ptytty_wrapper.o: ../libptytty/src/ptytty.h ../libptytty/src/ptytty_conf.h ptytty_wrapper.o: ../libptytty/src/proxy.C ../libptytty/src/ptytty.C rxvt.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h ../libecb/ecb.h rxvt.o: ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h ev_cpp.h ../config.h rxvt.o: ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h salloc.h rxvt.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h optinc.h rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h ../libecb/ecb.h rxvtc.o: ../libptytty/src/estl.h ../libptytty/src/libptytty.h rxvtd.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h ../libecb/ecb.h rxvtd.o: ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h ev_cpp.h rxvtd.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h rxvtd.o: salloc.h ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h rxvtd.o: optinc.h rxvtdaemon.h rxvtdaemon.o: rxvtdaemon.h rxvtutil.h ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvtfont.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h rxvtfont.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h rxvtfont.o: scrollbar.h salloc.h ../libptytty/src/libptytty.h rxvtperl.h rxvtfont.o: hookinc.h rsinc.h optinc.h table/linedraw.h rxvttoolkit.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h rxvttoolkit.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h rxvttoolkit.o: ../libev/ev.h callback.h scrollbar.h salloc.h rxvttoolkit.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h rxvttoolkit.o: optinc.h rxvtutil.o: rxvtutil.h ../libecb/ecb.h ../libptytty/src/estl.h salloc.o: salloc.h screen.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h ../libecb/ecb.h screen.o: ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h ev_cpp.h screen.o: ../config.h ../libev/ev++.h ../libev/ev.h callback.h scrollbar.h screen.o: salloc.h ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h screen.o: optinc.h salloc.C scrollbar-next.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h scrollbar-next.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h scrollbar-next.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h scrollbar-next.o: ../libev/ev.h callback.h scrollbar.h salloc.h scrollbar-next.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h scrollbar-next.o: optinc.h scrollbar-plain.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h scrollbar-plain.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h scrollbar-plain.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h scrollbar-plain.o: ../libev/ev.h callback.h scrollbar.h salloc.h scrollbar-plain.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h scrollbar-plain.o: optinc.h scrollbar-rxvt.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h scrollbar-rxvt.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h scrollbar-rxvt.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h scrollbar-rxvt.o: ../libev/ev.h callback.h scrollbar.h salloc.h scrollbar-rxvt.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h scrollbar-rxvt.o: optinc.h scrollbar-xterm.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h scrollbar-xterm.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h scrollbar-xterm.o: rxvttoolkit.h ev_cpp.h ../config.h ../libev/ev++.h scrollbar-xterm.o: ../libev/ev.h callback.h scrollbar.h salloc.h scrollbar-xterm.o: ../libptytty/src/libptytty.h rxvtperl.h hookinc.h rsinc.h scrollbar-xterm.o: optinc.h scrollbar.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h scrollbar.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h scrollbar.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h scrollbar.o: scrollbar.h salloc.h ../libptytty/src/libptytty.h rxvtperl.h scrollbar.o: hookinc.h rsinc.h optinc.h xdefaults.o: ../config.h rxvt.h feature.h encoding.h rxvtutil.h xdefaults.o: ../libecb/ecb.h ../libptytty/src/estl.h rxvtfont.h rxvttoolkit.h xdefaults.o: ev_cpp.h ../config.h ../libev/ev++.h ../libev/ev.h callback.h xdefaults.o: scrollbar.h salloc.h ../libptytty/src/libptytty.h rxvtperl.h xdefaults.o: hookinc.h rsinc.h optinc.h version.h keyboard.h