1 include $(top_srcdir)/config/common.am
3 CLEANFILES = $(man_MANS)
7 bin_PROGRAMS = lyxclient
9 EXTRA_DIST = lyxclient.1in CMakeLists.txt
11 AM_CPPFLAGS += -I$(srcdir)/.. \
12 $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
15 $(top_builddir)/src/support/liblyxsupport.a \
16 $(BOOST_LIBS) @LIBS@ $(ICONV_LIBS) $(ZLIB_LIBS) $(SOCKET_LIBS) \
17 $(QT_LIB) $(QT_LDFLAGS) $(LIBSHLWAPI) $(LIBPSAPI)
20 lyxclient_LDFLAGS = -framework AppKit
23 # everything below the line containing the single backslashs
24 # an ugly hack and needed because of the
25 # linking problems described in ../Makefile.am
26 # These four objects are linked as object files as they are not
27 # referenced within the core and therefore are not picked up
28 # by the linker without looping over libs. We do not want that,
29 # and in fact libtools seems not able to do that.
39 $(AM_V_GEN)for file in $(SOURCEFILES) ; do echo '#include "'$${file}'"' ; done >$@
43 AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES) $(ZLIB_INCLUDES)
44 BUILT_SOURCES = lyxclient.cpp
45 CLEANFILES += lyxclient.cpp
47 lyxclient_SOURCES = lyxclient.cpp $(HEADERFILES)
51 lyxclient_SOURCES = $(SOURCEFILES) $(HEADERFILES)