Don't distribute mdbprivate.h and mdbodbc.h

mdbprivate is.... private.

mdbodbc.h has no reason to be public: People who want to use the plugin
should use the public odbc.h headers. And having this private will permit
hdbc cleanup.
This commit is contained in:
Nirgal Vourgère 2013-07-03 11:59:28 +02:00
parent 54a036d8b2
commit eefddaffcc
4 changed files with 5 additions and 8 deletions

View File

@ -1 +1,2 @@
include_HEADERS = mdbtools.h mdbsql.h mdbodbc.h mdbprivate.h mdbver.h
include_HEADERS = mdbtools.h mdbsql.h mdbver.h
noinst_HEADERS = mdbprivate.h

View File

@ -1,8 +1,7 @@
include_HEADERS = connectparams.h # Should we really install that file?
noinst_PROGRAMS = unittest
noinst_PROGRAMS = unittest
lib_LTLIBRARIES = libmdbodbc.la
AM_CPPFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS) $(ODBC_CFLAGS)
libmdbodbc_la_SOURCES= odbc.c connectparams.c
libmdbodbc_la_SOURCES= odbc.c connectparams.c mdbodbc.h connectparams.h
libmdbodbc_la_LIBADD= ../libmdb/libmdb.la ../sql/libmdbsql.la
libmdbodbc_la_LDFLAGS = -version-info 1:1:0 -export-symbols-regex '^(SQL|ODBCINST)'
LIBS = @LEXLIB@ $(GLIB_LIBS) $(ODBC_LIBS)

View File

@ -28,12 +28,9 @@
#include <sql.h>
#include <sqlext.h>
#include <mdbodbc.h>
#include <string.h>
#include <stdio.h>
#include "mdbodbc.h"
#include "connectparams.h"
//#define TRACE(x) fprintf(stderr,"Function %s\n", x);