MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / drivers / net / wireless / rtlink.org / 2.6.x / Makefile
blob75139600ddf1efebf4ebb31ba151301f87516785
1 # Comment/uncomment the following line to enable/disable debugging
3 WFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs
5 #include ./config.mk
6 obj-m := rt2500.o
8 rt2500-objs := rtmp_main.o mlme.o connect.o sync.o assoc.o \
9 auth.o auth_rsp.o rtmp_data.o rtmp_init.o sanity.o \
10 rtmp_wep.o rtmp_info.o eeprom.o rtmp_tkip.o wpa.o md5.o
12 clean:
13 rm -f *.o *~ .*.cmd *.ko *.mod.c
14 install:
15 @touch config.mk
16 #mkdir -p $(TARGET_MODDIR)
17 echo $(TARGET_MODDIR)
18 install $(DRIVERPATH) $(TARGET_MODDIR)
20 @if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ra0 ]; then \
21 echo "Create 'ifcfg-ra0' in /etc/sysconfig/network-scripts/"; \
22 cp ifcfg-ra0 /etc/sysconfig/network-scripts/ ; \
24 @if [ -d /etc/sysconfig/network ]; then \
25 echo "Create 'ifcfg-ra0' in /etc/sysconfig/network/"; \
26 cp ./suse/ifcfg-ra0 /etc/sysconfig/network/ ; \
29 @if ! grep 'ra0' $(PROBEPATH) ; then \
30 echo "alias ra0 rt2500" >> $(PROBEPATH) ; \
33 config:
34 @touch config.mk
35 @./Configure
37 #make command : make -C path/to/src SUBDIRS=$PWD modules
38 #example : make -C /usr/src/linux-2.6.3-4mdk SUBDIRS=$PWD modules