1 ifeq ($(VERSION
).
$(PATCHLEVEL
), 2.6)
3 EXTRA_CFLAGS
+= -I
$(src
)/..
/include -DWLAN_HOSTIF
=WLAN_PCI
7 acx100_pci-objs
:= acx100.o acx100_ioctl.o acx100_helper.o acx100_helper2.o ihw.o idma.o p80211conv.o acx80211frm.o
10 include $(ACX100_SRC
)..
/config.mk
13 #CFLAGS = -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=4 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -I../include/ -c -DWLAN_HOSTIF=WLAN_PCI
14 CFLAGS
= -D__KERNEL__
-I
$(KERNEL_BUILD
)/include -Wall
-Wstrict-prototypes
-Wno-trigraphs
-O
-fno-strict-aliasing
-fno-common
-fomit-frame-pointer
-pipe
-mpreferred-stack-boundary
=4 -march
=i586
-DMODULE
-DMODVERSIONS
-I..
/include/ -c
-DWLAN_HOSTIF
=WLAN_PCI
16 CFLAGS
+=-include $(KERNEL_BUILD
)/include/linux
/modversions.h
17 LDFLAGS
= -m elf_i386
-r
19 objects
= acx100.o acx100_ioctl.o acx100_helper.o acx100_helper2.o ihw.o idma.o p80211conv.o acx80211frm.o
22 acx100_pci.o
: $(objects
)
23 ld $(LDFLAGS
) -o
$@
$^
25 $(objects
): ..
/include/version.h \
26 ..
/include/p80211hdr.h \
27 ..
/include/p80211mgmt.h \
28 ..
/include/p80211msg.h \
29 ..
/include/p80211ioctl.h \
31 ..
/include/p80211conv.h \
32 ..
/include/p80211netdev.h \
33 ..
/include/p80211req.h \
34 ..
/include/p80211types.h \
35 ..
/include/acx100_helper.h \
36 ..
/include/acx100_helper2.h \
39 ..
/include/acx100mgmt.h
42 rm -f
$(objects
) acx100_pci.o
*~ ..
/include/*~ ..
/scripts
/*~