summaryrefslogtreecommitdiffhomepage
path: root/libs/lucittpd/Makefile
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-11-30 13:19:45 +0000
committerSteven Barth <steven@midlink.org>2008-11-30 13:19:45 +0000
commitb33943a6e8596c1ddfc1b771a995d3cf21e81cd6 (patch)
tree6f67cdea044e708a599a06712491b5c60db6f954 /libs/lucittpd/Makefile
parenta7e7c31f8c659b55c1adb0863a8f2f66d3452d2b (diff)
Merge LuCIttpd
Diffstat (limited to 'libs/lucittpd/Makefile')
-rw-r--r--libs/lucittpd/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/lucittpd/Makefile b/libs/lucittpd/Makefile
new file mode 100644
index 000000000..3d1a91177
--- /dev/null
+++ b/libs/lucittpd/Makefile
@@ -0,0 +1,18 @@
+ifeq ($(CFLAGS),)
+ MYLDFLAGS ?= -L../../../contrib/uci/dist/usr/lib/
+endif
+
+include ../../build/module.mk
+include ../../build/config.mk
+include ../../build/gccconfig.mk
+
+compile:
+ make -Csrc \
+ CFLAGS="$(CFLAGS) $(FPIC) $(LUA_CFLAGS) $(EXTRA_CFLAGS) $(WFLAGS)" \
+ LDFLAGS="$(LDFLAGS) $(LUA_SHLIBS) -luci" \
+ MYLDFLAGS="$(MYLDFLAGS)"
+ mkdir -p dist/usr/bin
+ cp src/lucittpd dist/usr/bin
+
+clean: luaclean
+ make -Csrc clean