git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@885350 13f79535-47bb-0310-9956-ffa450edef68
43 lines
1.6 KiB
Makefile
43 lines
1.6 KiB
Makefile
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
noinst_PROGRAMS = kernel-test cache-test xsd-test
|
|
|
|
testdir=$(prefix)/test
|
|
test_LTLIBRARIES = libdynlib-test.la
|
|
|
|
includedir = $(prefix)/include/kernel
|
|
include_HEADERS = *.hpp
|
|
|
|
INCLUDES = -I. -I$(top_builddir)/kernel -I${LIBXML2_INCLUDE} -I${APR_INCLUDE}
|
|
|
|
kernel_test_SOURCES = kernel-test.cpp
|
|
kernel_test_CXXFLAGS = $(CXXFLAGS) -D_REENTRANT
|
|
kernel_test_LDADD = -lpthread -L${LIBXML2_LIB} -lxml2 -L${APR_LIB} -lapr-1 -laprutil-1
|
|
|
|
libdynlib_test_la_SOURCES = dynlib-test.cpp
|
|
libdynlib_test_la_CXXFLAGS = $(CXXFLAGS) -D_REENTRANT
|
|
libdynlib_test_la_LIBADD = -lpthread -L${APR_LIB} -lapr-1 -laprutil-1
|
|
|
|
cache_test_SOURCES = cache-test.cpp
|
|
cache_test_LDADD = -L${LIBXML2_LIB} -lxml2 -L${APR_LIB} -lapr-1 -laprutil-1
|
|
|
|
xsd_test_SOURCES = xsd-test.cpp
|
|
xsd_test_LDADD = -L${LIBXML2_LIB} -lxml2 -L${APR_LIB} -lapr-1 -laprutil-1
|
|
|
|
TESTS = kernel-test diskcache-test
|
|
|