📄 makefile.6
字号:
#################################################################################
# Ralink Technology, Inc. #
# 4F, No. 2 Technology 5th Rd. #
# Science-based Industrial Park #
# Hsin-chu, Taiwan, R.O.C. #
# #
# (c) Copyright 2005, Ralink Technology, Inc. #
# #
# All rights reserved. Ralink's source code is an unpublished work and the #
# use of a copyright notice does not imply otherwise. This source code #
# contains confidential trade secret material of Ralink Tech. Any attempt #
# or participation in deciphering, decoding, reverse engineering or in any #
# way altering the source code is stricitly prohibited, unless the prior #
# written consent of Ralink Technology, Inc. is obtained. #
#################################################################################
# Support AP client function
#HAS_APCLIENT=y
WFLAGS = -DMBSS_SUPPORT -DAGGREGATION_SUPPORT -DWDS_SUPPORT -DWMM_SUPPORT -Wall -Wstrict-prototypes -Wno-trigraphs
WFLAGS+= -DRALINK_ATE
#CFLAGS+= -DDBG
ifeq ($(HAS_APCLIENT),y)
WFLAGS += -DAPCLI_SUPPORT
endif
CFLAGS+= $(WFLAGS)
obj-m := rt61ap.o
rt61ap-objs := rtmp_main.o \
mlme.o \
connect.o \
sync.o \
assoc.o \
rtmp_task.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 \
soft_ap.o \
dls.o
ifeq ($(HAS_APCLIENT),y)
rt61ap-objs += sta_auth.o \
sta_assoc.o \
sta_sync.o \
sta_ctrl.o \
rtmp_apcli.o \
rtmp_apcli_iparp.o \
rtmp_apcli_pppoe.o \
sta_mlme.o
endif
all:
make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules
clean:
rm -f *.o *~ .*.cmd *.ko *.mod.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -