diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-02-28 00:29:14 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-02-28 00:38:49 +0200 |
commit | 9fb0ad21f467f6e8960e3559337f8ebdfa206ff9 (patch) | |
tree | 1ca788b1f9279659d67cb56f13428e6b1f6f06d4 /writerperfect/Module_writerperfect.mk | |
parent | libvisio depends on the LGPL libwpd and libwpg so bypass on iOS then (diff) | |
download | core-9fb0ad21f467f6e8960e3559337f8ebdfa206ff9.tar.gz core-9fb0ad21f467f6e8960e3559337f8ebdfa206ff9.zip |
writerperfect depends on libwp[dgs], libcdr and libvisio
Don't try to build libraries that depend on libraries we don't have.
Diffstat (limited to 'writerperfect/Module_writerperfect.mk')
-rw-r--r-- | writerperfect/Module_writerperfect.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/writerperfect/Module_writerperfect.mk b/writerperfect/Module_writerperfect.mk index 4b2faadbc854..dc2039c8f604 100644 --- a/writerperfect/Module_writerperfect.mk +++ b/writerperfect/Module_writerperfect.mk @@ -28,13 +28,42 @@ $(eval $(call gb_Module_Module,writerperfect)) +ifneq (,$(filter YES,$(SYSTEM_LIBCDR))$(filter LIBCDR,$(BUILD_TYPE))) $(eval $(call gb_Module_add_targets,writerperfect,\ Library_cdrimport \ +)) +endif + +ifneq (,$(filter YES,$(SYSTEM_LIBWPD))$(filter LIBWPD,$(BUILD_TYPE))) +ifneq (,$(filter YES,$(SYSTEM_LIBWPS))$(filter LIBWPS,$(BUILD_TYPE))) +$(eval $(call gb_Module_add_targets,writerperfect,\ Library_msworks \ +)) +endif +endif + +ifneq (,$(filter YES,$(SYSTEM_LIBVISIO))$(filter LIBVISIO,$(BUILD_TYPE))) +$(eval $(call gb_Module_add_targets,writerperfect,\ Library_visioimport \ +)) +endif + +ifneq (,$(filter YES,$(SYSTEM_LIBWPD))$(filter LIBWPD,$(BUILD_TYPE))) +$(eval $(call gb_Module_add_targets,writerperfect,\ Library_wpft \ +)) +endif + +ifneq (,$(filter YES,$(SYSTEM_LIBWPG))$(filter LIBWPG,$(BUILD_TYPE))) +$(eval $(call gb_Module_add_targets,writerperfect,\ Library_wpgimport \ +)) +endif + +ifneq (,$(filter YES,$(SYSTEM_LIBWPD))$(filter LIBWPD,$(BUILD_TYPE))) +$(eval $(call gb_Module_add_targets,writerperfect,\ StaticLibrary_writerperfect \ )) +endif # vim: set noet sw=4 ts=4: |