#
# Makefile - makefile for NDIS interface
#
# Copyright (C) 1998-2003 Gero Kuhlmann <gero@gkminix.han.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# $Id: Makefile,v 1.5 2003/01/25 23:29:41 gkminix Exp $
#
#
# Include user configuration:
#
include ../../make.config
#
# Name of module this subdirectory is part of
#
MODULE = netdrvr
#
# List of source and object files:
#
CSRCS =
ASRCS = ndisinit.S protman.S ndis.S
LIBTARGET = libndis2.a
SUBDIRS = drivers
#
# Flags for compiling the sources
#
FLAGS = $(NDISFL)
#
# Include system dependent definitions:
#
include ../../make.defs
#
# Target rules.
#
all: $(LIBTARGET)
@for subdir in $(SUBDIRS); do \
echo making $@ in $$subdir; \
(cd $$subdir && $(MAKE) $@) || exit 1; \
done
#
# Maintenance rules
#
.PHONY: dep install clean distclean realclean
.PHONY: clean-recursive realclean-recursive distclean-recursive
dep: dep-defs
@for subdir in $(SUBDIRS); do \
echo making $@ in $$subdir; \
(cd $$subdir && $(MAKE) $@) || exit 1; \
done
install:
@for subdir in $(SUBDIRS); do \
echo making $@ in $$subdir; \
(cd $$subdir && $(MAKE) $@) || exit 1; \
done
clean: clean-defs clean-recursive
distclean: distclean-defs distclean-recursive
realclean: realclean-defs realclean-recursive
clean-recursive realclean-recursive distclean-recursive:
@for subdir in $(SUBDIRS); do \
target=`echo $@ | sed 's/-recursive//'`; \
echo making $$target in $$subdir; \
(cd $$subdir && $(MAKE) $$target) || exit 1; \
done
### Dependencies
syntax highlighted by Code2HTML, v. 0.9.1