]> git.lyx.org Git - features.git/blobdiff - src/tex2lyx/Makefile.am
More pch work.
[features.git] / src / tex2lyx / Makefile.am
index f58491d10b0e63786b128bdc95a02c6edd954673..517413c2d9209580c7d45e946ec9acba69222d14 100644 (file)
@@ -2,7 +2,7 @@ include $(top_srcdir)/config/common.am
 
 INCLUDES = -I$(srcdir)/../ $(BOOST_INCLUDES)
 EXTRA_DIST = test-structure.tex test-insets.tex
-DISTCLEANFILES += $(linked_files)
+DISTCLEANFILES += $(BUILT_SOURCES)
 
 #noinst_LTLIBRARIES = libtexparser.la
 #
@@ -14,11 +14,12 @@ DISTCLEANFILES += $(linked_files)
 
 bin_PROGRAMS = tex2lyx
 
+AM_CXXFLAGS = $(PCH_FLAGS)
+
 BUILT_SOURCES = \
        FloatList.C \
        Floating.C \
        counters.C \
-       lengthcommon.C \
        lyxlayout.h \
        lyxlayout.C \
        lyxtextclass.C \
@@ -34,6 +35,7 @@ tex2lyx_SOURCES = \
        context.h \
        gettext.C \
        gettext.h \
+       lengthcommon.C \
        lyxfont.C \
        lyxfont.h \
        texparser.C \
@@ -54,4 +56,4 @@ $(BUILT_SOURCES) :
        $(LN_S) $(top_srcdir)/src/$@ .
 
 rm_link_files:
-       rm -f $(linked_files)
+       rm -f $(BUILT_SOURCES)