]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
fix tooltips in toolbar
[lyx.git] / src / frontends / Makefile.am
index 3cb18f2157b0faf5a4a828b8ebfadf1bec3a082f..a33b0048e302272928b749e2d27e3628b8171cb4 100644 (file)
@@ -1,24 +1,19 @@
-AUTOMAKE_OPTIONS = foreign 1.4
-DISTCLEANFILES= *.orig *.rej *~ *.bak core
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
-# xforms has to be fixed here as we still need object files in this directory
-# for the compilation of other frontends, so until that we have to let this
-# here.
-SUBDIRS = support controllers xforms @FRONTEND@
-ETAGS_ARGS = --lang=c++
-BOOST_INCLUDES = -I$(top_srcdir)/boost
-INCLUDES = ${FRONTEND_INCLUDES} -I${srcdir}/.. -I${srcdir}/xforms ${SIGC_CFLAGS} $(BOOST_INCLUDES)
-LIBS =
-noinst_LTLIBRARIES = libfrontends.o
+include $(top_srcdir)/config/common.am
 
-libfrontends_o_LIBADD= `cat libxforms.objects` \
-       `cat libcontrollers.objects` \
-       support/libfrontendsupport.o
+SUBDIRS = controllers @FRONTEND@
 
-libfrontends_o_DEPENDENCIES = \
-       support/libfrontendsupport.o
+DIST_SUBDIRS = controllers xforms qt2 gnome
 
-libfrontends_o_SOURCES=\
+noinst_LTLIBRARIES = libfrontends.la
+
+LIBS += @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
+
+INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/..  $(SIGC_CFLAGS) $(BOOST_INCLUDES)
+libfrontends_la_LIBADD = @FRONTEND_GUILIB@ controllers/*.lo
+
+libfrontends_la_DEPENDENCIES = $(libfrontends_la_LIBADD)
+
+libfrontends_la_SOURCES = \
        Alert.C \
        Alert.h \
        Alert_pimpl.h \
@@ -26,19 +21,28 @@ libfrontends_o_SOURCES=\
        Dialogs.h \
        DialogBase.h \
        FileDialog.h \
-       GUIRunTime.h \
        Liason.C \
        Liason.h \
+       LyXKeySym.h \
+       LyXKeySymFactory.h \
+       LyXScreenFactory.h \
+       LyXView.C \
+       LyXView.h \
        Menubar.C \
        Menubar.h \
+       Painter.C \
+       Painter.h \
        Timeout.C \
        Timeout.h \
        Toolbar.C \
-       Toolbar.h
-
-EXTRA_DIST = qt2 gnome
-
-dist-hook:
-       @cd $(distdir) ; \
-       rm -rf `find qt2 -name \*CVS\*`; \
-       rm -rf `find gnome -name \*CVS\*`
+       Toolbar.h \
+       WorkArea.C \
+       WorkArea.h \
+       WorkAreaFactory.h \
+       font_metrics.h \
+       guiapi.h \
+       key_state.h \
+       lyx_gui.h \
+       mouse_state.h \
+       screen.C \
+       screen.h