Georg Baum wrote:

Am Montag, 3. Oktober 2005 14:51 schrieb Angus Leeming:

I also note that it's an old version of automake (1.6) although
autogen.sh is currently set up to accept it.

OK, by typing

apt-get install automake1.6
update-alternatives --set automake /usr/bin/automake-1.6

I switched to automake 1.6 and tested it. The latest version of the patch is attached. It works for me both with automake 1.6 and 1.9.

I really would like to commit that, since the current setup is broken.
Angues, Helge, Kayvan, is that working for you, too?


Unfortunately, no.
make clean
./autogen.sh
./configure --prefix=/usr/local --with-version-suffix=-1.4cvs --with-frontend=qt --with-gnu-ld --with-qt-includes=/usr/include/qt3
make

and got:
Making all in lib
make[1]: Entering directory `/usr/src/lyx-devel/lib'
Making all in doc
make[2]: Entering directory `/usr/src/lyx-devel/lib/doc'
make[3]: Entering directory `/usr/src/lyx-devel'
make[3]: Leaving directory `/usr/src/lyx-devel'
make[2]: *** No rule to make target `cs_TOC.lyx', needed by `all-am'.  Stop.
make[2]: Leaving directory `/usr/src/lyx-devel/lib/doc'
make[1]: *** [all-recursive] Error 1


What version of automake are you using?

$ automake --version
automake (GNU automake) 1.9.6



Please delete the toched files and do

make TOCs

$ make TOCs
make[1]: Entering directory `/usr/src/lyx-devel'
make[1]: Leaving directory `/usr/src/lyx-devel'
python depend.py > Makefile.depend
make -f Makefile.depend TOCs
make[1]: Entering directory `/usr/src/lyx-devel/lib/doc'
make[1]: *** No rule to make target `TOCs'.  Stop.
make[1]: Leaving directory `/usr/src/lyx-devel/lib/doc'
make: *** [TOCs] Error 2


Can you please send me the generated Makefile?

lib/doc/Makefile attached.

Was the file Makefile.depend recreated, or is it still the same as in CVS?


It not the same, according to "cvs diff".

Helge Hafting

# Makefile.in generated by automake 1.9.6 from Makefile.am.
# lib/doc/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



srcdir = .
top_srcdir = ../..

pkgdatadir = $(datadir)/lyx-1.4cvs
pkglibdir = $(libdir)/lyx-1.4cvs
pkgincludedir = $(includedir)/lyx-1.4cvs
top_builddir = ../..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu
target_triplet = i686-pc-linux-gnu
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
        $(top_srcdir)/config/common.am ChangeLog
