2 # Lightweight Autonomic Network Architecture
4 # Copyright 2011 Daniel Borkmann <dborkma@tik.ee.ethz.ch>,
5 # Swiss federal institute of technology (ETH Zurich)
19 # Some of the optional modules are packed, so that we have two packages:
20 # basic and extra, nevertheless modules can also be developed as a single
28 obj-m
+= sd_blackhole.o
30 obj-m
+= fb_ethvlink.o
32 MDIR
:= /lib
/modules
/$(shell uname
-r
)
34 DEST
:= $(MDIR
)/kernel
/drivers
/net
/lana
/
39 make
-C
$(KDIR
) M
=$(PWD
) modules
44 @echo
"modules installed"
46 @echo
"modules.dep regenerated"
50 @echo
"modules uninstalled"
52 @echo
"modules.dep regenerated"
63 make
-C
$(KDIR
) M
=$(PWD
) clean
66 @echo
"make <targets>"
67 @echo
"available targets:"
68 @echo
" build - Builds source"
69 @echo
" clean - Removes generated files"
70 @echo
" install - Installs .ko files into system"
71 @echo
" uninstall - Removes .ko files from system"
72 @echo
" load_core - Loads core modules into the kernel"
73 @echo
" unload_core - Unloads core modules from the kernel"
74 @echo
" help - Shows this help"