webmcp
annotate Makefile.options @ 28:ea2e8f3a2776
allow webmcp path to be set in cgi script
this allows another script to include the webmcp script when the cwd is not the cgi-bin. the script needs to set the WEBMCP_PATH variable.
this allows another script to include the webmcp script when the cwd is not the cgi-bin. the script needs to set the WEBMCP_PATH variable.
| author | Daniel Poelzleithner <poelzi@poelzi.org> |
|---|---|
| date | Sun Sep 19 01:36:08 2010 +0200 (2010-09-19) |
| parents | 1da1078a87b1 |
| children | 5ce77ccdd550 |
| rev | line source |
|---|---|
| jbe/bsw@0 | 1 # C compiler command |
| jbe/bsw@0 | 2 CC = cc |
| jbe/bsw@0 | 3 |
| jbe/bsw@0 | 4 # linker command |
| jbe/bsw@0 | 5 LD = ld |
| jbe/bsw@0 | 6 |
| jbe/bsw@0 | 7 # filename extension for shared libraries |
| jbe/bsw@0 | 8 SLIB_EXT = so |
| jbe/bsw@0 | 9 |
| jbe/bsw@0 | 10 # C compiler flags |
| poelzi@27 | 11 CFLAGS = -O2 -D_GNU_SOURCE -fPIC -Wall -I /usr/include -I /usr/local/include -I /usr/local/include/lua51 -I /usr/include/lua5.1 |
| jbe/bsw@0 | 12 |
| jbe/bsw@0 | 13 # additional C compiler flags for parts which depend on PostgreSQL |
| jbe/bsw@0 | 14 CFLAGS_PGSQL = -I /usr/include/postgresql -I /usr/include/postgresql/server -I /usr/local/include/postgresql -I /usr/local/include/postgresql/server |
| jbe/bsw@0 | 15 |
| jbe/bsw@0 | 16 # linker flags |
| jbe/bsw@0 | 17 LDFLAGS = -shared -L /usr/lib -L /usr/local/lib -L /usr/local/lib/lua51 -L /usr/lib/lua5.1 |
| jbe/bsw@0 | 18 |
| jbe/bsw@0 | 19 # additional linker flags for parts which depend on PostgreSQL |
| jbe/bsw@0 | 20 LDFLAGS_PGSQL = |