--- rxvt-unicode/Makefile.in 2003/11/24 17:31:26 1.2 +++ rxvt-unicode/Makefile.in 2007/06/08 22:45:48 1.20 @@ -1,6 +1,48 @@ # ./Makefile.in -*- Makefile -*- -# $Id: Makefile.in,v 1.2 2003/11/24 17:31:26 pcg Exp $ -@MCOMMON@ + +DATE=@DATE@ +VERSION=@VERSION@ +RXVTNAME=@RXVTNAME@ +SHELL = /bin/sh +prefix = @prefix@ +exec_prefix = @exec_prefix@ +bindir = @bindir@ +libdir = @libdir@ +includedir = @includedir@ +man1dir = @mandir@/man1 +man1ext = 1 +man3dir = @mandir@/man3 +man3ext = 3 +man7dir = @mandir@/man7 +man7ext = 7 +CC = @CC@ +CXX = @CXX@ +CPP = @CPP@ +MV = @MV@ +CP = @CP@ +LN = @LN@ +SED = @SED@ +AWK = @AWK@ +ECHO = @ECHO@ +CMP = @CMP@ +TBL = @TBL@ +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) + +VERNAME = rxvt-unicode-$(VERSION) srcdir = @srcdir@ VPATH = @srcdir@ @@ -9,32 +51,24 @@ first_rule: all dummy: -subdirs = src doc src/graphics src/test -allsubdirs = W11 $(subdirs) +subdirs = src doc +allsubdirs = $(subdirs) DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog -DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \ - autoconf/configure.in autoconf/config.h.in \ - autoconf/Make.common.in autoconf/install-sh autoconf/mkinstalldirs \ - autoconf/config.guess autoconf/config.sub \ - autoconf/ltmain.sh \ - -MKDIR = $(srcdir)/autoconf/mkinstalldirs +MKDIR = $(srcdir)/mkinstalldirs #------------------------------------------------------------------------- all allbin alldoc tags: - @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done realclean: clean - $(RMF) config.h config.status config.log libtool + rm -f config.h config.status config.log libtool clean: - $(RMF) *~ config.cache - $(RMF) -r autom4te.cache - @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi + rm -f *~ config.cache + rm -f -r autom4te.cache @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done # @@ -43,36 +77,30 @@ rxvt: (cd src; ${MAKE}) -clock: - (cd rclock; ${MAKE}) - -graphics qplot: - (cd src/graphics; ${MAKE} qplot) - tests: (cd src/test; ${MAKE} tests) #------------------------------------------------------------------------- -configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in - cd $(srcdir); - ./.prebuild +configure: configure.ac aclocal.m4 config.h.in + cd $(srcdir); ./autogen.sh config.status: if test -x config.status; then config.status --recheck; \ else $(SHELL) configure; fi -autoconf/config.h.in: autoconf/configure.in - cd $(srcdir); - ./.prebuild +config.h.in: configure.ac + cd $(srcdir); ./autogen.sh installdirs: $(MKDIR) $(DESTDIR)$(bindir) $(MKDIR) $(DESTDIR)$(mandir) install: installdirs - @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done +check: all + echo "no tests" + Makefiles: $(SHELL) config.status @@ -84,35 +112,25 @@ # In that case most of those commands do nothing, except cleaning *~ # and cleaning source links. distclean: - (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) - @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done - (cd $(srcdir); $(RMF) Makefile autoconf/Make.common) - -distdirs: - mkdir ../$(VERNAME); - mkdir ../$(VERNAME)/autoconf; - @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@ || (echo "Failed to make distclean in $$I"; exit 0) ); done - -distcopy: - $(CP) -p $(DIST) ../$(VERNAME); - $(CP) -p $(DIST_CFG) ../$(VERNAME)/autoconf; + rm -f *~ config.cache config.h config.log config.status libtool @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done + rm -f Makefile -distrib: configure autoconf/config.h.in distdirs distcopy - -tar.gz: ../$(VERNAME).tar.gz -../$(VERNAME).tar.gz: - (cd ..; tar cvf - $(VERNAME) | gzip -f9 > $(VERNAME).tar.gz) - -tar.Z: ../$(VERNAME).tar.Z -../$(VERNAME).tar.Z: - (cd ..; tar cvf - $(VERNAME) | compress > $(VERNAME).tar.Z) - -tar.bz2: ../$(VERNAME).tar.bz2 -../$(VERNAME).tar.bz2: - (cd ..; tar cvf - $(VERNAME) | bzip2 -f9 > $(VERNAME).tar.bz2) +distdir: + cd doc && $(MAKE) distdepend + cd src && $(MAKE) depend + rm -rf $(VERNAME) + mkdir $(VERNAME) + rsync -aR `cat MANIFEST` $(VERNAME)/. + +tar.gz: distdir + tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz + rm -rf $(VERNAME) + +tar.bz2: distdir + tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2 + rm -rf $(VERNAME) -uuencode: tar.gz - uuencode ../$(VERNAME).tar.gz $(VERNAME).tar.gz > ../$(VERNAME).tgz.uu +dist: tar.bz2 # ------------------------------------------------------------------------