2004-09-04 12:13:50 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2005-02-25 09:01:06 +00:00
|
|
|
CLEANFILES += $(man_MANS)
|
|
|
|
|
2004-09-04 12:13:50 +00:00
|
|
|
man_MANS = lyxclient.1
|
|
|
|
|
|
|
|
bin_PROGRAMS = lyxclient
|
|
|
|
|
2009-03-09 14:49:40 +00:00
|
|
|
EXTRA_DIST = lyxclient.1in
|
2007-08-19 09:44:34 +00:00
|
|
|
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
|
|
|
|
|
2004-09-04 12:13:50 +00:00
|
|
|
lyxclient_LDADD = \
|
2008-11-15 17:45:55 +00:00
|
|
|
$(top_builddir)/src/support/liblyxsupport.a \
|
|
|
|
$(BOOST_LIBS) $(INTLLIBS) @LIBS@ $(SOCKET_LIBS) \
|
2009-05-01 15:18:11 +00:00
|
|
|
$(QT4_LIB) $(QT4_LDFLAGS) $(LIBSHLWAPI) $(LIBPSAPI)
|
2004-09-04 12:13:50 +00:00
|
|
|
|
2011-09-27 07:27:19 +00:00
|
|
|
if INSTALL_MACOSX
|
2011-09-30 16:05:46 +00:00
|
|
|
lyxclient_LDFLAGS = -framework AppKit
|
2011-09-27 07:27:19 +00:00
|
|
|
endif
|
|
|
|
|
2007-08-19 09:44:34 +00:00
|
|
|
# everything below the line containing the single backslashs
|
|
|
|
# an ugly hack and needed because of the
|
2007-08-14 00:25:45 +00:00
|
|
|
# linking problems described in ../Makefile.am
|
|
|
|
# These four objects are linked as object files as they are not
|
|
|
|
# referenced within the core and therefore are not picked up
|
|
|
|
# by the linker without looping over libs. We do not want that,
|
|
|
|
# and in fact libtools seems not able to do that.
|
|
|
|
|
2007-08-19 09:44:34 +00:00
|
|
|
SOURCEFILES = \
|
2007-08-10 22:33:54 +00:00
|
|
|
boost.cpp \
|
2012-07-15 20:22:10 +00:00
|
|
|
client.cpp
|
2004-09-04 12:13:50 +00:00
|
|
|
|
2007-08-19 09:44:34 +00:00
|
|
|
HEADERFILES = \
|
2008-03-20 12:42:26 +00:00
|
|
|
Messages.h
|
2007-08-19 09:44:34 +00:00
|
|
|
|
|
|
|
|
2008-03-20 12:42:26 +00:00
|
|
|
lyxclient.cpp:
|
2007-08-19 09:44:34 +00:00
|
|
|
@echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
|
|
|
|
|
2008-03-20 23:40:18 +00:00
|
|
|
if MONOLITHIC_CLIENT
|
|
|
|
|
2007-08-19 09:44:34 +00:00
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
|
2008-03-20 12:42:26 +00:00
|
|
|
BUILT_SOURCES = lyxclient.cpp
|
|
|
|
|
|
|
|
lyxclient_SOURCES = lyxclient.cpp $(HEADERFILES)
|
2007-08-19 09:44:34 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
EXTRA_DIST += pch.h
|
|
|
|
AM_CPPFLAGS += $(PCH_FLAGS)
|
|
|
|
BUILT_SOURCES = $(PCH_FILE)
|
|
|
|
|
|
|
|
lyxclient_SOURCES = $(SOURCEFILES) $(HEADERFILES)
|
|
|
|
|
|
|
|
endif
|