freewrt_1_0
freewrt_2_0
| 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 repository browser.