summaryrefslogtreecommitdiffstats
path: root/bin/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-03-08 16:42:03 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2013-03-08 16:51:15 +0100
commit3e2d86693f6e8920c97fe296491e7741e31f922c (patch)
tree1c755422fd27c7f192243e8eb7f7811193efa1f6 /bin/Makefile
parente0cabd6295204fe8a6b54edfc9141302943fdbfb (diff)
downloadprivsep-master.tar.bz2
privsep-master.tar.xz
implement one lua state per connectionHEADmaster
This allows you load various modules into a server lua state and give a performance boost when calling the privileged functions
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile24
1 files changed, 0 insertions, 24 deletions
diff --git a/bin/Makefile b/bin/Makefile
deleted file mode 100644
index 07a522a..0000000
--- a/bin/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-
-COMPILE_PROG = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $($@-objs) $($@-libs)
-
-CFLAGS ?= -g
-
-PKGCONF ?= pkg-config
-
-LUA_PKG ?= lua
-LUA_CFLAGS := $(shell $(PKGCONF) --cflags $(LUA_PKG))
-LUA_LIBS := $(shell $(PKGCONF) --libs $(LUA_PKG))
-
-LIBEV_LIBS := -lev
-
-privsep-server-objs = privsep-server.o lua-privsep.o conn.o
-privsep-server-libs = $(LUA_LIBS) $(LIBEV_LIBS)
-
-all: privsep-server
-
-privsep-server: $(privsep-server-objs)
- $(COMPILE_PROG)
-
-clean:
- rm -f $(privsep-server-objs) privsep-server
-