webmcp

annotate Makefile.options @ 548:a006593b747c

Basic support for database array types (integers and strings)
author jbe
date Mon Oct 21 19:55:13 2019 +0200 (18 months ago)
parents 72e55c2eb63c
children 16197a40c7a9
rev   line source
jbe/bsw@0 1 # C compiler command
jbe/bsw@0 2 CC = cc
jbe/bsw@0 3
jbe/bsw@0 4 # filename extension for shared libraries
jbe/bsw@0 5 SLIB_EXT = so
jbe/bsw@0 6
jbe@116 7 # Lua binaries
jbe@339 8 LUA_BIN = lua
jbe@339 9 LUAC_BIN = luac
jbe@116 10
jbe/bsw@0 11 # C compiler flags
jbe@42 12 # TODO: check alternatives to -D_GNU_SOURCE -fPIC
jbe@42 13 # using libtool?
jbe@469 14 CFLAGS = -O2 -D_GNU_SOURCE -fPIC -Wall -I /usr/include -I /usr/local/include -I /usr/include/lua5.3 -I /usr/local/include/lua53
jbe/bsw@0 15
jbe/bsw@0 16 # additional C compiler flags for parts which depend on PostgreSQL
jbe@411 17 CFLAGS_PGSQL = -I `pg_config --includedir` -I `pg_config --pkgincludedir` -I `pg_config --includedir-server`
jbe/bsw@0 18
jbe@541 19 # alternative C compiler flags for creating shared libraries
jbe@541 20 SHAREDFLAGS = -shared -L /usr/lib -L /usr/local/lib -lc
jbe@540 21 # NOTE: -lc needed on FreeBSD to avoid weird problems
jbe/bsw@0 22
jbe@541 23 # additional C compiler flags for creating shared libraries for parts which depend on PostgreSQL
jbe@541 24 SHAREDFLAGS_PGSQL = -L `pg_config --libdir` -Wl,--rpath,`pg_config --libdir`

Impressum / About Us