]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
b5d6d5c5ca245f70344db1043599260563aa3124
[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 += -DTEX2LYX $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \
23         -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
24
25 TEST_FILES = \
26         test/box-color-size-space-align.tex \
27         test/foo.eps \
28         test/foo.png \
29         test/test-insets.tex \
30         test/test.ltx \
31         test/test-structure.tex
32
33 LINKED_FILES = \
34         ../FloatList.cpp \
35         ../Floating.cpp \
36         ../Counters.cpp \
37         ../insets/InsetLayout.cpp \
38         ../LayoutFile.h \
39         ../Layout.h \
40         ../Layout.cpp \
41         ../TextClass.cpp \
42         ../TextClass.h \
43         ../Lexer.cpp \
44         ../lengthcommon.cpp \
45         ../Color.cpp \
46         ../Color.h
47
48 BUILT_SOURCES = $(PCH_FILE)
49
50 tex2lyx_SOURCES = \
51         $(LINKED_FILES) \
52         Spacing.h \
53         boost.cpp \
54         Context.cpp \
55         Context.h \
56         Font.cpp \
57         Font.h \
58         gettext.cpp \
59         Parser.cpp \
60         Parser.h \
61         tex2lyx.cpp \
62         tex2lyx.h \
63         preamble.cpp \
64         math.cpp \
65         table.cpp \
66         text.cpp
67
68 tex2lyx_LDADD = \
69         $(top_builddir)/src/support/liblyxsupport.la \
70         $(LIBICONV) $(BOOST_LIBS) @LIBS@
71
72 tex2lyx.1:
73         cp -p $(srcdir)/tex2lyx.man tex2lyx.1