]> git.lyx.org Git - features.git/blob - src/tex2lyx/Makefile.am
d9571cbdaa9f859b704786ba4bde2eacf34efa2d
[features.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         ../LayoutFile.h \
37         ../Layout.h \
38         ../Layout.cpp \
39         ../TextClass.cpp \
40         ../TextClass.h \
41         ../Lexer.cpp \
42         ../lengthcommon.cpp \
43         ../Color.cpp \
44         ../Color.h
45
46 BUILT_SOURCES = $(PCH_FILE)
47
48 tex2lyx_SOURCES = \
49         $(LINKED_FILES) \
50         Spacing.h \
51         boost.cpp \
52         Context.cpp \
53         Context.h \
54         Font.cpp \
55         Font.h \
56         gettext.cpp \
57         Parser.cpp \
58         Parser.h \
59         tex2lyx.cpp \
60         tex2lyx.h \
61         preamble.cpp \
62         math.cpp \
63         table.cpp \
64         text.cpp
65
66 tex2lyx_LDADD = \
67         $(top_builddir)/src/support/liblyxsupport.la \
68         $(LIBICONV) $(BOOST_LIBS) @LIBS@
69
70 tex2lyx.1:
71         cp -p $(srcdir)/tex2lyx.man tex2lyx.1