1 include $(top_srcdir)/config/common.am
3 CLEANFILES += $(man_MANS)
7 bin_PROGRAMS = lyxclient
9 EXTRA_DIST = lyxclient.1in
11 AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
14 $(top_builddir)/src/support/liblyxsupport.a \
15 $(BOOST_LIBS) $(INTLLIBS) @LIBS@ $(SOCKET_LIBS) \
16 $(QT4_LIB) $(QT4_LDFLAGS) $(LIBSHLWAPI) $(LIBPSAPI)
19 lyxclient_LDFLAGS = -framework AppKit
22 # everything below the line containing the single backslashs
23 # an ugly hack and needed because of the
24 # linking problems described in ../Makefile.am
25 # These four objects are linked as object files as they are not
26 # referenced within the core and therefore are not picked up
27 # by the linker without looping over libs. We do not want that,
28 # and in fact libtools seems not able to do that.
41 @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
45 AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
46 BUILT_SOURCES = lyxclient.cpp
48 lyxclient_SOURCES = lyxclient.cpp $(HEADERFILES)
53 AM_CPPFLAGS += $(PCH_FLAGS)
54 BUILT_SOURCES = $(PCH_FILE)
56 lyxclient_SOURCES = $(SOURCEFILES) $(HEADERFILES)