aboutsummaryrefslogtreecommitdiffstats
path: root/testing/luaexpat/newconfig
diff options
context:
space:
mode:
Diffstat (limited to 'testing/luaexpat/newconfig')
-rw-r--r--testing/luaexpat/newconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/luaexpat/newconfig b/testing/luaexpat/newconfig
new file mode 100644
index 0000000000..7d8d6331fc
--- /dev/null
+++ b/testing/luaexpat/newconfig
@@ -0,0 +1,26 @@
+LUA_LIBDIR= usr/lib/lua/5.1
+LUA_DIR= usr/share/lua/5.1
+LUA_INC= /usr/include
+EXPAT_INC= /usr/include
+
+# OS dependent
+LIB_OPTION= -shared
+
+LIBNAME= $T.so.$V
+LUA_VERSION_NUM= 514
+COMPAT_DIR= ../compat/src
+
+# Compilation parameters
+CWARNS = -Wall -pedantic \
+ -Waggregate-return \
+ -Wcast-align \
+ -Wmissing-prototypes \
+ -Wstrict-prototypes \
+ -Wnested-externs \
+ -Wpointer-arith \
+ -Wshadow \
+ -Wwrite-strings
+
+CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
+ -I$(COMPAT_DIR) -I$(EXPAT_INC)
+CC = gcc