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
|
|
|
|
|
2007-08-19 09:44:34 +00:00
|
|
|
EXTRA_DIST = lyxclient.man
|
|
|
|
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
|
|
|
|
|
|
|
|
lyxclient.1:
|
|
|
|
cp -p $(srcdir)/lyxclient.man lyxclient.1
|
2004-09-04 12:13:50 +00:00
|
|
|
|
|
|
|
lyxclient_LDADD = \
|
2007-08-10 22:33:54 +00:00
|
|
|
$(top_builddir)/src/support/liblyxsupport.la \
|
2007-08-15 23:12:45 +00:00
|
|
|
$(BOOST_LIBS) $(INTLLIBS) @LIBS@ $(SOCKET_LIBS)
|
2004-09-04 12:13:50 +00:00
|
|
|
|
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 \
|
|
|
|
client.cpp \
|
|
|
|
debug.cpp \
|
|
|
|
gettext.cpp \
|
2007-08-19 09:44:34 +00:00
|
|
|
Messages.cpp
|
2004-09-04 12:13:50 +00:00
|
|
|
|
2007-08-19 09:44:34 +00:00
|
|
|
HEADERFILES = \
|
|
|
|
debug.h \
|
|
|
|
Messages.h
|
|
|
|
|
|
|
|
|
|
|
|
if MONOLITHIC_CLIENT
|
|
|
|
|
2008-03-19 19:37:35 +00:00
|
|
|
client.cpp:
|
2007-08-19 09:44:34 +00:00
|
|
|
@echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
|
|
|
|
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
|
2008-03-19 19:37:35 +00:00
|
|
|
BUILT_SOURCES = client.cpp
|
2007-08-19 09:44:34 +00:00
|
|
|
|
2008-03-19 19:37:35 +00:00
|
|
|
lyxclient_SOURCES = client.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
|