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.
6 DATE ?= $(shell date +%Y%m%d)
7 SNAPSHOT_NAME=ipfw_linux-$(DATE)
13 (cd ipfw && $(MAKE) $(@) )
14 (cd dummynet && $(MAKE) $(@) )
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 \
21 -rm /tmp/$(SNAPSHOT_NAME)