Missing #endif
[LibreOffice.git] / canvas / Library_directx5canvas.mk
blob028f017245895ffafb34159387376d50061a2ed1
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # Copyright 2000, 2011 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,directx5canvas))
31 $(eval $(call gb_Library_set_componentfile,directx5canvas,canvas/source/directx/directx5canvas))
33 $(eval $(call gb_Library_set_include,directx5canvas,\
34 $$(INCLUDE) \
35 -I$(SRCDIR)/canvas/inc \
36 -I$(SRCDIR)/canvas/inc/pch \
37 -I$(SRCDIR)/canvas/source/directx \
40 $(eval $(call gb_Library_add_api,directx5canvas,\
41 offapi \
42 udkapi \
44 $(eval $(call gb_Library_add_defs,directx5canvas,\
45 -DDIRECTX_VERSION=0x0500 \
48 $(eval $(call gb_Library_add_linked_libs,directx5canvas,\
49 cppu \
50 tk \
51 sal \
52 comphelper \
53 cppuhelper \
54 basegfx \
55 canvastools \
56 vcl \
57 tl \
58 utl \
59 i18nisolang1 \
60 $(gb_STDLIBS) \
63 ifeq ($(OS),WNT)
64 $(eval $(call gb_Library_add_linked_libs,directx5canvas,\
65 d3dx \
66 gdi32 \
67 gdiplus \
68 ddraw \
70 endif
72 $(WORKDIR)/CustomTarget/canvas/source/directx/%.cxx : $(SRCDIR)/canvas/source/directx/%.cxx
73 mkdir -p $(dir $@) && \
74 cp $< $@
76 $(eval $(call gb_Library_add_generated_exception_objects,directx5canvas,\
77 CustomTarget/canvas/source/directx/dx_5rm \
78 CustomTarget/canvas/source/directx/dx_bitmap \
79 CustomTarget/canvas/source/directx/dx_bitmapcanvashelper \
80 CustomTarget/canvas/source/directx/dx_canvasbitmap \
81 CustomTarget/canvas/source/directx/dx_canvascustomsprite \
82 CustomTarget/canvas/source/directx/dx_canvasfont \
83 CustomTarget/canvas/source/directx/dx_canvashelper \
84 CustomTarget/canvas/source/directx/dx_canvashelper_texturefill \
85 CustomTarget/canvas/source/directx/dx_config \
86 CustomTarget/canvas/source/directx/dx_devicehelper \
87 CustomTarget/canvas/source/directx/dx_gdiplususer \
88 CustomTarget/canvas/source/directx/dx_impltools \
89 CustomTarget/canvas/source/directx/dx_linepolypolygon \
90 CustomTarget/canvas/source/directx/dx_spritecanvas \
91 CustomTarget/canvas/source/directx/dx_spritecanvashelper \
92 CustomTarget/canvas/source/directx/dx_spritedevicehelper \
93 CustomTarget/canvas/source/directx/dx_spritehelper \
94 CustomTarget/canvas/source/directx/dx_surfacebitmap \
95 CustomTarget/canvas/source/directx/dx_surfacegraphics \
96 CustomTarget/canvas/source/directx/dx_textlayout \
97 CustomTarget/canvas/source/directx/dx_textlayout_drawhelper \
98 CustomTarget/canvas/source/directx/dx_vcltools \
101 # vim: set noet sw=4 ts=4: