webmcp

annotate Makefile.options @ 555:16197a40c7a9

Removed -lc from flags for creating shared libraries (should no longer be necessary when using cc instead of ld)
author jbe
date Mon Feb 10 20:47:58 2020 +0100 (15 months ago)
parents 72e55c2eb63c
children
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@555 20 SHAREDFLAGS = -shared -L /usr/lib -L /usr/local/lib
jbe/bsw@0 21
jbe@541 22 # additional C compiler flags for creating shared libraries for parts which depend on PostgreSQL
jbe@541 23 SHAREDFLAGS_PGSQL = -L `pg_config --libdir` -Wl,--rpath,`pg_config --libdir`

Impressum / About Us