summaryrefslogtreecommitdiffhomepage
path: root/libs/px5g/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-12-03 15:17:05 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-08 16:26:20 +0100
commit1bb4822dca6113f73e3bc89e2acf15935e6f8e92 (patch)
tree35e16f100466e4e00657199b38bb3d87d52bf73f /libs/px5g/Makefile
parent9edd0e46c3f880727738ce8ca6ff1c8b85f99ef4 (diff)
Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'libs/px5g/Makefile')
-rw-r--r--libs/px5g/Makefile28
1 files changed, 0 insertions, 28 deletions
diff --git a/libs/px5g/Makefile b/libs/px5g/Makefile
deleted file mode 100644
index 80a650ed00..0000000000
--- a/libs/px5g/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-include ../../build/config.mk
-include ../../build/module.mk
-include ../../build/gccconfig.mk
-
-PX5G_LIB_CFLAGS = -Isrc/ -include src/polarssl/rsa.h \
- -include src/polarssl/x509.h \
- $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) $(WFLAGS)
-
-PX5G_OBJ_CFLAGS = -Isrc/ \
- $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) $(WFLAGS)
-
-PX5G_LIB = src/library/bignum.o src/library/havege.o src/library/rsa.o \
- src/library/sha1.o src/library/timing.o src/library/x509write.o
-PX5G_OBJ = src/px5g.o
-
-src/library/%.o: src/library/%.c
- $(CC) $(PX5G_LIB_CFLAGS) $(FPIC) -c -o $@ $<
-
-%.o: %.c
- $(CC) $(PX5G_OBJ_CFLAGS) $(LUA_CFLAGS) $(FPIC) -c -o $@ $<
-
-compile: $(PX5G_LIB) $(PX5G_OBJ)
- $(LINK) $(SHLIB_FLAGS) -o src/px5g.so $(PX5G_OBJ) $(PX5G_LIB)
- mkdir -p dist$(LUA_LIBRARYDIR)
- cp src/px5g.so dist$(LUA_LIBRARYDIR)/px5g.so
-
-clean: luaclean
- rm -f $(PX5G_OBJ) $(PX5G_LIB) src/*.o src/*.so src/*.a src/*.dll