Added the code for xid matching. (The code is not yet enabled)
[ipfw.git] / Makefile
1 # $Id$
2 # Top level makefile for building ipfw kernel and userspace.
3 # You can run it manually or also under the Planetlab build.
4 # Planetlab wants also the 'install' target.
5
6 DATE ?= $(shell date +%Y%m%d)
7 SNAPSHOT_NAME=ipfw_linux-$(DATE)
8
9 _all: all
10
11 all clean distclean:
12         echo target is $(@)
13         (cd ipfw && $(MAKE) $(@) )
14         (cd dummynet && $(MAKE) $(@) )
15
16 snapshot:
17         -ln -s `pwd` /tmp/$(SNAPSHOT_NAME)
18         (cd /tmp; tar cvzhf $(SNAPSHOT_NAME).tgz --exclude .svn \
19                 --exclude README.openwrt --exclude tags --exclude NOTES \
20                 $(SNAPSHOT_NAME) )
21         -rm  /tmp/$(SNAPSHOT_NAME)
22
23 install: