Commit a052fa76 authored by anilsaharan's avatar anilsaharan

modified for release 1.0-3.


git-svn-id: http://svn.code.sf.net/p/cunit/code/trunk@9 f00e6729-6848-4c17-8bfb-678c97c00071
parent bd6a2adb
......@@ -93,12 +93,20 @@ SOURCE=.\Sources\Console.c
# End Source File
# Begin Source File
SOURCE=.\Sources\CUnit.rc
# End Source File
# Begin Source File
SOURCE=.\Sources\TestDB.c
# End Source File
# Begin Source File
SOURCE=.\Sources\TestRun.c
# End Source File
# Begin Source File
SOURCE=.\Sources\Win.c
# End Source File
# End Group
# Begin Group "Header Files"
......@@ -123,6 +131,10 @@ SOURCE=.\Headers\TestDB.h
SOURCE=.\Headers\TestRun.h
# End Source File
# Begin Source File
SOURCE=.\Headers\Win.h
# End Source File
# End Group
# End Target
# End Project
/*
* CUnit - A Unit testing framework library for C.
* Copyright (C) 2001 Anil Kumar
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Contains ASSERT Macro definition
*
......@@ -7,21 +26,26 @@
* EMail : aksaharan@yahoo.com
*/
#ifndef _CUnit_h_
#define _CUnit_h_
#ifndef _CUNIT_CUNIT_H
#define _CUNIT_CUNIT_H 1
#include "Errno.h"
#include "TestDB.h"
#include "TestRun.h"
#include "Console.h"
/*
* This is including the null character for termination. In effect it comes out
* to be 255 characters.
*/
#define MAX_TEST_NAME_LENGTH 256
#define MAX_GROUP_NAME_LENGTH 256
#define MAX_GROUP_NAME_LENGTH 256
/*
* Global type Definitions to be used for boolean operators
*/
#ifndef BOOL
#define BOOL int
#define FALSE (int)0
#define TRUE (int)~FALSE
#endif
extern void assertImplementation(unsigned int bValue,unsigned int uiLine,
char strCondition[], char strFile[], char strFunction[]);
......@@ -31,4 +55,4 @@ extern void assertImplementation(unsigned int bValue,unsigned int uiLine,
#define ASSERT(value) if (0 == (int)(value)) { assertImplementation(value, __LINE__, #value, __FILE__, ""); return; }
#endif /* _CUnit_h_ */
#endif /* _CUNIT_CUNIT_H */
/*
* CUnit - A Unit testing framework library for C.
* Copyright (C) 2001 Anil Kumar
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Contains Interface for console Run tests.
*
......@@ -7,9 +26,12 @@
* EMail : aksaharan@yahoo.com
*/
#ifndef _Console_h_
#define _Console_h_
#ifndef _CUNIT_CONSOLE_H
#define _CUNIT_CONSOLE_H 1
#include "CUnit.h"
#include "TestDB.h"
extern void console_run_tests(void);
#endif /* _Console_h_ */
#endif /* _CUNIT_CONSOLE_H_ */
/*
* CUnit - A Unit testing framework library for C.
* Copyright (C) 2001 Anil Kumar
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Contains CUnit error codes which can be used externally.
*
......@@ -9,29 +28,35 @@
* Modified : 02/Oct/2001
* Comment : Added proper Eror Codes
* EMail : aksaharan@yahoo.com
*
* Modified : 13/Oct/2001
* Comment : Added Eror Codes for Duplicate TestGroup and Test
* EMail : aksaharan@yahoo.com
*
*/
#ifndef _Errno_h_
#define _Errno_h_
#ifndef _CUNIT_ERRNO_H
#define _CUNIT_ERRNO_H 1
#include <errno.h>
#define CUE_SUCCESS 0
#define CUE_NOMEMORY 1
#define CUE_NOMEMORY 1
/* Test Registry Level Errors */
#define CUE_NOREGISTRY 10
#define CUE_REGISTRY_EXISTS 11
/* Test Group Level Errors */
#define CUE_NOGROUP 20
#define CUE_NOGROUP 20
#define CUE_NO_GROUPNAME 21
#define CUE_GRPINIT_FAILED 22
#define CUE_GRPCLEAN_FAILED 23
#define CUE_DUP_GROUP 24
/* Test Case Level Errors */
#define CUE_NOTEST 30
#define CUE_NOTEST 30
#define CUE_NO_TESTNAME 31
#define CUE_DUP_TEST 32
#endif /* _Errno_h_ */
#endif /* _CUNIT_ERRNO_H */
include_HEADERS = \
CUnitIncludedir=${includedir}/CUnit
CUnitInclude_HEADERS = \
Console.h \
CUnit.h \
Curses.h \
Errno.h \
TestDB.h
#Util.h, TestRun.h are not included because these are used internally
#by the CUnit files but is not for the external inclusion.
......@@ -61,13 +61,15 @@ CC = @CC@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
RELEASE = @RELEASE@
VERSION = @VERSION@
include_HEADERS = Console.h CUnit.h Errno.h TestDB.h
CUnitIncludedir = ${includedir}/CUnit
CUnitInclude_HEADERS = Console.h CUnit.h Curses.h Errno.h TestDB.h
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
HEADERS = $(include_HEADERS)
HEADERS = $(CUnitInclude_HEADERS)
DIST_COMMON = Makefile.am Makefile.in
......@@ -86,19 +88,19 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
install-includeHEADERS: $(include_HEADERS)
install-CUnitIncludeHEADERS: $(CUnitInclude_HEADERS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(includedir)
@list='$(include_HEADERS)'; for p in $$list; do \
$(mkinstalldirs) $(DESTDIR)$(CUnitIncludedir)
@list='$(CUnitInclude_HEADERS)'; for p in $$list; do \
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(CUnitIncludedir)/$$p"; \
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(CUnitIncludedir)/$$p; \
done
uninstall-includeHEADERS:
uninstall-CUnitIncludeHEADERS:
@$(NORMAL_UNINSTALL)
list='$(include_HEADERS)'; for p in $$list; do \
rm -f $(DESTDIR)$(includedir)/$$p; \
list='$(CUnitInclude_HEADERS)'; for p in $$list; do \
rm -f $(DESTDIR)$(CUnitIncludedir)/$$p; \
done
tags: TAGS
......@@ -138,7 +140,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
......@@ -156,20 +158,20 @@ installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am
install-data-am: install-includeHEADERS
install-data-am: install-CUnitIncludeHEADERS
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-includeHEADERS
uninstall-am: uninstall-CUnitIncludeHEADERS
uninstall: uninstall-am
all-am: Makefile $(HEADERS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(includedir)
$(mkinstalldirs) $(DESTDIR)$(CUnitIncludedir)
mostlyclean-generic:
......@@ -200,7 +202,7 @@ maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
maintainer-clean: maintainer-clean-am
.PHONY: uninstall-includeHEADERS install-includeHEADERS tags \
.PHONY: uninstall-CUnitIncludeHEADERS install-CUnitIncludeHEADERS tags \
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
distdir info-am info dvi-am dvi check check-am installcheck-am \
installcheck install-exec-am install-exec install-data-am install-data \
......@@ -209,6 +211,9 @@ installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
#Util.h, TestRun.h are not included because these are used internally
#by the CUnit files but is not for the external inclusion.
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
/*
* CUnit - A Unit testing framework library for C.
* Copyright (C) 2001 Anil Kumar
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Contains all the Type Definitions and functions declarations
* for the CUnit test database maintenance.
......@@ -10,11 +29,13 @@
* Last Modified : 24/aug/2001 by Anil Kumar
* Comment : Made the linked list from SLL to DLL(doubly linked list).
* EMail : aksaharan@yahoo.com
*
*/
#ifndef _TestDB_H_
#define _TestDB_H_
#ifndef _CUNIT_TESTDB_H
#define _CUNIT_TESTDB_H 1
#include "CUnit.h"
#include "Errno.h"
/*
* Type definition for Initialization/Cleaup/TestFunction for TestCase/TestGroup
......@@ -85,10 +106,14 @@ extern int set_registry(PTestRegistry pTestRegistry);
extern PTestGroup add_test_group(char* strName, InitializeFunc pInit, CleanupFunc pClean);
extern PTestCase add_test_case(PTestGroup pGroup, char* strName, TestFunc pTest);
/*
* This function is for internal use and is used by the
* Asssert Implementation function to store the error description
* and the codes.
*/
extern void add_failure(unsigned int uiLineNumber, char szCondition[],
char szFileName[], PTestGroup pGroup, PTestCase pTest);
extern const char* get_error(void);
#endif /* _TestDB_H_ */
#endif /* _CUNIT_TESTDB_H */
/*
* CUnit - A Unit testing framework library for C.
* Copyright (C) 2001 Anil Kumar
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Contains Interface to Run tests.
*
......@@ -6,12 +25,17 @@
* Comment : Contains generic run tests interface which can be used
* be used for any type of frontend interface framework.
* EMail : aksaharan@yahoo.com
*
* Last Modified : 24/Nov/2001
* Comment : Added Handler for Group Initialization failure condition.
* EMail : aksaharan@yahoo.com
*/
#ifndef _TestRun_h_
#define _TestRun_h_
#ifndef _CUNIT_TESTRUN_H
#define _CUNIT_TESTRUN_H 1
#include "CUnit.h"
#include "Errno.h"
#include "TestDB.h"
/*
......@@ -26,8 +50,9 @@ extern PTestCase g_pTestCase;
*/
typedef void (*TestStartMessageHandler)(const char* pTest, const char* pGroup);
typedef void (*TestCompleteMessageHandler)(const char* pTest, const char* pGroup,
PTestResult pTestResult);
typedef void (*AllTestsCompleteMessageHandler)(PTestResult pTestResult);
const PTestResult pTestResult);
typedef void (*AllTestsCompleteMessageHandler)(const PTestResult pTestResult);
typedef void (*GroupInitFailureMessageHandler)(const PTestGroup pGroup);
/*
* Get/Set functions for the Message Handlers.
......@@ -35,9 +60,12 @@ typedef void (*AllTestsCompleteMessageHandler)(PTestResult pTestResult);
extern void set_test_start_handler(TestStartMessageHandler pTestStartMessage);
extern void set_test_complete_handler(TestCompleteMessageHandler pTestCompleteMessage);
extern void set_all_test_complete_handler(AllTestsCompleteMessageHandler pAllTestsCompleteMessage);
extern void set_group_init_failure_handler(GroupInitFailureMessageHandler pGroupInitFailureMessage);
extern TestStartMessageHandler get_test_start_handler(void);
extern TestCompleteMessageHandler get_test_complete_handler(void);
extern AllTestsCompleteMessageHandler get_all_test_complete_handler(void);
extern GroupInitFailureMessageHandler get_group_init_failure_handler(void);
/*
* Function to Run all the Registered tests under various groups
......@@ -50,4 +78,4 @@ extern int get_number_of_groups_run(void);
extern int get_number_of_tests_run(void);
#endif /* _TestRun_h_ */
#endif /* _CUNIT_TESTRUN_H */
srcdir = ${datadir}/src
SUBDIRS = Sources Headers
......@@ -12,6 +12,8 @@
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
......@@ -59,9 +61,9 @@ CC = @CC@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
RELEASE = @RELEASE@
VERSION = @VERSION@
srcdir = ${datadir}/src
SUBDIRS = Sources Headers
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
......@@ -179,7 +181,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
......
/*
* CUnit - A Unit testing framework library for C.
* Copyright (C) 2001 Anil Kumar
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Contains the Console Test Interface implementation.
*
......@@ -20,6 +39,9 @@
#include <string.h>
#include "CUnit.h"
#include "TestDB.h"
#include "Util.h"
#include "TestRun.h"
#include "Console.h"
typedef enum
......@@ -37,9 +59,10 @@ static void console_run_all_tests(PTestRegistry pRegistry);
static void console_run_group_tests(PTestGroup pGroup);
static void console_run_single_test(PTestGroup pGroup, PTestCase pTest);
void test_start_message_handler(const char* szTest, const char* szGroup);
void test_complete_message_handler(const char* szTest, const char* szGroup, PTestResult pTestResult);
void all_tests_complete_message_handler(PTestResult pTestResult);
void console_test_start_message_handler(const char* szTest, const char* szGroup);
void console_test_complete_message_handler(const char* szTest, const char* szGroup, const PTestResult pTestResult);
void console_all_tests_complete_message_handler(const PTestResult pTestResult);
void console_group_init_failure_message_handler(const PTestGroup pGroup);
static int select_test(PTestGroup pGroup, PTestCase* pTest);
static int select_group(PTestRegistry pRegistry, PTestGroup* pGroup);
......@@ -48,10 +71,6 @@ static void list_groups(PTestRegistry pRegistry);
static void list_tests(PTestGroup pGroup);
static void show_failures(PTestRegistry pRegistry);
static int compare_strings(const char* szSrc, const char* szDest);
static PTestGroup get_group_by_name(const char* szGroupName, PTestRegistry pRegistry);
static PTestCase get_test_by_name(const char* szTestName, PTestGroup pGroup);
void console_run_tests(void)
{
......@@ -70,9 +89,10 @@ void console_run_tests(void)
return;
}
set_test_start_handler(test_start_message_handler);
set_test_start_handler(console_test_start_message_handler);
set_test_complete_handler(NULL);
set_all_test_complete_handler(all_tests_complete_message_handler);
set_all_test_complete_handler(console_all_tests_complete_message_handler);
set_group_init_failure_handler(console_group_init_failure_message_handler);
console_registry_level_run(get_registry());
}
......@@ -228,50 +248,6 @@ static int select_group(PTestRegistry pRegistry, PTestGroup* pGroup)
return 0;
}
static PTestGroup get_group_by_name(const char* szGroupName, PTestRegistry pRegistry)
{
PTestGroup pGroup = NULL;
PTestGroup pCur = pRegistry->pGroup;
while (pCur) {
if (!compare_strings(pCur->pName, szGroupName)) {
pGroup = pCur;
break;
}
pCur = pCur->pNext;
}
return pGroup;
}
static PTestCase get_test_by_name(const char* szTestName, PTestGroup pGroup)
{
PTestCase pTest = NULL;
PTestCase pCur = pGroup->pTestCase;
while (pCur) {
if (!compare_strings(pCur->pName, szTestName)) {
pTest = pCur;
break;
}
pCur = pCur->pNext;
}
return pTest;
}
static int compare_strings(const char* szSrc, const char* szDest)
{
while (*szSrc && *szDest && toupper(*szSrc) == toupper(*szDest)) {
szSrc++;
szDest++;
}
return *szSrc - *szDest;
}
static void list_groups(PTestRegistry pRegistry)
{
PTestGroup pCurGroup = NULL;
......@@ -328,7 +304,7 @@ static void show_failures(PTestRegistry pRegistry)
fprintf(stdout, "\nNo failures.");
return;
}
assert(pRegistry->pGroup);
assert(pRegistry->pResult);
fprintf(stdout, "\n============================= Test Case Failure List =========================\n");
......@@ -345,7 +321,7 @@ static void show_failures(PTestRegistry pRegistry)
}
void test_start_message_handler(const char* szTest, const char* szGroup)
void console_test_start_message_handler(const char* szTest, const char* szGroup)
{
/*
* Comparing the Addresses rather than the Group Names.
......@@ -360,7 +336,7 @@ void test_start_message_handler(const char* szTest, const char* szGroup)
}
}
void test_complete_message_handler(const char* szTest, const char* szGroup, PTestResult pTestResult)
void console_test_complete_message_handler(const char* szTest, const char* szGroup, const PTestResult pTestResult)
{
/*
* For console interface do nothing. This is useful only for the test
......@@ -368,7 +344,7 @@ void test_complete_message_handler(const char* szTest, const char* szGroup, PTes
*/
}
void all_tests_complete_message_handler(PTestResult pTestResult)
void console_all_tests_complete_message_handler(const PTestResult pTestResult)
{
PTestRegistry pRegistry = get_registry();
assert(pRegistry);
......@@ -377,3 +353,10 @@ void all_tests_complete_message_handler(PTestResult pTestResult)
get_number_of_groups_run(), get_number_of_tests_run(),
get_number_of_tests_run() - pRegistry->uiNumberOfFailures, pRegistry->uiNumberOfFailures);
}
void console_group_init_failure_message_handler(const PTestGroup pGroup)
{
/*
* TODO for Console interface.
*/
}
noinst_LIBRARIES = libcunitconsole.a
libcunitconsole_a_SOURCES = \
Console.c
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# 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.
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../../..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
CC = @CC@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
RELEASE = @RELEASE@
VERSION = @VERSION@
noinst_LIBRARIES = libcunitconsole.a
libcunitconsole_a_SOURCES = Console.c
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
LIBRARIES = $(noinst_LIBRARIES)
DEFS = @DEFS@ -I. -I$(srcdir)
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libcunitconsole_a_LIBADD =
libcunitconsole_a_OBJECTS = Console.o
AR = ar
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
SOURCES = $(libcunitconsole_a_SOURCES)
OBJECTS = $(libcunitconsole_a_OBJECTS)
all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps CUnit/Sources/Console/Makefile