Commit e7640d78 authored by jds2's avatar jds2

Streamline & update jam build system.

Bug fixes:
  - minor errors in doc/managing_tests.html. (cunit-Bugs-1161520)
  - fixed CU_ADD_TEST() macro definition in TestDB.h.
    (cunit-Bugs-1161527)
  - changed header Curses.h to CUCurses.h to avoid conflict
    with system curses.h on Windows.  (cunit-Bugs-1185382)
  - removed const qualifier from CU_get_failure_list() and
    and CU_get_run_summary() return values. (cunit-Bugs-1106644)


git-svn-id: http://svn.code.sf.net/p/cunit/code/trunk@62 f00e6729-6848-4c17-8bfb-678c97c00071
parent ab27a340
Summary: A unit testing framework for 'C'
Name: CUnit
Version: 2.0
Release: 1
Source: http://www.sourceforge.net/projects/cunit/CUnit-2.0-1.tar.gz
Group: Development/Tools
License: GPL
URL: http://cunit.sourceforge.net
Packager: Jerry St. Clair <jds2@users.sourceforge.net>
%description
CUnit is a unit testing framework for C.
This package installs the CUnit static library,
headers, and documentation files.
%prep
echo "Preparing for Installation."
%setup -q -n CUnit-2.0-1
%build
echo "Preparing for Building."
./configure --prefix=%{_prefix} && \
make
%install
echo "Preparing for Make install."
make DESTDIR=$RPM_BUILD_ROOT install
%clean
%files
%defattr(-,root,root)
########### Include Files
%{_prefix}/include/CUnit/Automated.h
%{_prefix}/include/CUnit/Basic.h
%{_prefix}/include/CUnit/Console.h
%{_prefix}/include/CUnit/CUError.h
%{_prefix}/include/CUnit/CUnit.h
%{_prefix}/include/CUnit/Curses.h
%{_prefix}/include/CUnit/MyMem.h
%{_prefix}/include/CUnit/TestDB.h
%{_prefix}/include/CUnit/TestRun.h
%{_prefix}/include/CUnit/Util.h
########## Library File
%{_prefix}/lib/libcunit.a
########## doc Files
%{_prefix}/doc/CUnit/CUnit_doc.css
%{_prefix}/doc/CUnit/error_handling.html
%{_prefix}/doc/CUnit/fdl.html
%{_prefix}/doc/CUnit/index.html
%{_prefix}/doc/CUnit/introduction.html
%{_prefix}/doc/CUnit/managing_tests.html
%{_prefix}/doc/CUnit/running_tests.html
%{_prefix}/doc/CUnit/test_registry.html
%{_prefix}/doc/CUnit/writing_tests.html
%{_prefix}/doc/CUnit/headers/Automated.h
%{_prefix}/doc/CUnit/headers/Basic.h
%{_prefix}/doc/CUnit/headers/Console.h
%{_prefix}/doc/CUnit/headers/CUError.h
%{_prefix}/doc/CUnit/headers/CUnit.h
%{_prefix}/doc/CUnit/headers/Curses.h
%{_prefix}/doc/CUnit/headers/MyMem.h
%{_prefix}/doc/CUnit/headers/TestDB.h
%{_prefix}/doc/CUnit/headers/TestRun.h
%{_prefix}/doc/CUnit/headers/Util.h
%{_prefix}/doc/CUnit/headers/Win.h
########## Manpage Files
%{_prefix}/man/man3/CUnit.3*
########## Share information and Example Files
%{_prefix}/share/CUnit/Examples/Automated/README
%{_prefix}/share/CUnit/Examples/Automated/AutomatedTest
%{_prefix}/share/CUnit/Examples/Basic/README
%{_prefix}/share/CUnit/Examples/Basic/BasicTest
%{_prefix}/share/CUnit/Examples/Console/README
%{_prefix}/share/CUnit/Examples/Console/ConsoleTest
%{_prefix}/share/CUnit/Examples/Curses/README
%{_prefix}/share/CUnit/Examples/Curses/CursesTest
%{_prefix}/share/CUnit/Test/test_cunit
%{_prefix}/share/CUnit/CUnit-List.dtd
%{_prefix}/share/CUnit/CUnit-List.xsl
%{_prefix}/share/CUnit/CUnit-Run.dtd
%{_prefix}/share/CUnit/CUnit-Run.xsl
%{_prefix}/share/CUnit/Memory-Dump.dtd
%{_prefix}/share/CUnit/Memory-Dump.xsl
# Add the change log in ChangeLog file located under source home directory.
# The same file is used internally to populate the change log for the RPM creation.
......@@ -37,7 +37,7 @@ make DESTDIR=$RPM_BUILD_ROOT install
%{_prefix}/include/CUnit/Console.h
%{_prefix}/include/CUnit/CUError.h
%{_prefix}/include/CUnit/CUnit.h
%{_prefix}/include/CUnit/Curses.h
%{_prefix}/include/CUnit/CUCurses.h
%{_prefix}/include/CUnit/MyMem.h
%{_prefix}/include/CUnit/TestDB.h
%{_prefix}/include/CUnit/TestRun.h
......@@ -61,12 +61,12 @@ make DESTDIR=$RPM_BUILD_ROOT install
%{_prefix}/doc/@PACKAGE@/headers/Console.h
%{_prefix}/doc/@PACKAGE@/headers/CUError.h
%{_prefix}/doc/@PACKAGE@/headers/CUnit.h
%{_prefix}/doc/@PACKAGE@/headers/Curses.h
%{_prefix}/doc/@PACKAGE@/headers/CUCurses.h
%{_prefix}/doc/@PACKAGE@/headers/MyMem.h
%{_prefix}/doc/@PACKAGE@/headers/TestDB.h
%{_prefix}/doc/@PACKAGE@/headers/TestRun.h
%{_prefix}/doc/@PACKAGE@/headers/Util.h
%{_prefix}/doc/@PACKAGE@/headers/Win.h
%{_prefix}/doc/@PACKAGE@/headers/Win.h
########## Manpage Files
%{_prefix}/man/man3/CUnit.3*
......
......@@ -19,16 +19,16 @@
*/
/*
* Contains Interface for Automated Run tests which generates HTML Report Files.
* Contains Interface for Automated Run tests which generates HTML Report Files.
*
* Created By : Anil Kumar on ...(in month of Feb 2002)
* Last Modified : 13/Feb/2002
* Comment : Single interface to automated_run_tests
* EMail : aksaharan@yahoo.com
* Created By : Anil Kumar on ...(in month of Feb 2002)
* Last Modified : 13/Feb/2002
* Comment : Single interface to automated_run_tests
* EMail : aksaharan@yahoo.com
*
* Modified : 20-Jul-2004 (JDS)
* Comment : New interface, doxygen comments.
* EMail : jds2@users.sourceforge.net
* Modified : 20-Jul-2004 (JDS)
* Comment : New interface, doxygen comments.
* EMail : jds2@users.sourceforge.net
*/
/** @file
......
......@@ -18,11 +18,11 @@
*/
/*
* Interface for simple test runner.
* Interface for simple test runner.
*
* Created By : Jerry St.Clair (11-Aug-2004)
* Comment : Initial implementation of basic test runner interface
* EMail : jds2@users.sourceforge.net
* Created By : Jerry St.Clair (11-Aug-2004)
* Comment : Initial implementation of basic test runner interface
* EMail : jds2@users.sourceforge.net
*
*/
......@@ -47,7 +47,7 @@ extern "C" {
typedef enum {
CU_BRM_NORMAL = 0, /**< Normal mode - failures and run summary are printed [default]. */
CU_BRM_SILENT, /**< Silent mode - no output is printed except framework error messages. */
CU_BRM_VERBOSE, /**< Verbose mode - maximum output of run details. */
CU_BRM_VERBOSE /**< Verbose mode - maximum output of run details. */
} CU_BasicRunMode;
CU_ErrorCode CU_basic_run_tests(void);
......
......@@ -19,30 +19,30 @@
*/
/*
* Contains CUnit error codes which can be used externally.
* Contains CUnit error codes which can be used externally.
*
* Created By : Anil Kumar on ...(in month of Aug 2001)
* Last Modified : 09/Aug/2001
* Comment : -------
* EMail : aksaharan@yahoo.com
* Created By : Anil Kumar on ...(in month of Aug 2001)
* Last Modified : 09/Aug/2001
* Comment : -------
* EMail : aksaharan@yahoo.com
*
* Modified : 02/Oct/2001
* Comment : Added proper Eror Codes
* EMail : aksaharan@yahoo.com
* Modified : 02/Oct/2001
* Comment : Added proper Eror Codes
* EMail : aksaharan@yahoo.com
*
* Modified : 13-Oct-2001
* Comment : Added Error Codes for Duplicate TestGroup and Test
* EMail : aksaharan@yahoo.com
* Modified : 13-Oct-2001
* Comment : Added Error Codes for Duplicate TestGroup and Test
* EMail : aksaharan@yahoo.com
*
* Modified : 3-Aug-2004 (JDS)
* Comment : Converted error code macros to an enum, doxygen comments
* Modified : 3-Aug-2004 (JDS)
* Comment : Converted error code macros to an enum, doxygen comments
* moved error handing code here, changed file name from Errno.h,
* added error codes for file open errors, added error action selection
* EMail : jds2@users.sourceforge.net
* added error codes for file open errors, added error action selection
* EMail : jds2@users.sourceforge.net
*
* Modified : 5-Sep-2004 (JDS)
* Comment : Added internal test interface.
* EMail : jds2@users.sourceforge.net
* Modified : 5-Sep-2004 (JDS)
* Comment : Added internal test interface.
* EMail : jds2@users.sourceforge.net
*/
/** @file
......@@ -96,7 +96,7 @@ typedef enum {
CUE_FOPEN_FAILED = 40, /**< An error occurred opening a file. */
CUE_FCLOSE_FAILED = 41, /**< An error occurred closing a file. */
CUE_BAD_FILENAME = 42, /**< A bad filename was requested (NULL, empty, nonexistent, etc.). */
CUE_WRITE_ERROR = 43, /**< An error occurred during a write to a file. */
CUE_WRITE_ERROR = 43 /**< An error occurred during a write to a file. */
} CU_ErrorCode;
/*------------------------------------------------------------------------*/
......@@ -109,7 +109,7 @@ typedef enum {
typedef enum CU_ErrorAction {
CUEA_IGNORE, /**< Runs should be continued when an error condition occurs (if possible). */
CUEA_FAIL, /**< Runs should be stopped when an error condition occurs. */
CUEA_ABORT, /**< The application should exit() when an error conditions occurs. */
CUEA_ABORT /**< The application should exit() when an error conditions occurs. */
} CU_ErrorAction;
/* Error handling & reporting functions. */
......
......@@ -19,33 +19,33 @@
*/
/*
* Contains ASSERT Macro definition
* Contains ASSERT Macro definitions
*
* Created By : Anil Kumar on ...(in month of Aug 2001)
* Last Modified : 09/Aug/2001
* Comment : ASSERT definition
* EMail : aksaharan@yahoo.com
* Created By : Anil Kumar on ...(in month of Aug 2001)
* Last Modified : 09/Aug/2001
* Comment : ASSERT definition
* EMail : aksaharan@yahoo.com
*
* Last Modified : 12/Mar/2003
* Comment : New Assert definitions
* EMail : aksaharan@yahoo.com
* Last Modified : 12/Mar/2003
* Comment : New Assert definitions
* EMail : aksaharan@yahoo.com
*
* Last Modified : 27/Jul/2003
* Comment : Modified ASSERT_XXX Macro definitions
* EMail : aksaharan@yahoo.com
* Last Modified : 27/Jul/2003
* Comment : Modified ASSERT_XXX Macro definitions
* EMail : aksaharan@yahoo.com
*
* Last Modified : 15-Jul-2004 (JDS)
* Comment : New interface, changed action on assert failure to
* Last Modified : 15-Jul-2004 (JDS)
* Comment : New interface, changed action on assert failure to
* not return, provided _FATAL versions of assertions
* to return from test function on failure.
* EMail : jds2@users.sourceforge.net
* EMail : jds2@users.sourceforge.net
*
* Last Modified : 1-Sep-2004 (JDS)
* Comment : Modified assertions for setjmp/longjmp mechanism of aborting
* Last Modified : 1-Sep-2004 (JDS)
* Comment : Modified assertions for setjmp/longjmp mechanism of aborting
* test runs, added CU_FAIL and CU_PASS macros.
* EMail : jds2@users.sourceforge.net
* EMail : jds2@users.sourceforge.net
*/
/** @file
* Basic CUnit include file for user and system code.
* Defines macros for assertions for use in user test cases.
......@@ -77,7 +77,12 @@ extern "C" {
/* Global type Definitions to be used for boolean operators. */
#ifndef BOOL
/** Boolean type for CUnit use. */
#define BOOL int
#define BOOL int
#endif
#ifndef TRUE
/** Boolean TRUE for CUnit use. */
#define TRUE 1
#endif
#ifndef FALSE
......@@ -85,9 +90,9 @@ extern "C" {
#define FALSE 0
#endif
#ifndef TRUE
/** Boolean TRUE for CUnit use. */
#define TRUE 1
#ifndef CU_UNREFERENCED_PARAMETER
/** Consistent approach to referencing unused parameters. */
#define CU_UNREFERENCED_PARAMETER(x) (void)x
#endif
#include "TestRun.h" /* not needed here - include (after BOOL define) for user convenience */
......
......@@ -19,16 +19,16 @@
*/
/*
* Contains Interface for console Run tests.
* Contains Interface for console Run tests.
*
* Created By : Anil Kumar on ...(in month of Aug 2001)
* Last Modified : 09/Aug/2001
* Comment : Single interface to Console_run_tests
* EMail : aksaharan@yahoo.com
* Created By : Anil Kumar on ...(in month of Aug 2001)
* Last Modified : 09/Aug/2001
* Comment : Single interface to Console_run_tests
* EMail : aksaharan@yahoo.com
*
* Modified : 20-Jul-2004 (JDS)
* Comment : New interface, doxygen comments
* EMail : jds2@users.sourceforge.net
* Modified : 20-Jul-2004 (JDS)
* Comment : New interface, doxygen comments
* EMail : jds2@users.sourceforge.net
*/
/** @file
......
......@@ -21,17 +21,21 @@
SubDir TOP CUnit Headers ;
if $(INSTALL_INC_DIR)
CU_HEADERS =
Automated.h
Basic.h
Console.h
CUError.h
CUnit.h
CUCurses.h
MyMem.h
TestDB.h
TestRun.h
Util.h
Win.h ;
if $(INSTALL_DOC_DIR)
{
InstallCUnitFile $(INSTALL_INC_DIR) :
<$(SOURCE_GRIST)>Automated.h
<$(SOURCE_GRIST)>Basic.h
<$(SOURCE_GRIST)>Console.h
<$(SOURCE_GRIST)>CUError.h
<$(SOURCE_GRIST)>CUnit.h
<$(SOURCE_GRIST)>Curses.h
<$(SOURCE_GRIST)>MyMem.h
<$(SOURCE_GRIST)>TestDB.h
<$(SOURCE_GRIST)>TestRun.h
<$(SOURCE_GRIST)>Util.h ;
InstallCUnitFile $(INSTALL_INC_DIR) : $(CU_HEADERS) ;
}
# Makefile.in generated by automake 1.7.2 from Makefile.am.
# CUnit/Headers/Makefile. Generated from Makefile.in by configure.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# 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.
srcdir = .
top_srcdir = ../..
pkgdatadir = $(datadir)/CUnit
pkglibdir = $(libdir)/CUnit
pkgincludedir = $(includedir)/CUnit
top_builddir = ../..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr//bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
ACLOCAL = aclocal-1.7
AMDEP_FALSE = #
AMDEP_TRUE =
AMTAR = tar
AUTOCONF = autoconf
AUTOHEADER = autoheader
AUTOMAKE = automake-1.7
AWK = gawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -DRELEASE=1 -Wall -I/home/jds/dev/CUnit-2.0-1/CUnit/Headers
CPP = gcc -E
CPPFLAGS =
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = grep -E
EXEEXT =
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LDFLAGS = -L/home/jds/dev/CUnit-2.0-1/CUnit/Sources
LIBOBJS =
LIBS = -lc
LTLIBOBJS =
MAKEINFO = makeinfo
OBJEXT = o
PACKAGE = CUnit
PACKAGE_BUGREPORT =
PACKAGE_NAME = CUnit
PACKAGE_STRING = CUnit 2.0-1
PACKAGE_TARNAME = cunit
PACKAGE_VERSION = 2.0-1
PATH_SEPARATOR = :
RANLIB = ranlib
RELEASE = 1
SET_MAKE =
SHELL = /bin/sh
STRIP =
VERSION = 2.0
ac_ct_CC = gcc
ac_ct_RANLIB = ranlib
ac_ct_STRIP =
am__fastdepCC_FALSE = #
am__fastdepCC_TRUE =
am__include = include
am__quote =
bindir = ${exec_prefix}/bin
build_alias =
datadir = ${prefix}/share
exec_prefix = ${prefix}
host_alias =
includedir = ${prefix}/include
infodir = ${prefix}/info
install_sh = /home/jds/dev/CUnit-2.0-1/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localstatedir = ${prefix}/var
mandir = ${prefix}/man
oldincludedir = /usr/include
prefix = /usr/local
program_transform_name = s,x,x,
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
sysconfdir = ${prefix}/etc
target_alias =
CUnitIncludedir = ${includedir}/CUnit
AUTOMATED_INCLUDES = Automated.h
BASIC_INCLUDES = Basic.h
CONSOLE_INCLUDES = Console.h
CURSES_INCLUDES = Curses.h
FRAMEWORK_INCLUDES = CUError.h CUnit.h MyMem.h TestDB.h TestRun.h Util.h
# Default configuration without enabling anything
INCLUDE_FILES = \
${FRAMEWORK_INCLUDES} \
${CONSOLE_INCLUDES} \
${CURSES_INCLUDES} \
${AUTOMATED_INCLUDES} \
${BASIC_INCLUDES}
CUnitInclude_HEADERS = ${INCLUDE_FILES}
subdir = CUnit/Headers
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
DIST_SOURCES =
HEADERS = $(CUnitInclude_HEADERS)
DIST_COMMON = $(CUnitInclude_HEADERS) Makefile.am Makefile.in
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu CUnit/Headers/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
uninstall-info-am:
CUnitIncludeHEADERS_INSTALL = $(INSTALL_HEADER)
install-CUnitIncludeHEADERS: $(CUnitInclude_HEADERS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(CUnitIncludedir)
@list='$(CUnitInclude_HEADERS)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " $(CUnitIncludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(CUnitIncludedir)/$$f"; \
$(CUnitIncludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(CUnitIncludedir)/$$f; \
done
uninstall-CUnitIncludeHEADERS:
@$(NORMAL_UNINSTALL)
@list='$(CUnitInclude_HEADERS)'; for p in $$list; do \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " rm -f $(DESTDIR)$(CUnitIncludedir)/$$f"; \
rm -f $(DESTDIR)$(CUnitIncludedir)/$$f; \
done
ETAGS = etags
ETAGSFLAGS =
CTAGS = ctags
CTAGSFLAGS =
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkinstalldirs) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(HEADERS)
installdirs:
$(mkinstalldirs) $(DESTDIR)$(CUnitIncludedir)
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-generic distclean-tags
dvi: dvi-am
dvi-am:
info: info-am
info-am:
install-data-am: install-CUnitIncludeHEADERS
install-exec-am:
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-CUnitIncludeHEADERS uninstall-info-am
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic ctags \
distclean distclean-generic distclean-tags distdir dvi dvi-am \
info info-am install install-CUnitIncludeHEADERS install-am \
install-data install-data-am install-exec install-exec-am \
install-info install-info-am install-man install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am tags uninstall uninstall-CUnitIncludeHEADERS \
uninstall-am uninstall-info-am
# 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:
......@@ -19,21 +19,21 @@
*/
/*
* Contains Memory Related Defines to use internal routines to detect Memory Leak
* in Debug Versions
* Contains Memory Related Defines to use internal routines to detect Memory Leak
* in Debug Versions
*
* Created By : Anil Kumar on ...(18 June 2002)
* Last Modified : 18/Jun/2002
* Comment : Memory Debug Functions
* EMail : aksaharan@yahoo.com
* Created By : Anil Kumar on ...(18 June 2002)
* Last Modified : 18/Jun/2002
* Comment : Memory Debug Functions
* EMail : aksaharan@yahoo.com
*
* Mo