Remove the old dummynet directory and update the new code with the missing files...
[ipfw.git] / Makefile
1 # $Id$
2 #
3 # Top level makefile for building ipfw kernel and userspace.
4 # You can run it manually or also under the Planetlab build.
5 # Planetlab wants also the 'install' target.
6 #
7 # To build on system with non standard Kernel sources or userland files,
8 # you should run this with
9 #
10 #       make KERNELPATH=/path/to/linux-2.x.y.z USRDIR=/path/to/usr
11 #
12 # We assume that $(USRDIR) contains include/ and lib/ used to build userland.
13
14 DATE ?= $(shell date +%Y%m%d)
15 SNAPSHOT_NAME=ipfw_mod-$(DATE)
16
17 _all: all
18
19 all clean distclean:
20         echo target is $(@)
21         (cd ipfw && $(MAKE) $(@) )
22         (cd dummynet2 && $(MAKE) $(@) )
23
24 snapshot:
25         (cd ..; tar cvzhf /tmp/$(SNAPSHOT_NAME).tgz --exclude .svn \
26                 --exclude README.openwrt --exclude tags --exclude NOTES \
27                 ipfw_mod )
28
29 install: