AUTOMAKE_OPTIONS = foreign
-SUBDIRS = mathed insets support
-DISTCLEANFILES = libintl.h config.h
-MAINTAINERCLEANFILES = Makefile.in config.h.in
+SUBDIRS = mathed insets support frontends
+DISTCLEANFILES= *.orig *.rej *~ *.bak core libintl.h config.h
+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/config.h.in
bin_PROGRAMS = lyx
-lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la support/libsupport.la
-lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS)
+lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
+ support/libsupport.la @FRONTEND_GUILIB@ frontends/libfrontends.la \
+ @INCLUDED_SIGC@
+lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
+ @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
EXTRA_DIST = config.h.in stamp-h.in cheaders
-ETAGS_ARGS = --c++
-INCLUDES = -I${top_srcdir}/images
+ETAGS_ARGS = --lang=c++
+INCLUDES = -I${top_srcdir}/images $(SIGC_CFLAGS) @FRONTEND_INCLUDES@
localedir = $(datadir)/locale
lyx_SOURCES = \
BackStack.h \
BufferView.C \
BufferView.h \
+ BufferView2.C \
+ BufferView_pimpl.C \
+ BufferView_pimpl.h \
Bullet.C \
Bullet.h \
Chktex.C \
Chktex.h \
+ ColorHandler.C \
+ ColorHandler.h \
+ CutAndPaste.C \
+ CutAndPaste.h \
DepTable.C \
DepTable.h \
+ FloatList.C \
+ FloatList.h \
+ Floating.h \
FontInfo.C \
FontInfo.h \
FontLoader.C \
ImportLaTeX.h \
ImportNoweb.C \
ImportNoweb.h \
+ LColor.C \
+ LColor.h \
LString.h \
LaTeX.C \
LaTeX.h \
LyXView.C \
LyXView.h \
Makefile.in \
+ Painter.C \
+ Painter.h \
+ PainterBase.C \
+ PainterBase.h \
PaperLayout.C \
ParagraphExtra.C \
+ PrinterParams.h \
Spacing.C \
Spacing.h \
TableLayout.C \
+ TabularLayout.C \
+ TextCache.C \
+ TextCache.h \
+ Timeout.C \
+ Timeout.h \
+ ToolbarDefaults.C \
+ ToolbarDefaults.h \
+ UpdateInset.C \
+ UpdateInset.h \
+ WorkArea.C \
+ WorkArea.h \
bibforms.h \
bmtable.c \
bmtable.h \
bufferlist.h \
bufferparams.C \
bufferparams.h \
+ bufferview_funcs.C \
+ bufferview_funcs.h \
bullet_forms.C \
bullet_forms.h \
bullet_forms_cb.C \
credits_form.h \
debug.C \
debug.h \
+ direction.h \
figure.h \
filedlg.C \
filedlg.h \
+ font.C \
+ font.h \
form1.C \
form1.h \
gettext.h \
intl.h \
kbmap.C \
kbmap.h \
+ kbsequence.C \
+ kbsequence.h \
+ language.C \
+ language.h \
lastfiles.C \
lastfiles.h \
latexoptions.C \
lyx_sendfax_main.C \
lyx_sty.C \
lyx_sty.h \
+ lyxcursor.C \
lyxcursor.h \
- lyxdraw.C \
- lyxdraw.h \
lyxfont.C \
lyxfont.h \
lyxfr0.C \
lyxfunc.h \
lyxlex.C \
lyxlex.h \
+ lyxlex_pimpl.C \
+ lyxlex_pimpl.h \
lyxlookup.C \
lyxlookup.h \
lyxparagraph.h \
lyxrc.C \
lyxrc.h \
+ lyxrow.C \
lyxrow.h \
lyxscreen.h \
lyxserver.C \
stl_string_fwd.h \
table.C \
table.h \
+ tabular.C \
+ tabular.h \
tex-accent.C \
tex-accent.h \
tex-defs.h \
text2.C \
toolbar.C \
toolbar.h \
+ tracer.C \
+ tracer.h \
trans.C \
trans.h \
trans_decl.h \
vspace.C \
vspace.h
-lyx_main.o: lyx_main.C lyx_main.h config.h version.h debug.h gettext.h \
- lyx_gui.h lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
- bufferlist.h support/FileInfo.h lastfiles.h intl.h \
- lyxserver.h layout.h gettext.h
+lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
+ lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
+ bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
+ lyxserver.h layout.h gettext.h kbmap.h
$(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
-DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C