subdir = lib/doc
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
        $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/src/config.h
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
am__installdirs = "$(DESTDIR)$(docdir)"
docDATA_INSTALL = $(INSTALL_DATA)
DATA = $(doc_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /usr/src/lyx-devel/config/missing --run aclocal-1.9
AIKSAURUS_LIBS = 
ALLOCA = 
AMDEP_FALSE = #
AMDEP_TRUE = 
AMTAR = ${SHELL} /usr/src/lyx-devel/config/missing --run tar
AM_CFLAGS = 
AM_CPPFLAGS = 
AM_CXXFLAGS = -fno-exceptions
AM_LDFLAGS = 
AR = ar
AS = as
AUTOCONF = ${SHELL} /usr/src/lyx-devel/config/missing --run autoconf
AUTOHEADER = ${SHELL} /usr/src/lyx-devel/config/missing --run autoheader
AUTOMAKE = ${SHELL} /usr/src/lyx-devel/config/missing --run automake-1.9
AWK = gawk --posix
BUILD_CLIENT_SUBDIR_FALSE = #
BUILD_CLIENT_SUBDIR_TRUE = 
BUILD_INCLUDED_LIBINTL = no
CATOBJEXT = .gmo
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O
CPP = gcc -E
CPPFLAGS = -Wextra -Wall    -I/usr/X11R6/include
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -g -O
CYGPATH_W = echo
DATADIRNAME = share
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DLLTOOL = dlltool
ECHO = echo
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EGREP = grep -E
EXEEXT = 
F77 = 
FFLAGS = 
FORMS_H_LOCATION = 
FRONTENDS = qt
FRONTENDS_PROGS =  lyx-qt$(EXEEXT)
FRONTENDS_SUBDIRS =  qt2
GENCAT = gencat
GLIBC21 = yes
GMSGFMT = /usr/bin/msgfmt
GTK_FRONTEND_CFLAGS = 
GTK_FRONTEND_LIBS = 
HAVE_ASPRINTF = 1
HAVE_POSIX_PRINTF = 1
HAVE_SNPRINTF = 1
HAVE_WPRINTF = 0
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
INSTOBJEXT = .mo
INTLBISON = bison
INTLLIBS = 
INTLOBJS = 
INTL_LIBTOOL_SUFFIX_PREFIX = 
KPSEWHICH = kpsewhich
LDFLAGS = 
LIBICONV = 
LIBINTL = 
LIBOBJS = 
LIBS = 
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s
LTLIBICONV = 
LTLIBINTL = 
LTLIBOBJS = 
LYX_BUILD_PCH_FALSE = #
LYX_BUILD_PCH_TRUE = 
M4 = m4
MAINT = 
MAINTAINER_MODE_FALSE = #
MAINTAINER_MODE_TRUE = 
MAKEINFO = ${SHELL} /usr/src/lyx-devel/config/missing --run makeinfo
MKINSTALLDIRS = $(top_builddir)/config/mkinstalldirs
MOC = /usr/bin/moc
MSGFMT = /usr/bin/msgfmt
MSGMERGE = /usr/bin/msgmerge
OBJDUMP = objdump
OBJEXT = o
PACKAGE = lyx-1.4cvs
PACKAGE_BUGREPORT = lyx-devel@lists.lyx.org
PACKAGE_NAME = lyx
PACKAGE_STRING = lyx 1.4.0cvs
PACKAGE_TARNAME = lyx
PACKAGE_VERSION = 1.4.0cvs
PATH_SEPARATOR = :
PKG_CONFIG = 
POSUB = po
PYTHON = /usr/bin/python
PYTHON_EXEC_PREFIX = ${exec_prefix}
PYTHON_PLATFORM = linux2
PYTHON_PREFIX = ${prefix}
PYTHON_VERSION = 2.3
QTDIR = 
QT_CPPFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL 
-DQT_THREAD_SUPPORT
QT_INCLUDES = -I/usr/include/qt3
QT_LDFLAGS = 
QT_LIB = -lqt-mt
QT_VERSION = 3.3.4
RANLIB = ranlib
RPM_FRONTEND = qt
RPM_VERSION_SUFFIX = --with-version-suffix=-1.4cvs
SET_MAKE = 
SHELL = /bin/sh
STRIP = strip
UIC = /usr/bin/uic
USE_ASPELL_FALSE = #
USE_ASPELL_TRUE = 
USE_COMPRESSION_FALSE = #
USE_COMPRESSION_TRUE = 
USE_INCLUDED_BOOST_FALSE = #
USE_INCLUDED_BOOST_TRUE = 
USE_INCLUDED_LIBINTL = no
USE_ISPELL_FALSE = #
USE_ISPELL_TRUE = 
USE_NLS = yes
USE_PSPELL_FALSE = 
USE_PSPELL_TRUE = #
VERSION = 1.4.0cvs
VERSION_INFO = Configuration\n  Host type:                      
i686-pc-linux-gnu\n  Special build flags:            compression assertions pch 
concept-checks stdlib-debug warnings  use-aspell use-ispell\n  C   Compiler:    
               gcc \n  C   Compiler LyX flags:          \n  C   Compiler flags: 
            -Wextra -Wall    -I/usr/X11R6/include -g -O\n  C++ Compiler:        
           g++ (4.0.1)\n  C++ Compiler LyX flags:          -fno-exceptions\n  
C++ Compiler flags:             -Wextra -Wall    -I/usr/X11R6/include -g -O\n  
Linker flags:                   \n  Linker user flags:              \n  Qt 
Frontend:\n      Qt version:\t\t3.3.4\n  Packaging:                      
posix\n  LyX binary dir:                 /usr/local/bin\n  LyX files dir:       
           /usr/local/share/lyx-1.4cvs\n
XFORMS_LIBS = 
XGETTEXT = /usr/bin/xgettext
XPM_H_LOCATION = 
X_CFLAGS =  -I/usr/X11R6/include
X_EXTRA_LIBS = 
X_LIBS =  -L/usr/X11R6/lib
X_PRE_LIBS =  -lSM -lICE
ac_ct_AR = ar
ac_ct_AS = 
ac_ct_CC = gcc
ac_ct_CXX = 
ac_ct_DLLTOOL = 
ac_ct_F77 = 
ac_ct_OBJDUMP = 
ac_ct_RANLIB = ranlib
ac_ct_STRIP = strip
am__fastdepCC_FALSE = #
am__fastdepCC_TRUE = 
am__fastdepCXX_FALSE = #
am__fastdepCXX_TRUE = 
am__include = include
am__leading_dot = .
am__quote = 
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build = i686-pc-linux-gnu
build_alias = 
build_cpu = i686
build_os = linux-gnu
build_vendor = pc
datadir = ${prefix}/share
exec_prefix = ${prefix}
host = i686-pc-linux-gnu
host_alias = 
host_cpu = i686
host_os = linux-gnu
host_vendor = pc
includedir = ${prefix}/include
infodir = ${prefix}/info
install_sh = /usr/src/lyx-devel/config/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localstatedir = ${prefix}/var
lyx_devel_version = yes
mandir = ${prefix}/man
mkdir_p = mkdir -p --
oldincludedir = /usr/include
pkgpyexecdir = ${pyexecdir}/lyx-1.4cvs
pkgpythondir = ${pythondir}/lyx-1.4cvs
prefix = /usr/local
program_transform_name = s,$$,-1.4cvs,
pyexecdir = ${exec_prefix}/lib/python2.3/site-packages
pythondir = ${prefix}/lib/python2.3/site-packages
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
subdirs =  lib
sysconfdir = ${prefix}/etc
target = i686-pc-linux-gnu
target_alias = 
target_cpu = i686
target_os = linux-gnu
target_vendor = pc
AUTOMAKE_OPTIONS = foreign dist-bzip2
CLEANFILES = pch.h.gch
DISTCLEANFILES = pch.h.gch.dep *.orig *.rej *~ *.bak core \
        LyXConfig.lyx LaTeXConfig.lyx Makefile.depend
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
AM_INSTALL_DATA_FLAGS = $(INSTALL) -m 644 -D
AM_ETAGSFLAGS = --lang=c++
PCH_SOURCE = $(srcdir)/pch.h
PCH_FLAGS = -Winvalid-pch --include=$(PCH_SOURCE)
PCH_FILE = ./pch.h.gch
SUFFIXES = .gch
#BOOST_INCLUDES = 
BOOST_INCLUDES = -I$(top_srcdir)/boost
#BOOST_FILESYSTEM = -lboost_filesystem
BOOST_FILESYSTEM = 
$(top_builddir)/boost/libs/filesystem/src/libboost_filesystem.la
#BOOST_REGEX = -lboost_regex
BOOST_REGEX = $(top_builddir)/boost/libs/regex/src/libboost_regex.la
#BOOST_SIGNALS = -lboost_signals
BOOST_SIGNALS = $(top_builddir)/boost/libs/signals/src/libboost_signals.la
EXTRA_DIST = depend.py doc_toc.py LyXConfig.lyx.in README.Documentation 
$(docfiles)
docfiles = \
        cs_TOC.lyx \
        cs_Tutorial.lyx \
        Customization.lyx \
        da_Intro.lyx \
        da_TOC.lyx \
        de_Customization.lyx \
        de_Extended.lyx \
        de_FAQ.lyx \
        de_Intro.lyx \
        de_TOC.lyx \
        de_Tutorial.lyx \
        de_UserGuide.lyx \
        DocStyle.lyx \
        es_Intro.lyx \
        es_TOC.lyx \
        es_Tutorial.lyx \
        eu_Customization.lyx \
        eu_Extended.lyx \
        eu_FAQ.lyx \
        eu_Intro.lyx \
        eu_TOC.lyx \
        eu_Tutorial.lyx \
        eu_UserGuide.lyx \
        Extended.lyx \
        FAQ.lyx \
        fr_Customization.lyx \
        fr_Extended.lyx \
        fr_FAQ.lyx \
        fr_Intro.lyx \
        fr_TOC.lyx \
        fr_Tutorial.lyx \
        fr_UserGuide.lyx \
        he_Intro.lyx \
        he_TOC.lyx \
        he_Tutorial.lyx \
        hu_Intro.lyx \
        hu_TOC.lyx \
        Intro.lyx \
        it_Customization.lyx \
        it_Intro.lyx \
        it_TOC.lyx \
        it_Tutorial.lyx \
        it_UserGuide.lyx \
        LaTeXConfig.lyx.in \
        nb_Intro.lyx \
        nb_TOC.lyx \
        nl_Intro.lyx \
        nl_TOC.lyx \
        nl_Tutorial.lyx \
        pl_Extended.lyx \
        pl_Intro.lyx \
        pl_TOC.lyx \
        pl_Tutorial.lyx \
        pt_Intro.lyx \
        pt_TOC.lyx \
        pt_Tutorial.lyx \
        Reference.lyx \
        ro_Intro.lyx \
        ro_TOC.lyx \
        ru_FAQ.lyx \
        ru_Intro.lyx \
        ru_TOC.lyx \
        ru_Tutorial.lyx \
        sk_TOC.lyx \
        sk_Tutorial.lyx \
        sk_UserGuide.lyx \
        sl_Intro.lyx \
        sl_TOC.lyx \
        sl_Tutorial.lyx \
        sv_Intro.lyx \
        sv_TOC.lyx \
        sv_Tutorial.lyx \
        TOC.lyx \
        Tutorial.lyx \
        UserGuide.lyx \
        escher-lsd.eps \
        mobius.eps \
        platypus.eps

docdir = $(pkgdatadir)/doc
doc_DATA = \
        $(docfiles) \
        LaTeXConfig.lyx


# TODO can we instead just #include the DEPENDFILE in this Makefile?
# problem with this is that the DEPENDFILE that's included won't be the updated
# one. JMarc should know how to handle this.
DEPENDFILE = Makefile.depend
all: all-am

.SUFFIXES:
.SUFFIXES: .gch
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/config/common.am 
$(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
                && exit 0; \
              exit 1;; \
          esac; \
        done; \
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  lib/doc/Makefile'; \
        cd $(top_srcdir) && \
          $(AUTOMAKE) --foreign  lib/doc/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
        @case '$?' in \
          *config.status*) \
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
          *) \
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ 
$(am__depfiles_maybe)'; \
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ 
$(am__depfiles_maybe);; \
        esac;

