summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-12 05:19:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-12 05:19:10 +0000
commit719fd249aa6a3bbcb4efd3c130e92741cd1a4852 (patch)
tree5ef1cb56cf3b6ca5820d6dcc21ea5f4de26d6bc3 /libs/iwinfo/Makefile
parentaff68f53751c706dd623eb794106eab59991e69d (diff)
libs: remove obsolete iwinfo, its independant now
Diffstat (limited to 'libs/iwinfo/Makefile')
-rw-r--r--libs/iwinfo/Makefile36
1 files changed, 0 insertions, 36 deletions
diff --git a/libs/iwinfo/Makefile b/libs/iwinfo/Makefile
deleted file mode 100644
index f9ce36abf4..0000000000
--- a/libs/iwinfo/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-ifneq (,$(wildcard ../../build/config.mk))
-include ../../build/config.mk
-include ../../build/module.mk
-include ../../build/gccconfig.mk
-else
-include standalone.mk
-endif
-
-IWINFO_LDFLAGS =
-IWINFO_CFLAGS = -fstrict-aliasing $(if $(CRAP),-DUSE_WL,-DUSE_MADWIFI)
-IWINFO_SO = iwinfo.so
-IWINFO_LUA = iwinfo.lua
-IWINFO_OBJ = $(if $(CRAP),src/iwinfo_wl.o,src/iwinfo_madwifi.o) \
- src/iwinfo_wext.o src/iwinfo_wext_scan.o src/iwinfo_lualib.o
-
-%.o: %.c
- $(COMPILE) $(IWINFO_CFLAGS) $(LUA_CFLAGS) $(FPIC) -c -o $@ $<
-
-ifeq ($(SDK),)
-compile: clean $(IWINFO_OBJ)
- $(LINK) $(SHLIB_FLAGS) $(IWINFO_LDFLAGS) -o src/$(IWINFO_SO) $(IWINFO_OBJ)
- mkdir -p dist$(LUA_LIBRARYDIR)
- cp src/$(IWINFO_SO) dist$(LUA_LIBRARYDIR)/$(IWINFO_SO)
-else
-compile: clean
- mkdir -p dist$(LUA_LIBRARYDIR)
- cp src/dummy.lua dist$(LUA_LIBRARYDIR)/$(IWINFO_LUA)
-endif
-
-install: build
- cp -pR dist$(LUA_LIBRARYDIR)/* $(LUA_LIBRARYDIR)
-
-clean:
- rm -f src/*.o src/$(IWINFO_SO)
-
-host-compile: