K2.6 patches and update.
[tomato.git] / release / src-rt / wl / nas / Makefile
blobbd768f6f4203279e71b9a99100e5df0167e8e000
2 # 802.1x Linux Builds Makefile
4 # Copyright (C) 2002 Broadcom Corporation
6 # $Id: Makefile 241388 2011-02-18 03:33:22Z stakita $
8 # targets/builds
9 BUILDS = nas
11 ${BUILDS} ::
12 $(MAKE) -C $@
14 # clean up
15 BUILDS-CLEAN = ${BUILDS:=-clean}
17 clean : ${BUILDS-CLEAN}
19 ${BUILDS-CLEAN} ::
20 $(MAKE) -C ${@:-clean=} clean
22 # default build
23 ifneq ($(wildcard ./prebuilt),)
24 all:
25 -cp prebuilt/nas nas/nas
26 else
27 all : ${BUILDS}
28 endif
30 # install
31 BUILDS-INSTALL = ${BUILDS:=-install}
33 install : ${BUILDS-INSTALL}
35 ${BUILDS-INSTALL} ::
36 $(MAKE) -C ${@:-install=} install