diff options
Diffstat (limited to 'src/interfaces/libpq++/Makefile.in')
| -rw-r--r-- | src/interfaces/libpq++/Makefile.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/interfaces/libpq++/Makefile.in b/src/interfaces/libpq++/Makefile.in index 5a1fc34f85..8c3ba2f004 100644 --- a/src/interfaces/libpq++/Makefile.in +++ b/src/interfaces/libpq++/Makefile.in @@ -6,7 +6,7 @@ # Copyright (c) 1994, Regents of the University of California # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.10 1998/10/19 00:00:46 tgl Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.11 1999/01/17 06:19:39 momjian Exp $ # #------------------------------------------------------------------------- @@ -44,7 +44,11 @@ endif OBJS = pgenv.o pgconnection.o pgtransdb.o pgcursordb.o pglobject.o +ifeq ($(PORTNAME), win) +SHLIB_LINK+= -L../libpq -lpq -lstdc++ +else SHLIB_LINK= -L../libpq -lpq +endif # Shared library stuff, also default 'all' target include $(SRCDIR)/Makefile.shlib @@ -87,6 +91,9 @@ beforeinstall-headers: clean: rm -f libpq++.a $(shlib) $(OBJS) $(MAKE) -C examples clean +ifeq ($(PORTNAME), win) + rm -f pq++.def +endif dep depend: $(CXX) -MM $(CXXFLAGS) *.cc >depend |