$(top_builddir)/config.status: $(top_srcdir)/configure 
$(CONFIG_STATUS_DEPENDENCIES)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

mostlyclean-libtool:
        -rm -f *.lo

clean-libtool:
        -rm -rf .libs _libs

distclean-libtool:
        -rm -f libtool
uninstall-info-am:
install-docDATA: $(doc_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
        @list='$(doc_DATA)'; for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          f=$(am__strip_dir) \
          echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
          $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
        done

uninstall-docDATA:
        @$(NORMAL_UNINSTALL)
        @list='$(doc_DATA)'; for p in $$list; do \
          f=$(am__strip_dir) \
          echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
          rm -f "$(DESTDIR)$(docdir)/$$f"; \
        done
tags: TAGS
TAGS:

ctags: CTAGS
CTAGS:


distdir: $(DISTFILES)
        $(mkdir_p) $(distdir)/../../config
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
        list='$(DISTFILES)'; for file in $$list; do \
          case $$file in \
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
            $(top_srcdir)/*) file=`echo "$$file" | sed 
"s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
          esac; \
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
            dir="/$$dir"; \
            $(mkdir_p) "$(distdir)$$dir"; \
          else \
            dir=''; \
          fi; \
          if test -d $$d/$$file; then \
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
            fi; \
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
          else \
            test -f $(distdir)/$$file \
            || cp -p $$d/$$file $(distdir)/$$file \
            || exit 1; \
          fi; \
        done
check-am: all-am
check: check-am
all-am: Makefile $(DATA)
installdirs:
        for dir in "$(DESTDIR)$(docdir)"; do \
          test -z "$$dir" || $(mkdir_p) "$$dir"; \
        done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
          `test -z '$(STRIP)' || \
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am

clean-am: clean-generic clean-libtool mostlyclean-am

distclean: distclean-am
        -rm -f Makefile
distclean-am: clean-am distclean-generic distclean-libtool

dvi: dvi-am

dvi-am:

html: html-am

info: info-am

info-am:

install-data-am: install-docDATA

install-exec-am:

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am
        -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-generic mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-docDATA uninstall-info-am

.PHONY: all all-am check check-am clean clean-generic clean-libtool \
        distclean distclean-generic distclean-libtool distdir dvi \
        dvi-am html html-am info info-am install install-am \
        install-data install-data-am install-docDATA install-exec \
        install-exec-am install-info install-info-am install-man \
        install-strip installcheck installcheck-am installdirs \
        maintainer-clean maintainer-clean-generic mostlyclean \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        uninstall uninstall-am uninstall-docDATA uninstall-info-am

sinclude ./pch.h.gch.dep

*.o *.lo *.obj: $(PCH_FILE)

$(PCH_FILE): $(PCH_SOURCE)
        $(MAKE) PCH_FLAGS= pch-file

pch-file:
        $(CXXCOMPILE) -x c++-header $(PCH_SOURCE) -o $(PCH_FILE) \
        -MT $(PCH_FILE)  -MD -MP -MF "./$(PCH_FILE).Tdep" \
        && mv "./$(PCH_FILE).Tdep" "./$(PCH_FILE).dep" \
        || rm "./$(PCH_FILE).Tdep"

TOCs : depend
        make -f $(DEPENDFILE) TOCs

depend:
        python depend.py > $(DEPENDFILE)

.PHONY: depend
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

Reply via email to