Changeset 677

Show
Ignore:
Timestamp:
09/23/06 23:30:52 (2 years ago)
Author:
tg
Message:

by request of markus@ communicated via wbx@, add new facilities:
$ make [V=99] package=mksh clean prepare compile install
$ gmake [V=99] subdir=tools/paxmirabilis clean prepare compile install

This works as follows: if ${subdir:-${package+package/${package}}} (in shell
syntax) is specified (you can only specify one subdirectory, and the package
variable has precedence over the subdir variable), all make targets specified
on the command (if any) are passed to a GNU make run in the subdirectory spe-
cified (packag/${package} or simply ${subdir}), relative to ${TOPDIR}, with
environment appropriately set and ${MAKEFLAGS} passed.

also, while here, recind the advertising clause on the top-level Makefile and
integrate this stuff with the new boilerplate (attn: licence URI adjusted);
the requirement to credit my name is contained in the GPL as well

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/Makefile

    r588 r677  
    1 # $FreeWRT: src/share/misc/licence.template,v 1.14 2006/08/09 19:35:23 tg Rel
     1# $FreeWRT
    22#- 
    3 # Copyright (c) 2006 
    4 #       Thorsten Glaser <tg@mirbsd.de> 
    5 
    6 # Licensee is hereby permitted to deal in this work without restric- 
    7 # tion, including unlimited rights to use, publicly perform, modify, 
    8 # merge, distribute, sell, give away or sublicence, provided all co- 
    9 # pyright notices above, these terms and the disclaimer are retained 
    10 # in all redistributions or reproduced in accompanying documentation 
    11 # or other materials provided with binary redistributions. 
    12 
    13 # Advertising materials mentioning features or use of this work must 
    14 # display the following acknowledgement: 
    15 #       This product includes material provided by Thorsten Glaser. 
    16 # This acknowledgement does not need to be reprinted if this work is 
    17 # linked into a bigger work whose licence does not allow such clause 
    18 # and the author of this work is given due credit in the bigger work 
    19 # or its documentation. 
    20 
    21 # Licensor offers the work "AS IS" and WITHOUT WARRANTY of any kind, 
    22 # express, or implied, to the maximum extent permitted by applicable 
    23 # law, without malicious intent or gross negligence; in no event may 
    24 # licensor, an author or contributor be held liable for any indirect 
    25 # or other damage, or direct damage except proven a consequence of a 
    26 # direct error of said person and intended use of this work, loss or 
    27 # other issues arising in any way out of its use, even if advised of 
    28 # the possibility of such damage or existence of a defect. 
     3# This file is part of the FreeWRT project. FreeWRT is copyrighted 
     4# material, please see the LICENCE file in the top-level directory 
     5# or at http://www.freewrt.org/trac/wiki/Licence for details. 
    296 
    307GMAKE?=         $(PWD)/lbin/gmake