| Last change
 on this file since 118 was             104, checked in by bird, 21 years ago | 
        
          | 
first testcase.
 | 
        
          | 
              
Property                 svn:eol-style
 set to                 native
Property                 svn:keywords
 set to                 Author Date Id Revision | 
        
          | File size:
            1.0 KB | 
      
      
| Line |  | 
|---|
| 1 | # $Id: Inheritance.kmk 104 2004-06-24 20:04:35Z bird $ | 
|---|
| 2 |  | 
|---|
| 3 | # | 
|---|
| 4 | # Interitance testcase. | 
|---|
| 5 | # | 
|---|
| 6 |  | 
|---|
| 7 | # this shall be overrided by the template! | 
|---|
| 8 | TOOL                            = GCC3 | 
|---|
| 9 |  | 
|---|
| 10 | LIBRARIES           = libHello1 libHello2 libHello3 libHello4 | 
|---|
| 11 |  | 
|---|
| 12 | libHello1_SOURCES   = hello.c | 
|---|
| 13 | libHello1_TEMPLATE  = mylib | 
|---|
| 14 |  | 
|---|
| 15 | libHello2_SOURCES   = hello.c | 
|---|
| 16 | libHello2_TOOL      = VCC70 | 
|---|
| 17 | libHello2_TEMPLATE  = mylib | 
|---|
| 18 |  | 
|---|
| 19 | libHello3_SOURCES   = hello.c | 
|---|
| 20 |  | 
|---|
| 21 | libHello4_SOURCES   = hello.c | 
|---|
| 22 | libHello4_TOOL      = GCC | 
|---|
| 23 |  | 
|---|
| 24 | DEPTH = ../.. | 
|---|
| 25 | include $(DEPTH)/kBuild/rules.kmk | 
|---|
| 26 |  | 
|---|
| 27 | ifneq ($(libHello1_TOOL),GCC) | 
|---|
| 28 | $(error kBuild internal error-1: I'm not getting the right TOOL! Got '$(libHello1_TOOL)' expected 'GCC'.) | 
|---|
| 29 | endif | 
|---|
| 30 |  | 
|---|
| 31 | ifneq ($(libHello2_TOOL),VCC70) | 
|---|
| 32 | $(error kBuild internal error-2: I'm not getting the right TOOL! Got '$(libHello2_TOOL)' expected 'VCC70'.) | 
|---|
| 33 | endif | 
|---|
| 34 |  | 
|---|
| 35 | ifneq ($(libHello3_TOOL),GCC3) | 
|---|
| 36 | $(error kBuild internal error-3: I'm not getting the right TOOL! Got '$(libHello3_TOOL)' expected 'GCC3'.) | 
|---|
| 37 | endif | 
|---|
| 38 |  | 
|---|
| 39 | ifneq ($(libHello4_TOOL),GCC) | 
|---|
| 40 | $(error kBuild internal error-4: I'm not getting the right TOOL! Got '$(libHello4_TOOL)' expected 'GCC'.) | 
|---|
| 41 | endif | 
|---|
| 42 |  | 
|---|
| 43 |  | 
|---|
| 44 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.