LUMIERA.clone/tests/lib/Makefile.am
Christian Thaeter b8336879f7 autoconf/automake cleanup
* refactor configure.ac to have distinct sections to configure each
   subsystem.
 * Dedicated LUMIERA_<subsys>_CFLAGS|_LIBS vars
 * Fix Makefile.am's to use them, remove unnecessary dependencies

Stray dependencies to be refacored:
 * tests/Makefile.am has dependencies on proc and backend
  - should be moved to tests/library/Makefile.am etc anyways
 * tests/lib/Makefile.am has dependency on GUI left


 * src/tool/Makefile.am links GUI stuff generally, thats ok

 * one threading test is broken, we don't care, merging new threadpool in
   next.
2010-01-17 15:48:30 +01:00

107 lines
4.4 KiB
Makefile

# Copyright (C) Lumiera.org
# 2008, Christian Thaeter <ct@pipapo.org>
# Hermann Vosseler <Ichthyostega@web.de>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
testlib_srcdir = $(top_srcdir)/tests/lib
check_PROGRAMS += test-lib
test_lib_CPPFLAGS = $(AM_CPPFLAGS) -Wall -I$(testlib_srcdir) $(LUMIERA_GUI_CFLAGS)
#why gui cflags/libs?
test_lib_LDADD = \
$(LUMIERA_LIBRARY_LIBS) \
$(LUMIERA_GUI_LIBS) \
liblumiprocmobjectbuilder.la \
liblumiprocmobjectsession.la \
liblumiprocmobject.la \
liblumiprocengine.la \
liblumiproccontrol.la \
liblumieraproc.la \
liblumiprocasset.la \
liblumierabackend.la \
liblumieracommon.la \
liblumiera.la
test_lib_SOURCES = \
$(testlib_srcdir)/mainsuite.cpp \
$(testlib_srcdir)/allocationclustertest.cpp \
$(testlib_srcdir)/appconfigtest.cpp \
$(testlib_srcdir)/customsharedptrtest.cpp \
$(testlib_srcdir)/bool-checkable-test.cpp \
$(testlib_srcdir)/exceptionerrortest.cpp \
$(testlib_srcdir)/factory-special-test.cpp \
$(testlib_srcdir)/factorytest.cpp \
$(testlib_srcdir)/format-helper-test.cpp \
$(testlib_srcdir)/functor-util-test.cpp \
$(testlib_srcdir)/util-foreach-test.cpp \
$(testlib_srcdir)/hash-indexed-test.cpp \
$(testlib_srcdir)/helloworldtest.cpp \
$(testlib_srcdir)/lifecycletest.cpp \
$(testlib_srcdir)/multifact-test.cpp \
$(testlib_srcdir)/multifact-argument-test.cpp \
$(testlib_srcdir)/iter-adapter-test.cpp \
$(testlib_srcdir)/item-wrapper-test.cpp \
$(testlib_srcdir)/itertools-test.cpp \
$(testlib_srcdir)/iter-source-test.cpp \
$(testlib_srcdir)/meta/typelist-test.cpp \
$(testlib_srcdir)/meta/typelist-manip-test.cpp \
$(testlib_srcdir)/meta/typeseq-manip-test.cpp \
$(testlib_srcdir)/meta/type-tuple-test.cpp \
$(testlib_srcdir)/meta/function-composition-test.cpp \
$(testlib_srcdir)/meta/function-closure-test.cpp \
$(testlib_srcdir)/meta/function-erasure-test.cpp \
$(testlib_srcdir)/meta/generator-test.cpp \
$(testlib_srcdir)/meta/config-flags-test.cpp \
$(testlib_srcdir)/meta/duck-detector-test.cpp \
$(testlib_srcdir)/meta/iterable-classification-test.cpp \
$(testlib_srcdir)/query/queryutilstest.cpp \
$(testlib_srcdir)/removefromsettest.cpp \
$(testlib_srcdir)/sanitised-identifier-test.cpp \
$(testlib_srcdir)/opaque-unchecked-buffer-test.cpp \
$(testlib_srcdir)/opaque-holder-test.cpp \
$(testlib_srcdir)/scoped-holder-test.cpp \
$(testlib_srcdir)/scopedholdertransfertest.cpp \
$(testlib_srcdir)/scoped-ptrvect-test.cpp \
$(testlib_srcdir)/singleton-subclass-test.cpp \
$(testlib_srcdir)/singleton-test.cpp \
$(testlib_srcdir)/singletontestmocktest.cpp \
$(testlib_srcdir)/streamtypebasicstest.cpp \
$(testlib_srcdir)/streamtypelifecycletest.cpp \
$(testlib_srcdir)/subsystem-runner-test.cpp \
$(testlib_srcdir)/sync-classlock-test.cpp \
$(testlib_srcdir)/sync-locking-test.cpp \
$(testlib_srcdir)/sync-waiting-test.cpp \
$(testlib_srcdir)/symbol-test.cpp \
$(testlib_srcdir)/symbol-hashtable-test.cpp \
$(testlib_srcdir)/time-wrapper-test.cpp \
$(testlib_srcdir)/thread-wrapper-test.cpp \
$(testlib_srcdir)/thread-wrapper-join-test.cpp \
$(testlib_srcdir)/test/cmdlinewrappertest.cpp \
$(testlib_srcdir)/test/testoptiontest.cpp \
$(testlib_srcdir)/test/test-helper-test.cpp \
$(testlib_srcdir)/typed-allocation-manager-test.cpp \
$(testlib_srcdir)/typed-counter-test.cpp \
$(testlib_srcdir)/sub-id-test.cpp \
$(testlib_srcdir)/vectortransfertest.cpp \
$(testlib_srcdir)/visitingtoolconcept.cpp \
$(testlib_srcdir)/visitingtoolextendedtest.cpp \
$(testlib_srcdir)/visitingtooltest.cpp
noinst_HEADERS += \
$(testlib_srcdir)/query/querydiagnostics.hpp \
$(testlib_srcdir)/testdummy.hpp \
$(testlib_srcdir)/testtargetobj.hpp