From 3e2d86693f6e8920c97fe296491e7741e31f922c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 8 Mar 2013 16:42:03 +0100 Subject: implement one lua state per connection This allows you load various modules into a server lua state and give a performance boost when calling the privileged functions --- bin/Makefile | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 bin/Makefile (limited to 'bin/Makefile') 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 - -- cgit v1.2.3