2003-02-11 12:37:27 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2007-08-21 23:17:37 +00:00
|
|
|
EXTRA_DIST = tex2lyx.man test-structure.tex test-insets.tex
|
|
|
|
EXTRA_DIST += pch.h
|
2005-07-12 23:42:23 +00:00
|
|
|
|
2007-08-21 23:17:37 +00:00
|
|
|
DISTCLEANFILES += tex2lyx.1
|
2003-02-11 12:37:27 +00:00
|
|
|
|
2003-04-17 09:47:21 +00:00
|
|
|
#noinst_LTLIBRARIES = libtexparser.la
|
|
|
|
#
|
|
|
|
#libtexparser_la_SOURCES = \
|
2007-04-26 04:53:06 +00:00
|
|
|
# Parser.cpp \
|
|
|
|
# Parser.h
|
2003-04-17 09:47:21 +00:00
|
|
|
#
|
|
|
|
#tex2lyx_LDADD = libtexparser.la
|
2003-02-12 08:36:49 +00:00
|
|
|
|
2005-07-16 15:18:14 +00:00
|
|
|
man_MANS = tex2lyx.1
|
|
|
|
|
2003-02-11 12:37:27 +00:00
|
|
|
bin_PROGRAMS = tex2lyx
|
|
|
|
|
2007-08-21 23:17:37 +00:00
|
|
|
DEFAULT_INCLUDES =
|
|
|
|
|
|
|
|
AM_CPPFLAGS += \
|
|
|
|
-DTEX2LYX \
|
|
|
|
$(PCH_FLAGS) \
|
|
|
|
-I$(top_srcdir)/src/tex2lyx \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_builddir)/src \
|
|
|
|
$(BOOST_INCLUDES)
|
|
|
|
|
2004-08-18 14:20:18 +00:00
|
|
|
|
2005-10-18 09:15:19 +00:00
|
|
|
LINKED_FILES = \
|
2007-08-21 23:17:37 +00:00
|
|
|
../FloatList.cpp \
|
|
|
|
../Floating.cpp \
|
|
|
|
../Counters.cpp \
|
2008-02-22 10:16:18 +00:00
|
|
|
../insets/InsetLayout.cpp \
|
This is the last of the commits that hopes to enforce the distinction between "layout files" and "document classes" that was introduced by the modules code. For the most part, these changes just refactor code from TextClass between: (a) a TextClass base class; (b) a LayoutFile subclass, which represents the information in a .layout file; and (c) a DocumentClass subclass, which represents the layout information associated with a Buffer---a LayoutFile plus Modules. Methods from TextClass have been apportioned between the three classes depending upon what is needed where, and signatures have been changed where necessary so that the right kind of class is required.
At this point, there are no simple TextClass objects in the main LyX code, and it is impossible to create them, since the TextClass constructor is protected. Only LayoutFile and DocumentClass objects can be constructed, and for the most part these are constructed only by their respective containers: BaseClassList and DocumentClassBundle. There is an exception: LayoutFile does have a public default constructor, but if anyone knows how to make it go away, please do.
There will be one or two more commits along these lines, but these will be simple renamings. For example, BaseClassList should be LayoutFileList.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23343 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-29 02:45:33 +00:00
|
|
|
../BaseClassList.h \
|
2007-08-21 23:17:37 +00:00
|
|
|
../Layout.h \
|
|
|
|
../Layout.cpp \
|
|
|
|
../TextClass.cpp \
|
|
|
|
../TextClass.h \
|
2007-08-27 08:36:18 +00:00
|
|
|
../Lexer.cpp \
|
|
|
|
../Color.cpp \
|
|
|
|
../Color.h
|
2003-07-26 00:15:38 +00:00
|
|
|
|
2007-08-21 23:17:37 +00:00
|
|
|
BUILT_SOURCES = $(PCH_FILE)
|
2005-07-12 23:42:23 +00:00
|
|
|
|
2003-02-12 08:36:49 +00:00
|
|
|
tex2lyx_SOURCES = \
|
2005-10-18 09:15:19 +00:00
|
|
|
$(LINKED_FILES) \
|
2003-07-26 00:15:38 +00:00
|
|
|
Spacing.h \
|
2007-04-25 18:04:04 +00:00
|
|
|
boost.cpp \
|
2007-04-26 04:53:06 +00:00
|
|
|
Context.cpp \
|
|
|
|
Context.h \
|
2007-04-29 18:17:15 +00:00
|
|
|
Font.cpp \
|
|
|
|
Font.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
gettext.cpp \
|
|
|
|
lengthcommon.cpp \
|
2007-04-26 04:53:06 +00:00
|
|
|
Parser.cpp \
|
|
|
|
Parser.h \
|
|
|
|
tex2lyx.cpp \
|
2003-04-17 09:47:21 +00:00
|
|
|
tex2lyx.h \
|
2007-04-26 04:53:06 +00:00
|
|
|
preamble.cpp \
|
|
|
|
math.cpp \
|
|
|
|
table.cpp \
|
2007-04-26 04:41:58 +00:00
|
|
|
text.cpp
|
2003-07-26 00:15:38 +00:00
|
|
|
|
|
|
|
tex2lyx_LDADD = \
|
2007-08-10 22:33:54 +00:00
|
|
|
$(top_builddir)/src/support/liblyxsupport.la \
|
2007-09-21 07:18:21 +00:00
|
|
|
$(LIBICONV) $(BOOST_LIBS) @LIBS@
|
2003-07-26 00:15:38 +00:00
|
|
|
|
2005-07-16 15:18:14 +00:00
|
|
|
tex2lyx.1:
|
|
|
|
cp -p $(srcdir)/tex2lyx.man tex2lyx.1
|