Changeset 1402 in kBuild for trunk/tests/inherit-bld
- Timestamp:
- Mar 16, 2008 11:32:34 PM (17 years ago)
- Location:
- trunk/tests/inherit-bld
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/inherit-bld/Makefile.kmk
r1398 r1402 25 25 # 26 26 27 27 28 DEPTH = ../.. 28 29 include $(PATH_KBUILD)/header.kmk 29 30 30 31 31 # not finished... 32 PROGRAMS += dummy1 33 dummy1_TEMPLATE = TST 34 dummy1_SOURCES = ../dummy.c 32 # Plain setup just for a reality check. 33 PROGRAMS += inherit-bld1 34 inherit-bld1_TEMPLATE = TST 35 inherit-bld1_DEFS = X=y 36 inherit-bld1_SOURCES = ../dummy_defined_X.c 35 37 36 PROGRAMS += dummy2 37 dummy2_TEMPLATE = TST 38 dummy2_SOURCES = ../dummy.c 38 # Test that the BLD_TYPE feature works. 39 PROGRAMS += inherit-bld2 40 inherit-bld2_TEMPLATE = TST 41 inherit-bld2_BLD_TYPE = debug 42 inherit-bld2_DEFS.debug = X=y 43 inherit-bld2_SOURCES = ../dummy_defined_X.c 44 45 # Test that an simple alternative build type works. 46 PROGRAMS += inherit-bld3 47 inherit-bld3_TEMPLATE = TST 48 inherit-bld3_BLD_TYPE = dbgbld3 49 inherit-bld3_DEFS.dbgbld3 = X=y 50 inherit-bld3_SOURCES = ../dummy_defined_X.c 51 52 # Test that default build type inheritance works - dbgbld4 extends dbgbld3. 53 PROGRAMS += inherit-bld4 54 inherit-bld4_TEMPLATE = TST 55 inherit-bld4_BLD_TYPE = dbgbld4 56 inherit-bld4_DEFS.dbgbld3 = X=y 57 inherit-bld4_SOURCES = ../dummy_defined_X.c 58 59 # Test that appending build type inheritance works - dbgbld5 extends dbgbld3. 60 ## @todo somehow make this test the order 61 PROGRAMS += inherit-bld5 62 inherit-bld5_TEMPLATE = TST 63 inherit-bld5_BLD_TYPE = dbgbld4 64 inherit-bld5_DEFS.dbgbld3 = X=y 65 inherit-bld5_DEFS.dbgbld5 = SOMETHING 66 inherit-bld5_SOURCES = ../dummy_defined_X.c 67 68 # Test that prepending build type inheritance works - dbgbld6 extends dbgbld3. 69 ## @todo somehow make this test the order 70 PROGRAMS += inherit-bld6 71 inherit-bld6_TEMPLATE = TST 72 inherit-bld6_BLD_TYPE = dbgbld6 73 inherit-bld6_DEFS.dbgbld3 = X=y 74 inherit-bld6_DEFS.dbgbld6 = SOMETHING 75 inherit-bld6_SOURCES = ../dummy_defined_X.c 39 76 40 77
Note:
See TracChangeset
for help on using the changeset viewer.