# -*- 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/.
#

$(eval $(call gb_Module_Module,libreofficekit))

ifeq ($(OS),LINUX)

$(eval $(call gb_Module_add_targets,libreofficekit,\
    StaticLibrary_libreofficekit \
))

ifeq ($(MERGELIBS),)
$(eval $(call gb_Module_add_check_targets,libreofficekit,\
    CppunitTest_libreofficekit_tiledrendering \
))
endif

ifneq ($(ENABLE_GTK),)
$(eval $(call gb_Module_add_targets,libreofficekit,\
    Library_libreofficekitgtk \
    Executable_gtktiledviewer \
))
endif # ($(ENABLE_GTK),)

endif # ($(OS),LINUX)

# vim: set ts=4 sw=4 et:

# -*- 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/.
#

$(eval $(call gb_Module_Module,libreofficekit))

ifeq ($(OS),LINUX)

$(eval $(call gb_Module_add_targets,libreofficekit,\
    StaticLibrary_libreofficekit \
))

$(eval $(call gb_Module_add_check_targets,libreofficekit,\
    CppunitTest_libreofficekit_tiledrendering \
))

ifneq ($(ENABLE_GTK),)
$(eval $(call gb_Module_add_targets,libreofficekit,\
    Library_libreofficekitgtk \
    Executable_gtktiledviewer \
))
endif # ($(ENABLE_GTK),)

endif # ($(OS),LINUX)

# vim: set ts=4 sw=4 et:

Revert "libreofficekit does not work with libmerged"
Revert "libreofficekit does not work with libmerged"

Instead, we need to make sure it works with libmerged too :-)

This reverts commit 4e9d8ca44a246653894559f10bf88effba366b10.
