File: Makefile.kbuild

package info (click to toggle)
batmand 0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 528 kB
  • ctags: 720
  • sloc: ansic: 7,045; makefile: 124; sh: 40
file content (20 lines) | stat: -rw-r--r-- 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ifeq ($(MAKING_MODULES),1)
-include $(TOPDIR)/Rules.make
endif

LINUX26:=2.6
EXTRA_CFLAGS +=-DREVISION_VERSION=\"\ 0.3\"

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