- $(top_builddir)/src/liblyxcore.la \
- $(top_builddir)/src/liblyxinsets.la \
- $(top_builddir)/src/liblyxmathed.la \
- $(top_builddir)/src/liblyxgraphics.la \
- $(top_builddir)/src/frontends/liblyxfrontends.la \
- $(top_builddir)/src/frontends/controllers/liblyxcontrollers.la \
- $(top_builddir)/src/frontends/qt4/liblyxqt4.la \
- $(top_builddir)/src/support/liblyxsupport.la \
- $(BOOST_LIBS) $(INTLLIBS) @LIBS@ $(SOCKET_LIBS) $(QT4_LIB) $(AIKSAURUS_LIBS)
-
-# everything below the line containing a single backslash and the
-# spellchecker stuff is an ugly hack and needed because of the
+ $(top_builddir)/src/support/liblyxsupport.a \
+ $(BOOST_LIBS) @LIBS@ $(SOCKET_LIBS) \
+ $(QT4_LIB) $(QT4_LDFLAGS) $(LIBSHLWAPI) $(LIBPSAPI)
+
+if INSTALL_MACOSX
+lyxclient_LDFLAGS = -framework AppKit
+endif
+
+# everything below the line containing the single backslashs
+# an ugly hack and needed because of the