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@ 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@ @AFTERIMAGE_CFLAGS@ XLIB = @X_LIBS@ @AFTERIMAGE_LIBS@ -lX11 @X_EXTRA_LIBS@ COMPILE = $(CXX) -I$(srcdir)/../libev -I.. -I$(srcdir) -I. $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(XINC) LINK = @LINKER@ $(LDFLAGS) srcdir = @srcdir@ VPATH = @srcdir@ DEBUG=-DDEBUG_STRICT first_rule: all dummy: COMMON = \ background.o command.o rxvtfont.o init.o logging.o main.o misc.o \ ptytty.o proxy.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 \ fdpass.o ev_cpp.o @PERL_O@ 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) # # Distribution variables # .SUFFIXES: .C .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 $< #------------------------------------------------------------------------- all: allbin rxvt: rxvt.o $(COMMON) $(LINK) -o $@ rxvt.o $(COMMON) $(LIBS) $(XLIB) @PERLLIB@ # $(LIBTOOL) --mode=link $(LINK) rxvt.o librxvt.la $(LIBS) $(XLIB) -o $@ rxvtd: rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LINK) -o $@ rxvtd.o $(COMMON) $(COMMON_DAEMON) $(LIBS) $(XLIB) @PERLLIB@ # $(LIBTOOL) --mode=link $(LINK) rxvtd.o rxvtdaemon.o librxvt.la $(LIBS) $(XLIB) -o $@ rxvtc: rxvtc.o $(COMMON_DAEMON) fdpass.o ev_cpp.o $(LINK) -o $@ rxvtc.o $(COMMON_DAEMON) fdpass.o ev_cpp.o $(LIBS) # $(LIBTOOL) --mode=link $(LINK) rxvtc.o rxvtdaemon.o $(LIBS) -o $@ #librxvt.la: $(LIBOBJS) # $(LIBTOOL) --mode=link $(LINK) -rpath $(libdir) -version-info $(LIBVERSION) $(LIBOBJS) $(LIBS) -o $@ #------------------------------------------------------------------------- #EXUBERANT_OPTS = -I NOTHROW 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 *.lo .libs/* librxvt.la tmpproto *.tmp distclean: clean rm -f Makefile rxvtlib.h 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/"`basename "$$ext"`"; 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. -Y *.C >/dev/null 2>&1 makedepend -f Makefile.in -I. -Y *.C -a -o .lo >/dev/null 2>&1 # DO NOT DELETE: nice dependency list follows background.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h background.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h background.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h rsinc.h command.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h command.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h command.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h version.h command.o: 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 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: rxvttoolkit.h ev_cpp.h rxvtlib.h optinc.h rxvtutil.h callback.h fdpass.o: ../config.h libptytty.h init.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h init.o: rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h libptytty.h init.o: rxvtperl.h hookinc.h background.h rsinc.h init.h keyboard.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h keyboard.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h keyboard.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h keyboard.h keyboard.o: command.h logging.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h logging.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h logging.o: ev_cpp.h callback.h salloc.h rxvtperl.h hookinc.h background.h logging.o: rsinc.h main.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h main.o: rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h libptytty.h main.o: rxvtperl.h hookinc.h background.h rsinc.h keyboard.h misc.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h misc.o: rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h libptytty.h misc.o: rxvtperl.h hookinc.h background.h rsinc.h proxy.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h proxy.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h proxy.o: ev_cpp.h callback.h salloc.h rxvtperl.h hookinc.h background.h proxy.o: rsinc.h ptytty.o: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h ptytty.o: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ptytty.o: ev_cpp.h callback.h salloc.h rxvtperl.h hookinc.h background.h ptytty.o: rsinc.h rxvt.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtutil.h rxvt.o: rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h libptytty.h rxvt.o: rxvtperl.h hookinc.h background.h rsinc.h rxvtc.o: ../config.h rxvtdaemon.h rxvtutil.h libptytty.h rxvt.h rxvtlib.h rxvtc.o: optinc.h feature.h encoding.h rxvtfont.h rxvttoolkit.h ev_cpp.h rxvtc.o: callback.h salloc.h rxvtperl.h hookinc.h background.h rsinc.h rxvtd.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtd.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h rxvtd.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h rxvtdaemon.h rxvtdaemon.o: rxvtdaemon.h rxvtutil.h rxvtfont.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtfont.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h rxvtfont.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h rxvtfont.o: table/linedraw.h rxvttoolkit.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvttoolkit.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h rxvttoolkit.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h rsinc.h rxvtutil.o: rxvtutil.h salloc.o: salloc.h screen.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h screen.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h screen.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h salloc.C scrollbar-next.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h scrollbar-next.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h scrollbar-next.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h scrollbar-next.o: rsinc.h scrollbar-plain.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h scrollbar-plain.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h scrollbar-plain.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h scrollbar-plain.o: rsinc.h scrollbar-rxvt.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h scrollbar-rxvt.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h scrollbar-rxvt.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h scrollbar-rxvt.o: rsinc.h scrollbar-xterm.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h scrollbar-xterm.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h scrollbar-xterm.o: salloc.h libptytty.h rxvtperl.h hookinc.h background.h scrollbar-xterm.o: rsinc.h scrollbar.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h scrollbar.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h scrollbar.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h xdefaults.o: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h xdefaults.o: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h xdefaults.o: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h version.h xdefaults.o: keyboard.h background.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h background.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h background.lo: salloc.h libptytty.h rxvtperl.h hookinc.h background.h rsinc.h command.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h command.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h command.lo: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h version.h command.lo: 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 encoding.lo: table/iso8859_8.h table/iso8859_9.h table/iso8859_10.h encoding.lo: table/iso8859_11.h table/iso8859_13.h table/iso8859_14.h encoding.lo: table/iso8859_16.h table/koi8_r.h table/koi8_u.h encoding.lo: table/ksc5601_1987_0.h table/big5.h table/gbk_0.h encoding.lo: table/gb2312_1980_0.h table/cns11643_1992_1.h encoding.lo: table/cns11643_1992_2.h table/cns11643_1992_3.h encoding.lo: table/cns11643_1992_4.h table/cns11643_1992_5.h encoding.lo: table/cns11643_1992_6.h table/cns11643_1992_7.h 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 ev_cpp.lo: rxvttoolkit.h ev_cpp.h rxvtlib.h optinc.h rxvtutil.h callback.h fdpass.lo: ../config.h libptytty.h init.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h init.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h init.lo: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h init.h keyboard.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h keyboard.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h keyboard.lo: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h keyboard.h keyboard.lo: command.h logging.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h logging.lo: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h logging.lo: ev_cpp.h callback.h salloc.h rxvtperl.h hookinc.h background.h logging.lo: rsinc.h main.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h main.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h main.lo: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h keyboard.h misc.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h misc.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h misc.lo: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h proxy.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h proxy.lo: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h proxy.lo: ev_cpp.h callback.h salloc.h rxvtperl.h hookinc.h background.h proxy.lo: rsinc.h ptytty.lo: ../config.h ptytty.h libptytty.h ptytty_conf.h rxvt.h rxvtlib.h ptytty.lo: optinc.h feature.h encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ptytty.lo: ev_cpp.h callback.h salloc.h rxvtperl.h hookinc.h background.h ptytty.lo: rsinc.h rxvt.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvt.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h rxvt.lo: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h rxvtc.lo: ../config.h rxvtdaemon.h rxvtutil.h libptytty.h rxvt.h rxvtlib.h rxvtc.lo: optinc.h feature.h encoding.h rxvtfont.h rxvttoolkit.h ev_cpp.h rxvtc.lo: callback.h salloc.h rxvtperl.h hookinc.h background.h rsinc.h rxvtd.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtd.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h rxvtd.lo: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h rxvtdaemon.h rxvtdaemon.lo: rxvtdaemon.h rxvtutil.h rxvtfont.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvtfont.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h rxvtfont.lo: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h rxvtfont.lo: table/linedraw.h rxvttoolkit.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h rxvttoolkit.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h rxvttoolkit.lo: salloc.h libptytty.h rxvtperl.h hookinc.h background.h rxvttoolkit.lo: rsinc.h rxvtutil.lo: rxvtutil.h salloc.lo: salloc.h screen.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h screen.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h salloc.h screen.lo: libptytty.h rxvtperl.h hookinc.h background.h rsinc.h salloc.C scrollbar-next.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h scrollbar-next.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h scrollbar-next.lo: salloc.h libptytty.h rxvtperl.h hookinc.h background.h scrollbar-next.lo: rsinc.h scrollbar-plain.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h scrollbar-plain.lo: encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h scrollbar-plain.lo: callback.h salloc.h libptytty.h rxvtperl.h hookinc.h scrollbar-plain.lo: background.h rsinc.h scrollbar-rxvt.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h scrollbar-rxvt.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h scrollbar-rxvt.lo: salloc.h libptytty.h rxvtperl.h hookinc.h background.h scrollbar-rxvt.lo: rsinc.h scrollbar-xterm.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h scrollbar-xterm.lo: encoding.h rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h scrollbar-xterm.lo: callback.h salloc.h libptytty.h rxvtperl.h hookinc.h scrollbar-xterm.lo: background.h rsinc.h scrollbar.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h scrollbar.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h scrollbar.lo: salloc.h libptytty.h rxvtperl.h hookinc.h background.h rsinc.h xdefaults.lo: ../config.h rxvt.h rxvtlib.h optinc.h feature.h encoding.h xdefaults.lo: rxvtutil.h rxvtfont.h rxvttoolkit.h ev_cpp.h callback.h xdefaults.lo: salloc.h libptytty.h rxvtperl.h hookinc.h background.h rsinc.h xdefaults.lo: version.h keyboard.h