1 | # $Id: Makefile.kmk 2413 2010-09-11 17:43:04Z bird $
|
---|
2 | ## @file
|
---|
3 | # Test - Misc Inheritance.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (c) 2008-2010 knut st. osmundsen <[email protected]>
|
---|
8 | #
|
---|
9 | # This file is part of kBuild.
|
---|
10 | #
|
---|
11 | # kBuild is free software; you can redistribute it and/or modify
|
---|
12 | # it under the terms of the GNU General Public License as published by
|
---|
13 | # the Free Software Foundation; either version 2 of the License, or
|
---|
14 | # (at your option) any later version.
|
---|
15 | #
|
---|
16 | # kBuild is distributed in the hope that it will be useful,
|
---|
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
19 | # GNU General Public License for more details.
|
---|
20 | #
|
---|
21 | # You should have received a copy of the GNU General Public License
|
---|
22 | # along with kBuild; if not, write to the Free Software
|
---|
23 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
---|
24 | #
|
---|
25 | #
|
---|
26 |
|
---|
27 |
|
---|
28 | DEPTH = ../..
|
---|
29 | include $(PATH_KBUILD)/header.kmk
|
---|
30 |
|
---|
31 | #
|
---|
32 | # Search for SDKs in the current directory.
|
---|
33 | #
|
---|
34 | KBUILD_SDK_PATHS := $(PATH_SUB_CURRENT)
|
---|
35 |
|
---|
36 | #
|
---|
37 | # Tests for checking that prepending and appending of properties
|
---|
38 | # that have been defined as simple variables work. Ticket #51.
|
---|
39 | # (This is a little bit out of place, but so what.)
|
---|
40 | #
|
---|
41 | PROGRAMS += inherit-misc51a
|
---|
42 | inherit-misc51a_TEMPLATE := tmpl51a
|
---|
43 | inherit-misc51a_SDKS := sdk51a-xz
|
---|
44 | inherit-misc51a_DEFS := X=z
|
---|
45 | inherit-misc51a_SOURCES := ../dummy_defined_X.c
|
---|
46 |
|
---|
47 | TEMPLATE_tmpl51a = inherit-misc51 template
|
---|
48 | TEMPLATE_tmpl51a_EXTENDS = TST
|
---|
49 | TEMPLATE_tmpl51a_DEFS = $(SDK_sdk51a-xz_SPECIAL_DEFS)
|
---|
50 |
|
---|
51 | include $(FILE_KBUILD_FOOTER)
|
---|
52 |
|
---|