|
@@ -17,15 +17,15 @@ endif
|
|
ifneq ($(PGCFG),)
|
|
ifneq ($(PGCFG),)
|
|
# use autodetection
|
|
# use autodetection
|
|
DEFS += -I$(shell $(PGCFG) --includedir)
|
|
DEFS += -I$(shell $(PGCFG) --includedir)
|
|
- LIBS = -L$(shell $(PGCFG) --libdir) -lpq
|
|
|
|
|
|
+ LIBS += -L$(shell $(PGCFG) --libdir) -lpq
|
|
else
|
|
else
|
|
# use standard know paths
|
|
# use standard know paths
|
|
# libpq-fe.h locations
|
|
# libpq-fe.h locations
|
|
DEFS +=-I$(LOCALBASE)/include -I$(LOCALBASE)/pgsql/include \
|
|
DEFS +=-I$(LOCALBASE)/include -I$(LOCALBASE)/pgsql/include \
|
|
- -I$(SYSBASE)/include/pgsql -I$(SYSBASE)/include/postgresql \
|
|
|
|
- -I$(SYSBASE)/include/postgresql/8.0
|
|
|
|
- LIBS=-L$(LOCALBASE)/lib -L$(LOCALBASE)/pgsql/lib -L$(LOCALBASE)/lib/pgsql \
|
|
|
|
- -L /usr/lib -lpq
|
|
|
|
|
|
+ -I$(SYSBASE)/include/pgsql -I$(SYSBASE)/include/postgresql \
|
|
|
|
+ -I$(SYSBASE)/include/postgresql/8.0
|
|
|
|
+ LIBS +=-L$(LOCALBASE)/lib -L$(LOCALBASE)/pgsql/lib \
|
|
|
|
+ -L$(LOCALBASE)/lib/pgsql -lpq
|
|
endif
|
|
endif
|
|
|
|
|
|
#DEFS += -DPG_TEST
|
|
#DEFS += -DPG_TEST
|