#
# Makefile.am for psqlodbc30w (PostgreSQL ODBC driver)
#
-# $Header: /home/heikki/psqlodbc-cvs-copy/psqlodbc/Makefile.am,v 1.40 2006/09/06 18:49:41 dpage Exp $
+# $Header: /home/heikki/psqlodbc-cvs-copy/psqlodbc/Makefile.am,v 1.41 2006/10/30 20:05:13 petere Exp $
#
#-------------------------------------------------------------------------
endif
AM_LDFLAGS = -module -no-undefined -avoid-version
+
+psqlodbca_la_LIBADD = -lpq
+psqlodbcw_la_LIBADD = -lpq
psqlodbca_la_SOURCES = \
info.c bind.c columninfo.c connection.c convert.c drvconn.c \
psqlodbc.sln msdtc_enlist.cpp pgxalib.cpp \
pgxalib.def odbc.sql odbc-drop.sql \
odbcapi25w.c \
- \
+\
docs/index.html docs/config.html \
docs/faq.html docs/howto-accesslo.html \
docs/howto-accessvba.html docs/howto-bo.html \
Makefile.in config.guess config.h.in config.sub configure \
install-sh missing mkinstalldirs aclocal.m4 ltmain.sh \
libtool.m4 depcomp
-
AC_MSG_ERROR([pg_config not found])
fi
pg_includedir=`$PG_CONFIG --includedir`
-pg_cflags=`$PG_CONFIG --cflags`
pg_libdir=`$PG_CONFIG --libdir`
-pg_libs=`$PG_CONFIG --libs`
-CPPFLAGS="$CPPFLAGS $pg_cflags -I$pg_includedir"
-LDFLAGS="$LDFLAGS -L$pg_libdir $pg_libs -lpq"
+CPPFLAGS="$CPPFLAGS -I$pg_includedir"
+LDFLAGS="$LDFLAGS -L$pg_libdir"
AC_CONFIG_FILES([Makefile])