-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile.old
33 lines (22 loc) · 1021 Bytes
/
Makefile.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This is a teporaly Makefile untill autoconfigured this module
all: iptables-module-make kernel-module-make
install: kernel-module-install python-module-install iptables-module-install
clean: iptables-module-clean eet-clean python-module-clean kernel-module-clean
imgtest:
(cd end-to-end-test && [ ! -f Makefile ] || $(MAKE))
kernel-module-make: kernel-module/dkms.conf
echo "kernel module make done"
kernel-module-install:
install -m 0755 -d $(DESTDIR)/usr/src/kzorp-3.2
cp -a kernel-module/* $(DESTDIR)/usr/src/kzorp-3.2
python-module-install:
for pversion in `pyversions -vi`; do \
(cd pylib/kzorp && python$$pversion setup.py install --prefix $(DESTDIR)/usr --install-layout=deb); \
done;
kernel-module-clean:
(cd kernel-module && [ ! -f Makefile ] || $(MAKE) clean)
rm -f kernel-module/dkms.conf
python-module-clean:
rm -f pylib/kzorp/kzorp/__init__.pyc pylib/kzorp/kzorp/kzorp_netlink.pyc pylib/kzorp/kzorp/netlink.pyc
eet-clean:
(cd end-to-end-test && [ ! -f Makefile ] || $(MAKE) clean)