Commit 4503936b authored by anilsaharan's avatar anilsaharan

Modified for the conditional variables


git-svn-id: http://svn.code.sf.net/p/cunit/code/trunk@91 f00e6729-6848-4c17-8bfb-678c97c00071
parent c58d1f93
......@@ -9,22 +9,22 @@ COMPILE_DIRS = Framework
if ENABLE_BASIC
BASIC_OBJECT_FILES = $(BASIC_OBJECTS)
BASIC_COMPILE_DIRS += Basic
BASIC_COMPILE_DIRS = Basic
endif
if ENABLE_CONSOLE
CONSOLE_OBJECT_FILES += $(CONSOLE_OBJECTS)
CONSOLE_COMPILE_DIRS += Console
CONSOLE_OBJECT_FILES = $(CONSOLE_OBJECTS)
CONSOLE_COMPILE_DIRS = Console
endif
if ENABLE_AUTOMATED
AUTOMATED_OBJECT_FILES += $(AUTOMATED_OBJECTS)
AUTOMATED_COMPILE_DIRS += Automated
AUTOMATED_OBJECT_FILES = $(AUTOMATED_OBJECTS)
AUTOMATED_COMPILE_DIRS = Automated
endif
if ENABLE_CURSES
CURSES_OBJECT_FILES += $(CURSES_OBJECTS)
CURSES_COMPILE_DIRS += Curses
CURSES_OBJECT_FILES = $(CURSES_OBJECTS)
CURSES_COMPILE_DIRS = Curses
endif
if ENABLE_TEST
......@@ -34,7 +34,7 @@ TEST_OBJECT_FILES = \
Framework/TestDB_test.o \
Framework/TestRun_test.o \
Framework/Util_test.o
TEST_COMPILE_DIRS += Test
TEST_COMPILE_DIRS = Test
endif
COMPILE_DIRS += $(BASIC_COMPILE_DIRS) $(CONSOLE_COMPILE_DIRS) $(AUTOMATED_COMPILE_DIRS) $(CURSES_COMPILE_DIRS) . $(TEST_COMPILE_DIRS)
......
EXAMPLE_DIRS = .
if ENABLE_BASIC
BASIC_EXAMPLE_DIRS += BasicTest
BASIC_EXAMPLE_DIRS = BasicTest
endif
if ENABLE_CONSOLE
CONSOLE_EXAMPLE_DIRS += ConsoleTest
CONSOLE_EXAMPLE_DIRS = ConsoleTest
endif
if ENABLE_CURSES
CURSES_EXAMPLE_DIRS += CursesTest
CURSES_EXAMPLE_DIRS = CursesTest
endif
if ENABLE_AUTOMATED
AUTOMATED_EXAMPLE_DIRS += AutomatedTest
AUTOMATED_EXAMPLE_DIRS = AutomatedTest
endif
EXAMPLE_DIRS += $(BASIC_EXAMPLE_DIRS) $(CONSOLE_EXAMPLE_DIRS) $(CURSES_EXAMPLE_DIRS) $(AUTOMATED_EXAMPLE_DIRS)
......
COMPILE_DIRS = CUnit doc Man Share
if ENABLE_EXAMPLES
EXAMPLE_COMPILE_DIR += Examples
EXAMPLE_COMPILE_DIR = Examples
endif
COMPILE_DIRS += $(EXAMPLE_COMPILE_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment