File: Makefile.kbuild

package info (click to toggle)
batmand 0.3.2-6
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 616 kB
  • ctags: 857
  • sloc: ansic: 7,677; makefile: 218; sh: 47
file content (21 lines) | stat: -rw-r--r-- 352 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
LINUX_VERSION:=2.6
ifeq ($(MAKING_MODULES),1)
-include $(TOPDIR)/Rules.make
endif

LINUX26:=2.6
EXTRA_CFLAGS +=-DREVISION_VERSION=\"\ rv$(REVISION)\"

ifeq ($(strip $(findstring $(LINUX26),$(LINUX_VERSION))),$(LINUX26))

obj-m += batgat.o
batgat-objs := gateway.o hash.o

else

modules: batgat.o

batgat.o: gateway24.o hash.o
	$(LD) -r $^ -o $@

endif