2012-05-09 10:48:22 +02:00
|
|
|
ifndef MAKEFILE
|
2012-05-09 15:50:46 +02:00
|
|
|
MAKEFILE := Makefile_atheros_openwrt
|
2012-05-09 10:48:22 +02:00
|
|
|
endif
|
|
|
|
|
2012-05-09 15:50:46 +02:00
|
|
|
ifndef OPENWRT_VERSION
|
|
|
|
OPENWRT_VERSION := 10.03
|
2012-05-09 10:48:22 +02:00
|
|
|
endif
|
|
|
|
|
2012-05-09 15:50:46 +02:00
|
|
|
include common.mk
|
|
|
|
|
2012-05-09 10:48:22 +02:00
|
|
|
.PHONY: \
|
|
|
|
all help \
|
|
|
|
libowlps \
|
|
|
|
libowlps-client \
|
|
|
|
owlps-client \
|
|
|
|
owlps-listener
|
|
|
|
|
|
|
|
|
|
|
|
## Compilation ##
|
|
|
|
|
|
|
|
all: \
|
|
|
|
libowlps \
|
|
|
|
libowlps-client \
|
|
|
|
owlps-client \
|
|
|
|
owlps-listener
|
|
|
|
|
|
|
|
libowlps:
|
2012-05-09 17:38:37 +02:00
|
|
|
@$(MAKE) -C $@ $(TARGET)
|
2012-05-09 10:48:22 +02:00
|
|
|
libowlps-client: libowlps
|
2012-05-09 17:38:37 +02:00
|
|
|
@$(MAKE) -C $@ $(TARGET)
|
2012-05-09 10:48:22 +02:00
|
|
|
owlps-client: libowlps libowlps-client
|
2012-05-24 14:19:04 +02:00
|
|
|
@$(MAKE) -C $@ $(TARGET)
|
2012-05-09 10:48:22 +02:00
|
|
|
owlps-listener: libowlps libowlps-client
|
2012-05-24 14:19:04 +02:00
|
|
|
@$(MAKE) -C $@ $(TARGET)
|
2012-05-09 10:48:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
## Help ##
|
|
|
|
|
|
|
|
help :
|
|
|
|
@echo "Compiles the supported modules for OpenWrt Atheros."
|
|
|
|
@echo "Supported variables:"
|
|
|
|
@echo " MAKEFILE: makefile to call (default: $(MAKEFILE))."
|
2012-05-09 15:50:46 +02:00
|
|
|
@echo " OPENWRT_VERSION: version of OpenWrt to build against \
|
|
|
|
(default: $(OPENWRT_VERSION))."
|
2012-05-09 10:48:22 +02:00
|
|
|
@echo " TARGET: target to call (default: all)."
|