diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-11-17 03:18:49 -0600 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-17 21:15:33 +0100 |
commit | ab91d708e1d30c2ed253495a531cd82c77a42e58 (patch) | |
tree | 254e473ab4c72d037aaae43f5edfdd3c13bfb884 /connectivity/source | |
parent | d526c3f5ea404ef0923b16ce0aad662b03ba15ac (diff) |
make postgresql-sdbc connectivity optional
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/postgresql/makefile.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk index 43b4d5df438d..8c8c022f3444 100644 --- a/connectivity/source/drivers/postgresql/makefile.mk +++ b/connectivity/source/drivers/postgresql/makefile.mk @@ -36,6 +36,9 @@ NO_DEFAULT_STL=TRUE # --- Settings ----------------------------------------------------- .INCLUDE : settings.mk + +.IF "$(BUILD_POSTGRESQL_SDBC)" == "YES" + .IF "$(SYSTEM_POSTGRESQL)" != "YES" .INCLUDE : $(SOLARINCDIR)$/postgresql/postgresql-version.mk .ENDIF @@ -145,6 +148,8 @@ SLOFILES= $(LIB1OBJFILES) $(LIB2OBJFILES) DRIVERNAME=postgresql-sdbc-$(PQ_SDBC_VERSION).oxt ALLTAR : $(DLLDEST)$/$(DRIVERNAME) +.ENDIF # BUILD_POSTGRESQL_SDBC + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk |