mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-19 04:20:09 +00:00
08afc52c4c
The included iconv should not be used on Linux or OS X, but (depending on local configuration) it might be needed for crosscompiling a mingw target from Linux. Now the user can choose whether to use the included iconv or not. cmake does already support that. eilseq.m4 was taken from the original libiconv 1.14 package.
52 lines
972 B
Makefile
52 lines
972 B
Makefile
include $(top_srcdir)/config/common.am
|
|
|
|
SUBDIRS = $(FRONTENDS_SUBDIRS) .
|
|
|
|
DIST_SUBDIRS = qt4 .
|
|
|
|
noinst_LIBRARIES = liblyxfrontends.a
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/.. \
|
|
$(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
|
|
|
|
liblyxfrontends_a_SOURCES = \
|
|
alert.h \
|
|
Application.h \
|
|
FontLoader.h \
|
|
FontMetrics.h \
|
|
Delegates.h \
|
|
KeyModifier.h \
|
|
KeySymbol.h \
|
|
Painter.h \
|
|
Clipboard.h \
|
|
Selection.h \
|
|
WorkArea.h \
|
|
WorkAreaManager.cpp \
|
|
WorkAreaManager.h \
|
|
mouse_state.h
|
|
|
|
################################# Tests ################################
|
|
|
|
EXTRA_DIST = \
|
|
CMakeLists.txt \
|
|
tests/CMakeLists.txt \
|
|
tests/test_biblio.cmake \
|
|
tests/test_biblio \
|
|
tests/regfiles/biblio
|
|
|
|
TESTS = \
|
|
tests/test_biblio
|
|
|
|
check_PROGRAMS = \
|
|
biblio
|
|
|
|
biblio_LDADD = $(BOOST_LIBS) $(ICONV_LIBS) $(ZLIB_LIBS)
|
|
biblio_SOURCES = \
|
|
tests/biblio.cpp \
|
|
tests/boost.cpp
|
|
|
|
makeregfiles: ${check_PROGRAMS}
|
|
for all in ${check_PROGRAMS} ; do \
|
|
./$$all > ${srcdir}/tests/regfiles/$$all ; \
|
|
done
|