]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
fix bug 1750
[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 BUILT_SOURCES = \
19         FloatList.C \
20         Floating.C \
21         counters.C \
22         lyxlayout.h \
23         lyxlayout.C \
24         lyxtextclass.C \
25         lyxtextclass.h \
26         lyxlex.C \
27         lyxlex_pimpl.C
28
29 tex2lyx_SOURCES = \
30         $(BUILT_SOURCES) \
31         Spacing.h \
32         boost.C \
33         context.C \
34         context.h \
35         gettext.C \
36         gettext.h \
37         lengthcommon.C \
38         lyxfont.C \
39         lyxfont.h \
40         texparser.C \
41         texparser.h \
42         tex2lyx.C \
43         tex2lyx.h \
44         preamble.C \
45         math.C \
46         table.C \
47         text.C
48
49 tex2lyx_LDADD = \
50         $(top_builddir)/src/support/libsupport.la \
51         $(BOOST_REGEX) -lz
52
53 $(BUILT_SOURCES) :
54         @rm -f $@ ; \
55         $(LN_S) $(top_srcdir)/src/$@ .
56
57 rm_link_files:
58         rm -f $(BUILT_SOURCES)