##################################################################### # DBConnect API ##################################################################### # # Configuration file for Windows compiling. # # Copyright (c) Johnathan Ingram 2003, jingram@rogueware.org # ##################################################################### ##################################################################### # GENERAL Section ##################################################################### # Specify general configuration options. ##################################################################### #DEBUG = /Yd CPPFLAGS = /GX /nologo /Ot /DWIN32 $(DEBUG) CC = cl.exe CXX = cl.exe LIBPROG = lib.exe /MACHINE:IX86 ##################################################################### # DRIVERS Section ##################################################################### # Specify the drivers you would like to compile. ##################################################################### ##################################################################### # MySQL Driver ##################################################################### # mysql : Compile Windows MySQL driver. # Uncomment to enable. # Make sure you set MYSQL_HOME to point to the mysql installation directory # Had problem with mysql_com.h. Just remark out the problem line. (my_sock fd;) ##################################################################### #MYSQL = src\driver_mysql #MYSQL_HOME = C:\mysql #MYSQL_INCLUDE = /I$(MYSQL_HOME)\include #MYSQL_LIB ="$(MYSQL_HOME)\lib\opt\libmySQL.lib" ##################################################################### # PostgreSQL Driver ##################################################################### # pgsql : Compile Windows PostgreSQL driver. # Uncomment to enable. # Make sure the file \src\interfaces\libpq\libpqdll.def contains the line # PQunescapeBytea @ 94 # This line was missing and causes a linking error # Make sure you set PGSQL_HOME to point to the PostgreSQL source directory # and that you have run "nmake /f win32.mak" in the src dir to build the Windows # components of PostgreSQL # Make sure the file \src\interfaces\libpq\Release\libpq.dll is in the Windows library path ##################################################################### #PGSQL = src\driver_pgsql-7 #PGSQL_HOME = C:\Temp\postgresql-7.3.3 #PGSQL_INCLUDE = /I$(PGSQL_HOME)\src\include /I$(PGSQL_HOME)\src\interfaces\libpq #PGSQL_LIB = "$(PGSQL_HOME)\src\interfaces\libpq\Release\libpqdll.lib" ##################################################################### # DBConnect API Versioning and configuration ##################################################################### # Warning: Do not modify anything here ##################################################################### dbconn_version = 0.3.5 subdirs = src\base src\dbconnect $(MYSQL) $(PGSQL)