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 / Makefile-bak-12212005
blob2dcc7ef0ac4804808697c19275b3e56752637678
1 # Comment/uncomment the following line to enable/disable debugging\r
2 \r
3 CC := xscale_be-gcc\r
4 LD := xscale_be-ld\r
5 \r
6 include ./config.mk\r
7 \r
8 WFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs\r
9 CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS) -DRT2500_DBG -DBIG_ENDIAN -DLinux -DRALINK_ATE\r
11 #CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS)\r
13 OBJ = rt2500.o\r
15 all: $(OBJ)\r
16         @touch config.mk\r
18 rt2500.o: rtmp_main.o mlme.o connect.o sync.o assoc.o auth.o auth_rsp.o rtmp_data.o rtmp_init.o sanity.o rtmp_wep.o rtmp_info.o eeprom.o rtmp_tkip.o wpa.o md5.o\r
19         $(LD) -r $^ -o $@\r
20                 \r
21 clean:\r
22         rm -f *.o *~ core\r
24 install:\r
25         @touch config.mk\r
26         #mkdir -p $(TARGET_MODDIR)\r
27         echo $(TARGET_MODDIR)\r
28         install $(DRIVERPATH) $(TARGET_MODDIR)\r
29         \r
30         @if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ra0 ]; then \\r
31                 echo "Create 'ifcfg-ra0' in /etc/sysconfig/network-scripts/"; \\r
32                 cp ifcfg-ra0 /etc/sysconfig/network-scripts/ ; \\r
33         fi\r
34         @if [  -d /etc/sysconfig/network ]; then \\r
35                 echo "Create 'ifcfg-ra0' in /etc/sysconfig/network/"; \\r
36                 cp ./suse/ifcfg-ra0 /etc/sysconfig/network/ ; \\r
37         fi\r
38         @if ! grep 'ra0' $(PROBEPATH) ; then \\r
39                 echo "alias ra0 rt2500" >> $(PROBEPATH) ; \\r
40         fi\r
41                         \r
42 config:\r
43         @touch config.mk\r
44         @./Configure\r