mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 19:59:46 +00:00
bf49ea32c2
Implementation stolen from ff17b366a0
47 lines
940 B
Makefile
47 lines
940 B
Makefile
include $(top_srcdir)/config/common.am
|
|
|
|
CLEANFILES = $(man_MANS)
|
|
|
|
man_MANS = lyxclient.1
|
|
|
|
bin_PROGRAMS = lyxclient
|
|
|
|
EXTRA_DIST = lyxclient.1in CMakeLists.txt
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. \
|
|
$(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
|
|
|
|
lyxclient_LDADD = \
|
|
$(top_builddir)/src/support/liblyxsupport.a \
|
|
$(BOOST_LIBS) @LIBS@ $(ICONV_LIBS) $(ZLIB_LIBS) $(SOCKET_LIBS) \
|
|
$(QT_LIB) $(QT_LDFLAGS) $(LIBSHLWAPI) $(LIBPSAPI)
|
|
|
|
if INSTALL_MACOSX
|
|
lyxclient_LDFLAGS = -framework AppKit
|
|
endif
|
|
|
|
SOURCEFILES = \
|
|
boost.cpp \
|
|
client.cpp
|
|
|
|
HEADERFILES =
|
|
|
|
|
|
lyxclient.cpp:
|
|
$(AM_V_GEN)for file in $(SOURCEFILES) ; do echo '#include "'$${file}'"' ; done >$@
|
|
|
|
if MONOLITHIC_CLIENT
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES) $(ZLIB_INCLUDES)
|
|
BUILT_SOURCES = lyxclient.cpp
|
|
CLEANFILES += lyxclient.cpp
|
|
|
|
nodist_lyxclient_SOURCES = lyxclient.cpp
|
|
lyxclient_SOURCES = $(HEADERFILES)
|
|
|
|
else
|
|
|
|
lyxclient_SOURCES = $(SOURCEFILES) $(HEADERFILES)
|
|
|
|
endif
|