diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-21 13:50:30 +0000 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-11-06 12:05:31 +0100 |
commit | 9335945c7cb215f387ed1444e28533fac437c6e8 (patch) | |
tree | d4bdbf17d4272f9d4ee32d57275883f79ad200b8 /vcl/Library_vclplug_kf5.mk | |
parent | f69be03d72fbaa535adc8b06475d2806283b79ab (diff) |
KF5 initial VCL plugin
Something that compiles, basically just interface stubs.
All used Svp classes don't use any cairo.
Change-Id: I9a8858c930989438cc2a3f3346c01a7abc579d62
Diffstat (limited to 'vcl/Library_vclplug_kf5.mk')
-rw-r--r-- | vcl/Library_vclplug_kf5.mk | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/vcl/Library_vclplug_kf5.mk b/vcl/Library_vclplug_kf5.mk new file mode 100644 index 000000000000..9e993b2edb9d --- /dev/null +++ b/vcl/Library_vclplug_kf5.mk @@ -0,0 +1,94 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.apache.org/licenses/LICENSE-2.0 . +# + +$(eval $(call gb_Library_Library,vclplug_kf5)) + +$(eval $(call gb_Library_set_warnings_not_errors,vclplug_kf5)) + +$(eval $(call gb_Library_use_custom_headers,vclplug_kf5,vcl/unx/kf5)) + +$(eval $(call gb_Library_set_include,vclplug_kf5,\ + $$(INCLUDE) \ + -I$(SRCDIR)/vcl/inc \ +)) + +$(eval $(call gb_Library_add_defs,vclplug_kf5,\ + -DVCLPLUG_KF5_IMPLEMENTATION \ +)) + +$(eval $(call gb_Library_use_sdk_api,vclplug_kf5)) + +$(eval $(call gb_Library_use_libraries,vclplug_kf5,\ + vclplug_gen \ + vcl \ + tl \ + utl \ + sot \ + ucbhelper \ + basegfx \ + comphelper \ + cppuhelper \ + i18nlangtag \ + i18nutil \ + $(if $(ENABLE_JAVA), \ + jvmaccess) \ + cppu \ + sal \ +)) + +$(eval $(call gb_Library_use_externals,vclplug_kf5,\ + boost_headers \ + icuuc \ + kf5 \ + epoxy \ +)) + +ifneq ($(KF5_HAVE_GLIB),) +$(eval $(call gb_Library_add_defs,vclplug_kf5,\ + $(KF5_GLIB_CFLAGS) \ +)) + +$(eval $(call gb_Library_add_libs,vclplug_kf5,\ + $(KF5_GLIB_LIBS) \ +)) +endif + +$(eval $(call gb_Library_add_exception_objects,vclplug_kf5,\ + vcl/unx/kf5/Kf5Data \ + vcl/unx/kf5/Kf5Frame \ + vcl/unx/kf5/Kf5Graphics \ + vcl/unx/kf5/Kf5Graphics_Controls \ + vcl/unx/kf5/Kf5Graphics_GDI \ + vcl/unx/kf5/Kf5Graphics_Text \ + vcl/unx/kf5/Kf5Instance \ + vcl/unx/kf5/Kf5Instance_Print \ + vcl/unx/kf5/Kf5Printer \ + vcl/unx/kf5/Kf5Timer \ + vcl/unx/kf5/Kf5VirtualDevice \ +)) + +ifeq ($(OS),LINUX) +$(eval $(call gb_Library_add_libs,vclplug_kf5,\ + -lm \ + -ldl \ + -lpthread \ +)) +endif + +# vim: set noet sw=4 ts=4: |