1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
# Copyright (C) 1999-2005 Open Source Telecom Corporation.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
MAINTAINERCLEANFILES = Makefile.in Makefile
EXTRA_DIST = README dotests.sh test.sh output.txt vc6.mak Makefile.bcc
AM_CXXFLAGS = $(THREAD_FLAGS) @WARN_FLAGS@
INCLUDES = -I$(top_srcdir)/include
LDADD = ../src/libccgnu2.la $(THREAD_LIBS) $(DYN_LOADER)
Z_LIBS = -lz
if WITH_CPPUNIT_TESTS
TEST_SUITE = ccxx_tests
else
TEST_SUITE =
endif
noinst_PROGRAMS = $(TEST_SUITE) \
bug1 bug2 thread1 thread2 thread3 digest tcpstr1 url1 forever
noinst_HEADERS = SampleObject.h SampleSubObject.h Test_Date.h Test_Digest.h \
Test_Engine.h Test_SHATumbler.h Test_TCPStream.h Test_URLString.h
if WITH_CPPUNIT_TESTS
ccxx_tests_SOURCES = ccxx_tests.cpp SampleObject.cpp SampleSubObject.cpp \
Test_Date.cpp Test_Engine.cpp Test_TCPStream.cpp Test_URLString.cpp
# Test_Digest.cpp
ccxx_tests_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD) \
$(CPPUNIT_LIBS)
endif
bug1_SOURCES = bug1.cpp
bug2_SOURCES = bug2.cpp
forever_SOURCES = forever.cpp
digest_SOURCES = digest.cpp
digest_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
thread1_SOURCES = thread1.cpp
thread2_SOURCES = thread2.cpp
thread3_SOURCES = thread3.cpp
tcpstr1_SOURCES = tcpstr1.cpp
url1_SOURCES = url1.cpp
url1_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
|