| 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 | _subdir_dep:= ${TOPDIR}/.cfg/FWRT_HAVE_DOT_CONFIG
|
|---|
| 13 | .endif
|
|---|
| 14 |
|
|---|
| 15 | .if defined(subdir) && !empty(subdir)
|
|---|
| 16 | _subdir:= ${.TARGETS}
|
|---|
| 17 | ${.TARGETS}: _subdir
|
|---|
| 18 |
|
|---|
| 19 | _subdir: ${_subdir_dep}
|
|---|
| 20 | cd ${.CURDIR}/${subdir} && TOPDIR=${.CURDIR} DEVELOPER=1 \
|
|---|
| 21 | ${.CURDIR}/lbin/gmake V=99 ${.MFLAGS} ${_subdir}
|
|---|
| 22 |
|
|---|
| 23 | . include "${.CURDIR}/lbin/prereq.mk"
|
|---|
| 24 | . include "${.CURDIR}/mk/split-cfg.mk"
|
|---|
| 25 | .else
|
|---|
| 26 | . include "${.CURDIR}/Makefile"
|
|---|
| 27 | .endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.