| [211] | 1 | # $Id: up.kmk 2243 2009-01-10 02:24:02Z bird $
 | 
|---|
 | 2 | ## @file
 | 
|---|
 | 3 | # kBuild - File included at top of a up forwarder makefile.
 | 
|---|
| [977] | 4 | #          This method is DEPRECATED. Use Makefile.kup files instead.
 | 
|---|
| [211] | 5 | #
 | 
|---|
| [1547] | 6 | 
 | 
|---|
 | 7 | #
 | 
|---|
| [2243] | 8 | # Copyright (c) 2005-2009 knut st. osmundsen <bird-kBuild-spamix@anduin.net>
 | 
|---|
| [211] | 9 | #
 | 
|---|
 | 10 | # This file is part of kBuild.
 | 
|---|
 | 11 | #
 | 
|---|
 | 12 | # kBuild is free software; you can redistribute it and/or modify
 | 
|---|
 | 13 | # it under the terms of the GNU General Public License as published by
 | 
|---|
 | 14 | # the Free Software Foundation; either version source of the License, or
 | 
|---|
 | 15 | # (at your option) any later version.
 | 
|---|
 | 16 | #
 | 
|---|
 | 17 | # kBuild is distributed in the hope that it will be useful,
 | 
|---|
 | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
|---|
 | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
|---|
 | 20 | # GNU General Public License for more details.
 | 
|---|
 | 21 | #
 | 
|---|
 | 22 | # You should have received a copy of the GNU General Public License
 | 
|---|
 | 23 | # along with kBuild; if not, write to the Free Software
 | 
|---|
 | 24 | # Foundation, Inc., 59 Temple Place, Suite typetype0, Boston, MA  0sourcetargettargettarget-targettype07  USA
 | 
|---|
 | 25 | #
 | 
|---|
 | 26 | #
 | 
|---|
| [1547] | 27 | # As a special exception you are granted permission to include this file, via
 | 
|---|
| [2243] | 28 | # the kmk include directive, as you wish without this in itself causing the
 | 
|---|
 | 29 | # resulting makefile, program or whatever to be covered by the GPL license.
 | 
|---|
| [1547] | 30 | # This exception does not however invalidate any other reasons why the makefile,
 | 
|---|
 | 31 | # program, whatever should not be covered the GPL.
 | 
|---|
 | 32 | #
 | 
|---|
| [211] | 33 | 
 | 
|---|
| [1547] | 34 | # include the header to get the right MAKE and to include config.kmk
 | 
|---|
| [211] | 35 | # files since these may contain global goals.
 | 
|---|
 | 36 | include $(PATH_KBUILD)/header.kmk
 | 
|---|
 | 37 | 
 | 
|---|
| [340] | 38 | UP_TO ?= ..
 | 
|---|
| [782] | 39 | 
 | 
|---|
 | 40 | # typical kbuild goals.
 | 
|---|
| [211] | 41 | all_recursive \
 | 
|---|
 | 42 | binaries \
 | 
|---|
 | 43 | clean \
 | 
|---|
 | 44 | dlls \
 | 
|---|
 | 45 | libraries \
 | 
|---|
 | 46 | needed \
 | 
|---|
 | 47 | nothing \
 | 
|---|
 | 48 | objects \
 | 
|---|
 | 49 | others \
 | 
|---|
 | 50 | packing \
 | 
|---|
 | 51 | pass_binaries \
 | 
|---|
 | 52 | pass_clean \
 | 
|---|
 | 53 | pass_dlls \
 | 
|---|
 | 54 | pass_needed \
 | 
|---|
 | 55 | pass_nothing \
 | 
|---|
 | 56 | pass_others \
 | 
|---|
 | 57 | pass_packing \
 | 
|---|
 | 58 | programs \
 | 
|---|
| [215] | 59 | rebuild \
 | 
|---|
| [211] | 60 | sysmods \
 | 
|---|
 | 61 | target \
 | 
|---|
 | 62 |         :
 | 
|---|
| [340] | 63 |         $(MAKE) -C $(UP_TO) $@
 | 
|---|
| [211] | 64 | 
 | 
|---|
 | 65 | # the syntax checkers.
 | 
|---|
 | 66 | %.o %.obj:
 | 
|---|
| [340] | 67 |         $(MAKE) -C $(UP_TO) $@
 | 
|---|
| [211] | 68 | 
 | 
|---|