1 # Makefile for building and installing the application
2 # level tools for the Planetlab "ping of death" feature.
5 # all: builds all of the components
6 # install: installes the tools into the planetlab bin directory
7 # test: runs the tests on the current machine
10 ALLBUILD=pl-poddoit pod ipod-2.0.tar.gz
11 PLBIN=/usr/local/planetlab/bin/
16 pod: pod.src disable_pod.sh enable_pod.sh status_pod.sh
17 ./shell_include --source pod.src --destination pod
19 ipod-2.0.tar.gz: pod ipod.spec
21 cp ipod.spec disable_pod.sh enable_pod.sh INTEL_LICENSE.txt ipod.patch \
22 Makefile pl-podcntl pl-poddoit.c pl-podset pl-podzap pod.src \
23 README shell_include status_pod.sh test-pod ipod-2.0
24 tar cvfz ipod-2.0.tar.gz ipod-2.0
27 pl-poddoit: pl-poddoit.c
28 gcc pl-poddoit.c -o pl-poddoit
31 cp pl-poddoit $(PLBIN)
32 chmod 555 $(PLBIN)/pl-poddoit
37 rm -f pod pl-poddoit ipod-2.0.tar.gz