Module_canvas.mk 1.53 KB
Newer Older
1
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2
#
3
# This file is part of the LibreOffice project.
4
#
5 6 7
# 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/.
8
#
9
# This file incorporates work covered by the following license notice:
10
#
11 12 13 14 15 16 17
#   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 .
18 19 20 21 22
#

$(eval $(call gb_Module_Module,canvas))

$(eval $(call gb_Module_add_targets,canvas,\
23
	Library_canvasfactory \
24 25 26
	Library_canvastools \
	Library_simplecanvas \
	Library_vclcanvas \
27 28
	$(if $(filter DESKTOP,$(BUILD_TYPE)), \
		$(if $(DISABLE_GUI),,Executable_canvasdemo)) \
29
))
30

31 32 33 34 35 36
ifeq ($(ENABLE_CAIRO_CANVAS),TRUE)
$(eval $(call gb_Module_add_targets,canvas,\
	Library_cairocanvas \
))
endif

37
ifeq ($(ENABLE_OPENGL_CANVAS),TRUE)
38 39
$(eval $(call gb_Module_add_targets,canvas,\
	Library_oglcanvas \
40
	Package_opengl \
41 42 43
))
endif

44
ifeq ($(OS),WNT)
45 46 47
$(eval $(call gb_Module_add_targets,canvas,\
	Library_directx9canvas \
	Library_gdipluscanvas \
48
	StaticLibrary_directxcanvas \
49 50 51 52
))
endif

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