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 or more
20 # packages: lana.ko and each loadable functional block
27 obj-m
+= fb_ethvlink.o
30 MDIR
:= /lib
/modules
/$(shell uname
-r
)
32 DEST
:= $(MDIR
)/kernel
/drivers
/net
/lana
/
37 make
-C
$(KDIR
) M
=$(PWD
) modules
42 @echo
"modules installed"
44 @echo
"modules.dep regenerated"
48 @echo
"modules uninstalled"
50 @echo
"modules.dep regenerated"
61 make
-C
$(KDIR
) M
=$(PWD
) clean
64 @echo
"make <targets>"
65 @echo
"available targets:"
66 @echo
" build - Builds source"
67 @echo
" clean - Removes generated files"
68 @echo
" install - Installs .ko files into system"
69 @echo
" uninstall - Removes .ko files from system"
70 @echo
" load_core - Loads core modules into the kernel"
71 @echo
" unload_core - Unloads core modules from the kernel"
72 @echo
" help - Shows this help"