mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
16fd47ad8f
The goal here is to get rid of the old code that modified variables LANGUAGE and LC_ALL, therefore creating the problems mentionned in the ticket. In the new system, there is no explicit "GUI" message handler, that needs to be reset at each language change. Instead, getGuiMessages calls getMessages with the correct parameter. This allows to simplify greatly the code and to remove a lot of old cruft.
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
include $(top_srcdir)/config/common.am
|
|
|
|
CLEANFILES += $(man_MANS)
|
|
|
|
man_MANS = lyxclient.1
|
|
|
|
bin_PROGRAMS = lyxclient
|
|
|
|
EXTRA_DIST = lyxclient.1in
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
|
|
|
|
lyxclient_LDADD = \
|
|
$(top_builddir)/src/support/liblyxsupport.a \
|
|
$(BOOST_LIBS) $(INTLLIBS) @LIBS@ $(SOCKET_LIBS) \
|
|
$(QT4_LIB) $(QT4_LDFLAGS) $(LIBSHLWAPI) $(LIBPSAPI)
|
|
|
|
if INSTALL_MACOSX
|
|
lyxclient_LDFLAGS = -framework AppKit
|
|
endif
|
|
|
|
# everything below the line containing the single backslashs
|
|
# an ugly hack and needed because of the
|
|
# 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.
|
|
|
|
SOURCEFILES = \
|
|
boost.cpp \
|
|
client.cpp
|
|
|
|
HEADERFILES = \
|
|
Messages.h
|
|
|
|
|
|
lyxclient.cpp:
|
|
@echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
|
|
|
|
if MONOLITHIC_CLIENT
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
|
|
BUILT_SOURCES = lyxclient.cpp
|
|
|
|
lyxclient_SOURCES = lyxclient.cpp $(HEADERFILES)
|
|
|
|
else
|
|
|
|
EXTRA_DIST += pch.h
|
|
AM_CPPFLAGS += $(PCH_FLAGS)
|
|
BUILT_SOURCES = $(PCH_FILE)
|
|
|
|
lyxclient_SOURCES = $(SOURCEFILES) $(HEADERFILES)
|
|
|
|
endif
|