new makefiles (part I)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,19 +24,19 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
||||
|
@@ -32,6 +32,13 @@
|
||||
|
||||
#include "wx/setup.h"
|
||||
|
||||
/* we have these definitions from configure */
|
||||
#if defined(HAVE_DLOPEN)
|
||||
#define DLDAPI_SVR4_DLFCN
|
||||
#elif define(HAVE_SHL_LOAD)
|
||||
#define DLDAPI_HP_SHL
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
|
@@ -24,19 +24,19 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
extern char* _iodbcdm_getkeyvalbydsn();
|
||||
extern char* _iodbcdm_getkeyvalinstr();
|
||||
@@ -308,7 +308,6 @@ _iodbcdm_driverunload (HDBC hdbc)
|
||||
GENV_t FAR *genv;
|
||||
HPROC hproc;
|
||||
RETCODE retcode = SQL_SUCCESS;
|
||||
int sqlstat = en_00000;
|
||||
|
||||
if (hdbc == SQL_NULL_HDBC)
|
||||
{
|
||||
@@ -964,17 +963,13 @@ SQLBrowseConnect (
|
||||
SWORD FAR * pcbConnStrOut)
|
||||
{
|
||||
DBC_t FAR *pdbc = (DBC_t FAR *) hdbc;
|
||||
HDLL hdll;
|
||||
char FAR *drv;
|
||||
char drvbuf[1024];
|
||||
char FAR *dsn;
|
||||
char dsnbuf[SQL_MAX_DSN_LENGTH + 1];
|
||||
UCHAR cnstr2drv[1024];
|
||||
|
||||
HPROC hproc;
|
||||
HPROC dialproc;
|
||||
|
||||
int sqlstat = en_00000;
|
||||
RETCODE retcode = SQL_SUCCESS;
|
||||
RETCODE setopterr = SQL_SUCCESS;
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <dlf.h>
|
||||
#include "dlf.h"
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef DLDAPI_DEFINED
|
||||
|
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
#ifndef _DLF_H
|
||||
#define _DLF_H
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#if defined(HAVE_LIBDL)
|
||||
#define DLDAPI_SVR4_DLFCN
|
||||
|
@@ -24,18 +24,18 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
#include "henv.ci"
|
||||
|
||||
@@ -44,7 +44,6 @@ _iodbcdm_getproc (HDBC hdbc, int idx)
|
||||
{
|
||||
DBC_t FAR *pdbc = (DBC_t FAR *) hdbc;
|
||||
ENV_t FAR *penv;
|
||||
HDLL hdll;
|
||||
HPROC FAR *phproc;
|
||||
|
||||
if (idx <= 0 || idx > SQL_EXT_API_LAST)
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#ifndef _DLPROC_H
|
||||
#define _DLPROC_H
|
||||
|
||||
#include <dlf.h>
|
||||
#include "dlf.h"
|
||||
|
||||
typedef RETCODE (FAR * HPROC) ();
|
||||
|
||||
|
@@ -24,19 +24,19 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
static void
|
||||
do_cursoropen (STMT_t FAR * pstmt)
|
||||
|
@@ -24,19 +24,19 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
RETCODE SQL_API
|
||||
SQLFetch (HSTMT hstmt)
|
||||
|
@@ -24,20 +24,20 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include <stdio.h>
|
||||
#include "itrace.h"
|
||||
#include "stdio.h"
|
||||
|
||||
extern RETCODE _iodbcdm_driverunload();
|
||||
|
||||
@@ -176,7 +176,6 @@ SQLSetConnectOption (
|
||||
UWORD fOption,
|
||||
UDWORD vParam)
|
||||
{
|
||||
GENV_t FAR *genv;
|
||||
DBC_t FAR *pdbc = (DBC_t FAR *) hdbc;
|
||||
STMT_t FAR *pstmt;
|
||||
HPROC hproc = SQL_NULL_HPROC;
|
||||
@@ -511,7 +510,6 @@ SQLGetConnectOption (
|
||||
UWORD fOption,
|
||||
PTR pvParam)
|
||||
{
|
||||
GENV_t FAR *genv;
|
||||
DBC_t FAR *pdbc = (DBC_t FAR *) hdbc;
|
||||
int sqlstat = en_00000;
|
||||
HPROC hproc = SQL_NULL_HPROC;
|
||||
@@ -764,7 +762,7 @@ SQLTransact (
|
||||
GENV_t FAR *genv = (GENV_t FAR *) henv;
|
||||
DBC_t FAR *pdbc = (DBC_t FAR *) hdbc;
|
||||
HERR herr;
|
||||
RETCODE retcode;
|
||||
RETCODE retcode = 0;
|
||||
|
||||
if (hdbc != SQL_NULL_HDBC)
|
||||
{
|
||||
|
@@ -24,17 +24,17 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
RETCODE SQL_API
|
||||
SQLAllocEnv (HENV FAR * phenv)
|
||||
|
@@ -26,11 +26,11 @@
|
||||
#ifndef _HENV_H
|
||||
#define _HENV_H
|
||||
|
||||
#include <config.h>
|
||||
#include <dlproc.h>
|
||||
#include "config.h"
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#ifndef SYSERR
|
||||
#define SYSERR -1
|
||||
|
@@ -24,19 +24,19 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
#include "herr.ci"
|
||||
|
||||
|
@@ -24,19 +24,19 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
RETCODE SQL_API
|
||||
SQLAllocStmt (
|
||||
|
@@ -26,10 +26,10 @@
|
||||
#ifndef _HSTMT_H
|
||||
#define _HSTMT_H
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
typedef struct STMT
|
||||
{
|
||||
|
@@ -24,19 +24,19 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#ifndef _ISQLEXT_H
|
||||
# define _ISQLEXT_H
|
||||
|
||||
#include <isql.h>
|
||||
#include "isql.h"
|
||||
|
||||
/*
|
||||
* Generic constants
|
||||
|
@@ -24,17 +24,17 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "henv.ci"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@@ -24,10 +24,10 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
@@ -24,19 +24,19 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
@@ -24,19 +24,19 @@
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
|
||||
#include <dlproc.h>
|
||||
#include "dlproc.h"
|
||||
|
||||
#include <herr.h>
|
||||
#include <henv.h>
|
||||
#include <hdbc.h>
|
||||
#include <hstmt.h>
|
||||
#include "herr.h"
|
||||
#include "henv.h"
|
||||
#include "hdbc.h"
|
||||
#include "hstmt.h"
|
||||
|
||||
#include <itrace.h>
|
||||
#include "itrace.h"
|
||||
|
||||
RETCODE SQL_API
|
||||
SQLBindCol (
|
||||
|
Reference in New Issue
Block a user