Skip to content
This repository has been archived by the owner on Mar 18, 2018. It is now read-only.

Commit

Permalink
Added CFTest and SimpleWebServer to the check and dist make target go…
Browse files Browse the repository at this point in the history
…als.

git-svn-id: https://opencflite.svn.sourceforge.net/svnroot/opencflite@125 949b7c4e-b822-e185-8c53-f993a654f32e
  • Loading branch information
geric001 committed Mar 11, 2009
1 parent bf76e74 commit 6b6cd48
Show file tree
Hide file tree
Showing 8 changed files with 1,041 additions and 3 deletions.
4 changes: 3 additions & 1 deletion configure
Expand Up @@ -32206,7 +32206,7 @@ done
#
# Identify the various makefiles and auto-generated files for the package
#
ac_config_files="$ac_config_files CoreFoundation.pc Makefile include/Makefile compat/Makefile tests/Makefile examples/Makefile examples/Allocator/Makefile examples/CFLocalServer/Makefile examples/CFMessagePort/Makefile examples/CFRunLoopTimerExample/Makefile examples/DisplayURL/Makefile examples/DNSServiceMetaQuery/Makefile examples/ReadPListExample/Makefile examples/StringExample/Makefile examples/WritePListExample/Makefile"
ac_config_files="$ac_config_files CoreFoundation.pc Makefile include/Makefile compat/Makefile tests/Makefile examples/Makefile examples/Allocator/Makefile examples/CFLocalServer/Makefile examples/CFMessagePort/Makefile examples/CFRunLoopTimerExample/Makefile examples/CFTest/Makefile examples/DisplayURL/Makefile examples/DNSServiceMetaQuery/Makefile examples/ReadPListExample/Makefile examples/SimpleWebServer/Makefile examples/StringExample/Makefile examples/WritePListExample/Makefile"


#
Expand Down Expand Up @@ -33196,9 +33196,11 @@ do
"examples/CFLocalServer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/CFLocalServer/Makefile" ;;
"examples/CFMessagePort/Makefile") CONFIG_FILES="$CONFIG_FILES examples/CFMessagePort/Makefile" ;;
"examples/CFRunLoopTimerExample/Makefile") CONFIG_FILES="$CONFIG_FILES examples/CFRunLoopTimerExample/Makefile" ;;
"examples/CFTest/Makefile") CONFIG_FILES="$CONFIG_FILES examples/CFTest/Makefile" ;;
"examples/DisplayURL/Makefile") CONFIG_FILES="$CONFIG_FILES examples/DisplayURL/Makefile" ;;
"examples/DNSServiceMetaQuery/Makefile") CONFIG_FILES="$CONFIG_FILES examples/DNSServiceMetaQuery/Makefile" ;;
"examples/ReadPListExample/Makefile") CONFIG_FILES="$CONFIG_FILES examples/ReadPListExample/Makefile" ;;
"examples/SimpleWebServer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/SimpleWebServer/Makefile" ;;
"examples/StringExample/Makefile") CONFIG_FILES="$CONFIG_FILES examples/StringExample/Makefile" ;;
"examples/WritePListExample/Makefile") CONFIG_FILES="$CONFIG_FILES examples/WritePListExample/Makefile" ;;

Expand Down
2 changes: 2 additions & 0 deletions configure.ac
Expand Up @@ -704,9 +704,11 @@ examples/Allocator/Makefile
examples/CFLocalServer/Makefile
examples/CFMessagePort/Makefile
examples/CFRunLoopTimerExample/Makefile
examples/CFTest/Makefile
examples/DisplayURL/Makefile
examples/DNSServiceMetaQuery/Makefile
examples/ReadPListExample/Makefile
examples/SimpleWebServer/Makefile
examples/StringExample/Makefile
examples/WritePListExample/Makefile
])
Expand Down
36 changes: 36 additions & 0 deletions examples/CFTest/Makefile.am
@@ -0,0 +1,36 @@
EXTRA_DIST = Chiquitita.xml \
test.xml \
mac/CFTest.xcodeproj/project.pbxproj \
win_cw/MyMFCHeaders.pch++ \
win_cw/CFTest.mcp \
win_cw/MyMFCHeaders.h \
win_vs/CFTest.vcproj \
win_vs/CFTest.sln

noinst_HEADERS = source/shared/CFUtils.h \
source/shared/SuperString.h \
source/main/CFTest.h \
source/main/stdafx.h

if CF_BUILD_TESTS
EXTRA_PROGRAMS = CFTest
endif

CFTest_LDADD = ${top_builddir}/libCoreFoundation.la

CFTest_CPPFLAGS = -D_CFTEST_ \
-I${srcdir}/source/shared \
-I${top_srcdir}/include

CFTest_SOURCES = source/main/main.cpp \
source/main/CFTest.cpp \
source/shared/SuperString.cpp \
source/shared/CFUtils.cpp

if CF_BUILD_TESTS
ddd gdb: CFTest
${LIBTOOL} --mode execute ${@} ./CFTest

valgrind: CFTest
${LIBTOOL} --mode execute ${@} ${VALGRINDFLAGS} ./CFTest
endif

0 comments on commit 6b6cd48

Please sign in to comment.