root/branches/freewrt_1_0/BSDmakefile

Revision 679, 0.5 kB (checked in by tg, 2 years ago)

we use the httpd redirect here, my bad, this is by design
and actually makes sense

Line 
1 # $FreeWRT$
2 #-
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/licence for details.
6
7 TOPDIR=         ${.CURDIR}
8 PWD=            ${.CURDIR}
9
10 .if defined(package) && !empty(package)
11 subdir:=        package/${package}
12 .endif
13
14 .if defined(subdir) && !empty(subdir)
15 _subdir:=       ${.TARGETS}
16 ${.TARGETS}: _subdir
17
18 _subdir:
19         cd ${.CURDIR}/${subdir} && TOPDIR=${.CURDIR} \
20             ${.CURDIR}/lbin/gmake ${.MFLAGS} ${_subdir}
21 .else
22 .  include "${.CURDIR}/Makefile"
23 .endif
Note: See TracBrowser for help on using the browser.