AUTOMAKE_OPTIONS = foreign
-SUBDIRS = mathed insets support frontends
+SUBDIRS = mathed insets graphics support frontends
DISTCLEANFILES= *.orig *.rej *~ *.bak core libintl.h config.h
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/config.h.in
bin_PROGRAMS = lyx
+## libfrontends is given twice on the link line because it needs stuff
+## from FRONTEND_GUILIB and inversely. If you do not like it, feel
+## free to provide another solution... Maybe signals would solve that
+## magically, but I do not understand them much (JMarc)
lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
- support/libsupport.la @FRONTEND_GUILIB@ frontends/libfrontends.la \
- @INCLUDED_SIGC@
+ graphics/libgraphics.la \
+ frontends/libfrontends.la @FRONTEND_GUILIB@ \
+ frontends/libfrontends.la support/libsupport.la @INCLUDED_SIGC@
lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
- @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
+ $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
+#lyx_LDFLAGS=-Wl,-O1
EXTRA_DIST = config.h.in stamp-h.in cheaders
ETAGS_ARGS = --lang=c++
-INCLUDES = $(SIGC_CFLAGS) @FRONTEND_INCLUDES@
+INCLUDES = $(SIGC_CFLAGS) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
localedir = $(datadir)/locale
lyx_SOURCES = \
BackStack.h \
LyXView.C \
LyXView.h \
Makefile.in \
+ MenuBackend.C \
+ MenuBackend.h \
Painter.C \
Painter.h \
PainterBase.C \
combox.h \
commandtags.h \
config.h.in \
+ converter.C \
+ converter.h \
counters.C \
counters.h \
credits.C \
debug.h \
encoding.C \
encoding.h \
+ exporter.C \
+ exporter.h \
+ ext_l10n.h \
figure.h \
filedlg.C \
filedlg.h \
texrow.h \
text.C \
text2.C \
- toolbar.C \
- toolbar.h \
tracer.C \
tracer.h \
trans.C \