source: trunk/kBuild/testcase/Inheritance.kmk@ 794

Last change on this file since 794 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!
8TOOL = GCC3
9
10LIBRARIES = libHello1 libHello2 libHello3 libHello4
11
12libHello1_SOURCES = hello.c
13libHello1_TEMPLATE = mylib
14
15libHello2_SOURCES = hello.c
16libHello2_TOOL = VCC70
17libHello2_TEMPLATE = mylib
18
19libHello3_SOURCES = hello.c
20
21libHello4_SOURCES = hello.c
22libHello4_TOOL = GCC
23
24DEPTH = ../..
25include $(DEPTH)/kBuild/rules.kmk
26
27ifneq ($(libHello1_TOOL),GCC)
28$(error kBuild internal error-1: I'm not getting the right TOOL! Got '$(libHello1_TOOL)' expected 'GCC'.)
29endif
30
31ifneq ($(libHello2_TOOL),VCC70)
32$(error kBuild internal error-2: I'm not getting the right TOOL! Got '$(libHello2_TOOL)' expected 'VCC70'.)
33endif
34
35ifneq ($(libHello3_TOOL),GCC3)
36$(error kBuild internal error-3: I'm not getting the right TOOL! Got '$(libHello3_TOOL)' expected 'GCC3'.)
37endif
38
39ifneq ($(libHello4_TOOL),GCC)
40$(error kBuild internal error-4: I'm not getting the right TOOL! Got '$(libHello4_TOOL)' expected 'GCC'.)
41endif
42
43
44
Note: See TracBrowser for help on using the repository browser.