OSDN Git Service

5e3cde8dedb38c37be69fb9cb2a1ef707da0c43f
[ccunit/ccunit.git] / examples / complex / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 ##   Copyright (C) 2003 TSUTSUMI Kikuo.
3 ##   This file is part of the CCUnit Library.
4 ##
5 ##   The CCUnit Library is free software; you can redistribute it and/or
6 ##   modify it under the terms of the GNU Lesser General Public License
7 ##   as published by the Free Software Foundation; either version 2.1 of
8 ##   the License, or (at your option) any later version.
9 ##
10 ##   The CCUnit Library is distributed in the hope that it will be
11 ##   useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 ##   of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ##   GNU Lesser General Public License for more details.
14 ##
15 ##   You should have received a copy of the GNU Lesser General Public
16 ##   License along with the CCUnit Library; see the file COPYING.LESSER.
17 ##   If not, write to the Free Software Foundation, Inc., 59 Temple
18 ##   Place - Suite 330, Boston, MA 02111-1307, USA.  
19
20 # $Id$
21
22 lib_LIBRARIES = libcomplex.a
23 check_PROGRAMS = runTestFixture runTestSuite runTestRunner runTest
24 TESTS = runTestFixture runTestSuite runTestRunner runTest
25
26 libcomplex_a_SOURCES = complex.c complex.h
27 runTest_SOURCES = runTest.c testComplex.c testComplexMulDiv.c
28 runTest_LDADD = -lcomplex -lccunit
29 nodist_runTest_SOURCES = suiteComplex.c
30 BUILT_SOURCES = suiteComplex.c
31
32 runTestFixture_SOURCES = runTestFixture.c testComplex.c
33 runTestFixture_LDADD = -lcomplex -lccunit
34
35 runTestSuite_SOURCES = runTestSuite.c testComplexMulDiv.c testComplex.c \
36         complexTestSuite.c
37 runTestSuite_LDADD = -lcomplex -lccunit
38
39 runTestRunner_SOURCES = runTestRunner.c testComplexMulDiv.c testComplex.c \
40         complexTestSuite.c
41 runTestRunner_LDADD = -lcomplex -lccunit
42
43 AM_CFLAGS=-Wall -Werror
44 AM_CPPFLAGS=-I. -I$(top_srcdir)/src
45 AM_LDFLAGS=-L. -L$(top_srcdir)/src/ccunit
46
47 EXTRA_DIST=
48
49 CLEANFILES=*~ .*~ ./\#*\# *.log suiteComplex.c
50
51 MAKESUITE=$(top_srcdir)/src/tools/ccunit_makeSuite
52
53 suiteComplex.c: testComplex.c
54         $(MAKESUITE) -f complex_suite -o $@ testComplex.c