diff options
author | Eike Rathke <erack@apache.org> | 2011-08-28 14:46:31 +0000 |
---|---|---|
committer | Eike Rathke <erack@apache.org> | 2011-08-28 14:46:31 +0000 |
commit | cc756d24d3f34c4ac402ee88ed3e25e3934ec8bc (patch) | |
tree | b5ca7212727b21e999c0a54352b69487da3d2702 /writerperfect | |
parent | 1a5baf5ce78676385d35209eb311ed2a35cdf063 (diff) |
make copylefts an option
Based on original work by Mathias Bauer <mbauer@apache.org>
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/filter/makefile.mk | 7 | ||||
-rw-r--r-- | writerperfect/source/stream/makefile.mk | 7 | ||||
-rw-r--r-- | writerperfect/source/wpdimp/makefile.mk | 7 | ||||
-rw-r--r-- | writerperfect/util/makefile.mk | 7 |
4 files changed, 28 insertions, 0 deletions
diff --git a/writerperfect/source/filter/makefile.mk b/writerperfect/source/filter/makefile.mk index e535d2aebbe0..3288ca17d3ed 100644 --- a/writerperfect/source/filter/makefile.mk +++ b/writerperfect/source/filter/makefile.mk @@ -6,6 +6,8 @@ ENABLE_EXCEPTIONS=true .INCLUDE : settings.mk +.IF "$(DISABLE_LIBWPD)" == "" + .IF "$(SYSTEM_LIBWPD)" == "YES" INCPRE+=$(LIBWPD_CFLAGS) -I.. .ELSE @@ -25,3 +27,8 @@ SLOFILES= \ $(SLO)$/DocumentCollector.obj .INCLUDE : target.mk + +.ELSE +all: + @echo "libwpd disabled" +.ENDIF diff --git a/writerperfect/source/stream/makefile.mk b/writerperfect/source/stream/makefile.mk index 7e684b71bdb1..2b2658d04d22 100644 --- a/writerperfect/source/stream/makefile.mk +++ b/writerperfect/source/stream/makefile.mk @@ -6,6 +6,8 @@ ENABLE_EXCEPTIONS=true .INCLUDE : settings.mk +.IF "$(DISABLE_LIBWPD)" == "" + .IF "$(SYSTEM_LIBWPD)" == "YES" INCPRE+=$(LIBWPD_CFLAGS) .ENDIF @@ -16,3 +18,8 @@ INCPRE+= -I.. SLOFILES= $(SLO)$/WPXSvStream.obj .INCLUDE : target.mk + +.ELSE +all: + @echo "libwpd disabled" +.ENDIF diff --git a/writerperfect/source/wpdimp/makefile.mk b/writerperfect/source/wpdimp/makefile.mk index bc2a3cda544b..763e698d8774 100644 --- a/writerperfect/source/wpdimp/makefile.mk +++ b/writerperfect/source/wpdimp/makefile.mk @@ -6,6 +6,8 @@ ENABLE_EXCEPTIONS=true .INCLUDE : settings.mk +.IF "$(DISABLE_LIBWPD)" == "" + .IF "$(SYSTEM_LIBWPD)" == "YES" INCPRE+=$(LIBWPD_CFLAGS) -I.. .ELSE @@ -19,3 +21,8 @@ SLOFILES= \ $(SLO)$/wpft_genericfilter.obj .INCLUDE : target.mk + +.ELSE +all: + @echo "libwpd disabled" +.ENDIF diff --git a/writerperfect/util/makefile.mk b/writerperfect/util/makefile.mk index ae8cf0b73641..239c09ba45d6 100644 --- a/writerperfect/util/makefile.mk +++ b/writerperfect/util/makefile.mk @@ -4,6 +4,8 @@ TARGET=writerperfect .INCLUDE : settings.mk +.IF "$(DISABLE_LIBWPD)" == "" + .IF "$(GUI)"=="UNX" .IF "$(SYSTEM_LIBWPD)" == "YES" LIBWPD=$(LIBWPD_LIBS) @@ -51,3 +53,8 @@ $(MISC)/wpft.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ $(XSLTPROC) --nonet --stringparam uri \ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ $(SOLARENV)/bin/createcomponent.xslt wpft.component + +.ELSE +all: + @echo "libwpd disabled" +.ENDIF |