📄 makefile
字号:
# Makefile for Linux 2.6 kbuild / Linux 2.4# export-objs was removed in Linux 2.5.60# export-objs := hostap.o ## hostap_crypt.oobj-m += hostap.o hostap_crypt_wep.o hostap_crypt_tkip.o hostap_crypt_ccmp.o## obj-m += hostap_crypt.oobj-m += hostap_cs.oobj-m += hostap_plx.oobj-m += hostap_pci.oifeq ($(TOPDIR)/Rules.make,$(wildcard $(TOPDIR)/Rules.make))# old build system (before 2.5.x)include $(TOPDIR)/Rules.makeifdef CONFIG_MODVERSIONSVERFILES=hostap.ver ## hostap_crypt.verhostap_crypt_ccmp.o: $(VERFILES)hostap_crypt_tkip.o: $(VERFILES)hostap_crypt_wep.o: $(VERFILES)hostap.o: $(VERFILES)hostap_cs.o: $(VERFILES)hostap_plx.o: $(VERFILES)hostap_pci.o: $(VERFILES)INCLUDES_MODVER=-include hostap.ver ## -include hostap_crypt.verGENKSYMS=/sbin/genksymsifdef CONFIG_SMP GENKSYMS += -p smp_endif## hostap_crypt.ver: hostap_crypt.c## $(CC) $(INCLUDES) $(CFLAGS) -E -D__GENKSYMS__ $^ | \## $(GENKSYMS) -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) > $@hostap.ver: hostap.c $(CC) $(INCLUDES) $(CFLAGS) -E -D__GENKSYMS__ $^ | \ $(GENKSYMS) -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) > $@endif # CONFIG_MODVERSIONSendif # old build system# Need to add pcmcia-cs include path in the beginning of include directories.# CFLAGS would add it to the end, so this need to use CC..ifneq ($(PCMCIA_PATH),)CC += -I$(PCMCIA_PATH)/include $(INCLUDES_MODVER)endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -