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