aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-11-13 16:38:19 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-13 16:38:19 (GMT)
commit644fb8c8a0c62d9292cddeae92ff5802b2054fe5 (patch)
treeee9227e77439442ae60bb21e61a9e318b79a10a6 /wlantest/Makefile
parent77ac47278a341edf65a128150c878ceb9353eefe (diff)
downloadhostap-644fb8c8a0c62d9292cddeae92ff5802b2054fe5.zip
hostap-644fb8c8a0c62d9292cddeae92ff5802b2054fe5.tar.gz
hostap-644fb8c8a0c62d9292cddeae92ff5802b2054fe5.tar.bz2
wlantest: Add control interface and wlantest_cli
This can be used to manage wlantest operation during run time.
Diffstat (limited to 'wlantest/Makefile')
-rw-r--r--wlantest/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/wlantest/Makefile b/wlantest/Makefile
index 666791e..9f36803 100644
--- a/wlantest/Makefile
+++ b/wlantest/Makefile
@@ -1,4 +1,4 @@
-ALL=wlantest
+ALL=wlantest wlantest_cli
all: $(ALL)
@@ -61,6 +61,7 @@ OBJS += sta.o
OBJS += crc32.o
OBJS += ccmp.o
OBJS += tkip.o
+OBJS += ctrl.o
LIBS += -lpcap
@@ -88,9 +89,16 @@ libwlantest.so: $(OBJS_lib)
endif
+
+OBJS_cli = wlantest_cli.o
+
+
wlantest: $(OBJS) $(LIBWLANTEST)
$(LDO) $(LDFLAGS) -o wlantest $(OBJS) -L. -lwlantest $(LIBS)
+wlantest_cli: $(OBJS_cli)
+ $(LDO) $(LDFLAGS) -o wlantest_cli $(OBJS_cli) -L. -lwlantest
+
clean:
$(MAKE) -C ../src clean
rm -f core *~ *.o *.d libwlantest.a libwlantest.so $(ALL)