# $Id: Makefile.kmk 1509 2008-04-09 00:40:05Z bird $ ## @file # Test - Target Inheritance. # # # Copyright (c) 2008 knut st. osmundsen # # This file is part of kBuild. # # kBuild is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # kBuild is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with kBuild; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # # DEPTH = ../.. include $(PATH_KBUILD)/header.kmk PROGRAMS += inherit-target1 inherit-target1_TEMPLATE = TST inherit-target1_SOURCES = ../dummy_defined_X.c inherit-target1_DEFS = X=y PROGRAMS += inherit-target2 inherit-target2_EXTENDS = inherit-target1 PROGRAMS += inherit-target3 inherit-target3_EXTENDS = inherit-target2 PROGRAMS += inherit-target4 inherit-target4_EXTENDS = inherit-target3 PROGRAMS += inherit-target5 inherit-target5_EXTENDS = inherit-target3 # out of target order. PROGRAMS += inherit-target6 inherit-target6_EXTENDS = inherit-target9 PROGRAMS += inherit-target7 inherit-target7_EXTENDS = inherit-target1 PROGRAMS += inherit-target8 inherit-target8_EXTENDS = inherit-target7 PROGRAMS += inherit-target9 inherit-target9_EXTENDS = inherit-target8 include $(FILE_KBUILD_FOOTER)