1 # $Id: Makefile,v 1.11 2008/03/15 18:17:51 mjacob Exp $
5 # Copyright (c) 2006-2008 by Matthew Jacob
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of The Version 2 GNU General Public License as published
9 # by the Free Software Foundation.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 # Menlo Park, CA 94025
30 LVERS = $(shell uname -r)
31 LINUX ?= /lib/modules/${LVERS}/build
37 @$(MAKE) -C ${LINUX} M=${CURDIR}/build
40 @$(MAKE) -C ${LINUX} M=${CURDIR}/build ISP_TARGET_MODE=1
43 @$(MAKE) -C ${LINUX} M=${CURDIR}/build clean
44 @$(MAKE) -C build clean_links
50 @$(MAKE) -C ${LINUX} M=${CURDIR}/build modules_install
56 @$(MAKE) -C build make_links
59 cd ../linux && $(MAKE) tools
62 @ctags --recurse --append=no --exclude=linux-2.6 --exclude=Makefile --exclude=freebsd --exclude=solaris ../