summaryrefslogtreecommitdiff
path: root/community/luaexpat/newconfig
blob: 095c0800eebcfdef6ef7ef20992348c8f8602be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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= 512
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) -fPIC
CC = gcc