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