diff options
Diffstat (limited to 'src/interfaces/libpq++/examples')
| -rw-r--r-- | src/interfaces/libpq++/examples/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/interfaces/libpq++/examples/Makefile b/src/interfaces/libpq++/examples/Makefile index c6ce50f8c68..919e637712f 100644 --- a/src/interfaces/libpq++/examples/Makefile +++ b/src/interfaces/libpq++/examples/Makefile @@ -1,18 +1,22 @@ +#------------------------------------------------------------------------- # -# Makefile for example programs +# Makefile for libpq++ examples # +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California +# +# $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/Makefile,v 1.13 2002/06/15 18:49:29 momjian Exp $ +# +#------------------------------------------------------------------------- +subdir = src/interfaces/libpq++/examples +top_builddir = ../../../.. +include $(top_builddir)/src/Makefile.global LIBNAME= libpq++ -HEADERDIR= /usr/local/pgsql/include -LIBPQDIR= /usr/local/pgsql/lib - - -# We have to override -Werror, which makes warnings, fatal, because we -# inevitably get the warning, "abstract declarator used as declaration" -# because of our inclusion of c.h and we don't know how to stop that. +HEADERDIR= $(includedir) +LIBPQDIR= $(libdir) -#CXXFLAGS= $(CFLAGS) -Wno-error -Wno-unused -Wl,-Bdynamic CXXFLAGS= $(CFLAGS) CXXFLAGS+= -I$(HEADERDIR) |
