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