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