Changeset 7

Show
Ignore:
Timestamp:
03/15/03 19:30:21 (6 years ago)
Author:
sam
Message:

Replicated Change 25 by sam@borg_greg on 2003/02/20 17:23:28<<<

add BSD if_media stuff (for now, may go later)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cvs-import/trunk/wlan/Makefile

    r4 r7  
    33# Makefile for the 802.11 WLAN module. 
    44# 
     5DESTDIR= 
     6 
     7VERSION=        2.4.20 
    58 
    69# 
    710# Path to the Linux kernel include files. 
    811# 
    9 LINUX=  ../../linux-2.4.20/include 
     12LINUX=  ../../linux-${VERSION}/include 
    1013 
    11 SRCS=   if_ieee80211subr.c rc4.c 
    12 OBJS=   if_ieee80211subr.o rc4.o 
     14SRCS=   if_ieee80211subr.c if_media.c rc4.c 
     15OBJS=   if_ieee80211subr.o if_media.o rc4.o 
    1316 
    14 CFLAGS= -I. -I${LINUX} -D__KERNEL__ -DMODULE -g -O 
     17#CFLAGS=        -I. -I${LINUX} -D__KERNEL__ -DMODULE -g -O 
     18CFLAGS= -I. -I${LINUX} -D__KERNEL__ -g -O 
    1519 
    1620all:    wlan.o 
     
    1822wlan.o: ${OBJS} 
    1923        ${LD} -o $@ -r -x ${OBJS} 
     24 
     25install: all 
     26        cp wlan.o ${DESTDIR}/lib/modules/${VERSION}/net 
    2027 
    2128clean: