webmcp
view Makefile.options @ 287:a9ad9186a922
Adjusted env/trace/__init.lua to deal with forking
| author | jbe | 
|---|---|
| date | Sun Mar 22 04:08:53 2015 +0100 (2015-03-22) | 
| parents | cd7fce06440d | 
| children | e662554bbc2a | 
 line source
     1 # C compiler command
     2 CC = cc
     4 # linker command
     5 LD = ld
     7 # filename extension for shared libraries
     8 SLIB_EXT = so
    10 # Lua binaries
    11 LUA_BIN = lua52
    12 LUAC_BIN = luac52
    14 # C compiler flags
    15 # TODO: check alternatives to -D_GNU_SOURCE -fPIC
    16 #       using libtool?
    17 CFLAGS = -O2 -D_GNU_SOURCE -fPIC -Wall -I /usr/include -I /usr/local/include -I /usr/local/include/lua52
    19 # additional C compiler flags for parts which depend on PostgreSQL
    20 CFLAGS_PGSQL = -I /usr/local/include/postgresql -I /usr/local/include/postgresql/server
    22 # linker flags
    23 LDFLAGS = -shared -L /usr/lib -L /usr/local/lib
    25 # additional linker flags for parts which depend on PostgreSQL
    26 LDFLAGS_PGSQL = -L /usr/local/lib/postgresql -rpath /usr/local/lib/postgresql
