-# * The sdcc-extra package, available from Subversion.
-# o svn co https://svn.sourceforge.net/svnroot/sdcc/trunk/sdcc-extra sdcc-extra
+# * The sdcc-extra package, available from svn.
+# o svn co https://svn.sourceforge.net/svnroot/sdcc/trunk/sdcc-extra
# o Provides the emulators
# * The gbdk-lib package from gbdk.
# o cvs -d cvs.gbdk.sourceforge.net:/cvsroot/gbdk co gbdk-lib
# o Provides the emulators
# * The gbdk-lib package from gbdk.
# o cvs -d cvs.gbdk.sourceforge.net:/cvsroot/gbdk co gbdk-lib
TESTS_NAME = $(TESTS_DIR)
# All suite results go in RESULTS_DIR
RESULTS_DIR = results
# All data relating to supported ports live in their own directory
# under PORTS_DIR.
TESTS_NAME = $(TESTS_DIR)
# All suite results go in RESULTS_DIR
RESULTS_DIR = results
# All data relating to supported ports live in their own directory
# under PORTS_DIR.
# Itermediate data directories
# Directory that generated cases and the related object code go.
CASES_DIR = gen
# Script that takes a source test suite and generates the iterations
# Itermediate data directories
# Directory that generated cases and the related object code go.
CASES_DIR = gen
# Script that takes a source test suite and generates the iterations
# Magically generate the list of configured ports to test.
# Each directory under ports/ is used as a port name. Each port is tested.
# Magically generate the list of configured ports to test.
# Each directory under ports/ is used as a port name. Each port is tested.
# Each test generates a result log file
PORT_RESULTS = $(ALL_TESTS:$(TESTS_DIR)/%.c=$(PORT_RESULTS_DIR)/%.out)
# Each test generates a result log file
PORT_RESULTS = $(ALL_TESTS:$(TESTS_DIR)/%.c=$(PORT_RESULTS_DIR)/%.out)
# Rule to generate the iterations of a test suite off the soure suite.
$(PORT_CASES_DIR)/%/iterations.stamp: $(TESTS_DIR)/%.c $(GENERATE_CASES)
# Rule to generate the iterations of a test suite off the soure suite.
$(PORT_CASES_DIR)/%/iterations.stamp: $(TESTS_DIR)/%.c $(GENERATE_CASES)
touch $@
# Rule linking the combined results log to all of the files in the
# iteration directory.
$(PORT_RESULTS_DIR)/%.out: $(PORT_CASES_DIR)/%/iterations.stamp
touch $@
# Rule linking the combined results log to all of the files in the
# iteration directory.
$(PORT_RESULTS_DIR)/%.out: $(PORT_CASES_DIR)/%/iterations.stamp
# Rule to summaries the results for one port after all of the tests
# have been run.
port-results: port-dirs $(PORT_RESULTS)
# Rule to summaries the results for one port after all of the tests
# have been run.
port-results: port-dirs $(PORT_RESULTS)
# List of all the sub result logs generated from the iterations.
SUB_RESULTS = $(SUB_CASES:%.c=%.out)
# Overall target. Concatenation of all of the sub results.
# List of all the sub result logs generated from the iterations.
SUB_RESULTS = $(SUB_CASES:%.c=%.out)
# Overall target. Concatenation of all of the sub results.
# be able to turn an iterated test suite into a sub result, normally
# by:
# 1. Compile the required library files
# be able to turn an iterated test suite into a sub result, normally
# by:
# 1. Compile the required library files