diff options
| author | Michael Mason <ms13sp@gmail.com> | 2009-06-06 00:41:59 +0000 |
|---|---|---|
| committer | Michael Mason <ms13sp@gmail.com> | 2009-06-06 00:41:59 +0000 |
| commit | 7b5ecceecba33fa3ea0652efac17560d2cdb3442 (patch) | |
| tree | 8aa0f1cbdac572851715c4cf61ef4c95c1760fd0 /testing/luasql-postgres/config.new | |
| parent | 33aa12a348842351fdb5ef67fe1e4b7375d80391 (diff) | |
| download | aports-7b5ecceecba33fa3ea0652efac17560d2cdb3442.tar.bz2 aports-7b5ecceecba33fa3ea0652efac17560d2cdb3442.tar.xz | |
testing/luasql-postgres patch from mika.havela@gmail.com
Diffstat (limited to 'testing/luasql-postgres/config.new')
| -rw-r--r-- | testing/luasql-postgres/config.new | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/testing/luasql-postgres/config.new b/testing/luasql-postgres/config.new new file mode 100644 index 0000000000..a8650c5511 --- /dev/null +++ b/testing/luasql-postgres/config.new @@ -0,0 +1,59 @@ +# Driver (leave uncommented ONLY the line with the name of the driver) +#T= mysql +#T= oci8 +#T= odbc +T= postgres +#T= sqlite +#T=sqlite3 + +# Installation directories + +# Default prefix +PREFIX = /usr + +# System's libraries directory (where binary libraries are installed) +LUA_LIBDIR= $(PREFIX)/lib/lua/5.1 + +# System's lua directory (where Lua libraries are installed) +LUA_DIR= $(PREFIX)/share/lua/5.1 + +# Lua includes directory +LUA_INC= $(PREFIX)/include + +# Lua version number (first and second digits of target version) +LUA_VERSION_NUM= 514 + +# OS dependent +LIB_OPTION= -shared #for Linux +#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X + +LIBNAME= $T.so +COMPAT_DIR= ../compat/src + +# Compilation parameters +# Driver specific +######## MySQL +#DRIVER_LIBS= -L/usr/local/mysql/lib -lmysqlclient -lz +#DRIVER_INCS= -I/usr/local/mysql/include +######## Oracle OCI8 +#DRIVER_LIBS= -L/home/oracle/OraHome1/lib -lz -lclntsh +#DRIVER_INCS= -I/home/oracle/OraHome1/rdbms/demo -I/home/oracle/OraHome1/rdbms/public +######## PostgreSQL +DRIVER_LIBS= -L/usr/pgsql/lib -lpq +DRIVER_INCS= -I/usr/pgsql/include +######## SQLite +#DRIVER_LIBS= -lsqlite +#DRIVER_INCS= +######## SQLite3 +#DRIVER_LIBS= -L/opt/local/lib -lsqlite3 +#DRIVER_INCS= -I/opt/local/include +######## ODBC +#DRIVER_LIBS= -L/usr/local/lib -lodbc +#DRIVER_INCS= -DUNIXODBC -I/usr/local/include + +WARN= -Wall -Wmissing-prototypes -Wmissing-declarations -ansi -pedantic +INCS= -I$(LUA_INC) +CFLAGS= -O2 $(WARN) -I$(COMPAT_DIR) $(DRIVER_INCS) $(INCS) $(DEFS) +CC= gcc + +# $Id: config,v 1.8 2007/10/27 22:55:27 carregal Exp $ |
