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)
18 # everything below the line containing the single backslashs
19 # an ugly hack and needed because of the
20 # linking problems described in ../Makefile.am
21 # These four objects are linked as object files as they are not
22 # referenced within the core and therefore are not picked up
23 # by the linker without looping over libs. We do not want that,
24 # and in fact libtools seems not able to do that.
37 @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
41 AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
42 BUILT_SOURCES = lyxclient.cpp
44 lyxclient_SOURCES = lyxclient.cpp $(HEADERFILES)
49 AM_CPPFLAGS += $(PCH_FLAGS)
50 BUILT_SOURCES = $(PCH_FILE)
52 lyxclient_SOURCES = $(SOURCEFILES) $(HEADERFILES)