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