]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
some tabular fixes for the problems reported by Helge
[lyx.git] / src / tex2lyx / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 EXTRA_DIST = test-structure.tex test-insets.tex
4 DISTCLEANFILES += $(BUILT_SOURCES)
5
6 #noinst_LTLIBRARIES = libtexparser.la
7 #
8 #libtexparser_la_SOURCES = \
9 #       texparser.C \
10 #       texparser.h
11 #
12 #tex2lyx_LDADD = libtexparser.la
13
14 bin_PROGRAMS = tex2lyx
15
16 AM_CPPFLAGS = $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
17
18 BOOST_LIBS = $(BOOST_REGEX) $(BOOST_FILESYSTEM)
19
20 if USE_COMPRESSION
21 COMPRESSIONLIB = -lz
22 endif
23
24 BUILT_SOURCES = \
25         FloatList.C \
26         Floating.C \
27         counters.C \
28         lyxlayout.h \
29         lyxlayout.C \
30         lyxtextclass.C \
31         lyxtextclass.h \
32         lyxlex.C \
33         lyxlex_pimpl.C
34
35 tex2lyx_SOURCES = \
36         $(BUILT_SOURCES) \
37         Spacing.h \
38         boost.C \
39         context.C \
40         context.h \
41         gettext.C \
42         gettext.h \
43         lengthcommon.C \
44         lyxfont.C \
45         lyxfont.h \
46         texparser.C \
47         texparser.h \
48         tex2lyx.C \
49         tex2lyx.h \
50         preamble.C \
51         math.C \
52         table.C \
53         text.C
54
55 tex2lyx_LDADD = \
56         $(top_builddir)/src/support/libsupport.la \
57         $(BOOST_LIBS) $(COMPRESSIONLIB)
58
59 $(BUILT_SOURCES) :
60         @rm -f $@ ; \
61         $(LN_S) $(top_srcdir)/src/$@ .
62
63 rm_link_files:
64         rm -f $(BUILT_SOURCES)