]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
fb7d95ba46b58163511df331461ce4285b1ada1e
[lyx.git] / src / tex2lyx / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 EXTRA_DIST = tex2lyx.man test-structure.tex test-insets.tex
4 EXTRA_DIST += pch.h
5
6 DISTCLEANFILES += tex2lyx.1
7
8 #noinst_LTLIBRARIES = libtexparser.la
9 #
10 #libtexparser_la_SOURCES = \
11 #       Parser.cpp \
12 #       Parser.h
13 #
14 #tex2lyx_LDADD = libtexparser.la
15
16 man_MANS = tex2lyx.1
17
18 bin_PROGRAMS = tex2lyx
19
20 DEFAULT_INCLUDES = 
21
22 AM_CPPFLAGS += \
23         -DTEX2LYX \
24         $(PCH_FLAGS) \
25         -I$(top_srcdir)/src/tex2lyx \
26         -I$(top_srcdir)/src  \
27         -I$(top_builddir)/src \
28         $(BOOST_INCLUDES)
29
30
31 LINKED_FILES = \
32         ../FloatList.cpp \
33         ../Floating.cpp \
34         ../Counters.cpp \
35         ../insets/InsetLayout.cpp \
36         ../Layout.h \
37         ../Layout.cpp \
38         ../TextClass.cpp \
39         ../TextClass.h \
40         ../Lexer.cpp \
41         ../Color.cpp \
42         ../Color.h
43
44 BUILT_SOURCES = $(PCH_FILE)
45
46 tex2lyx_SOURCES = \
47         $(LINKED_FILES) \
48         Spacing.h \
49         boost.cpp \
50         Context.cpp \
51         Context.h \
52         Font.cpp \
53         Font.h \
54         gettext.cpp \
55         lengthcommon.cpp \
56         Parser.cpp \
57         Parser.h \
58         tex2lyx.cpp \
59         tex2lyx.h \
60         preamble.cpp \
61         math.cpp \
62         table.cpp \
63         text.cpp
64
65 tex2lyx_LDADD = \
66         $(top_builddir)/src/support/liblyxsupport.la \
67         $(LIBICONV) $(BOOST_LIBS) @LIBS@
68
69 tex2lyx.1:
70         cp -p $(srcdir)/tex2lyx.man tex2lyx.1