Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / embedserv / Library_emser.mk
blob25d265bfa0465b89e7e8633b5c9cc08f7fc4a8de
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License or as specified alternatively below. You may obtain a copy of
8 # the License at http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # Major Contributor(s):
16 # Copyright (C) 2012 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval $(call gb_Library_Library,emser))
30 $(eval $(call gb_Library_set_componentfile,emser,embedserv/util/emser))
32 $(eval $(call gb_Library_set_include,emser,\
33 -I$(SRCDIR)/embedserv/source/inc \
34 -I$(ATL_INCLUDE) \
35 $$(INCLUDE) \
38 $(eval $(call gb_Library_add_defs,emser,\
39 -UNOMINMAX \
42 $(eval $(call gb_Library_use_sdk_api,emser))
44 $(eval $(call gb_Library_use_libraries,emser,\
45 comphelper \
46 cppu \
47 cppuhelper \
48 sal \
49 $(gb_UWINAPI) \
52 $(eval $(call gb_Library_use_system_win32_libs,emser,\
53 gdi32 \
54 ole32 \
55 oleaut32 \
56 uuid \
59 ifeq ($(USE_DEBUG_RUNTIME),)
60 $(eval $(call gb_Library_add_libs,emser,\
61 $(ATL_LIB)/atls.lib \
63 else
64 $(eval $(call gb_Library_add_libs,emser,\
65 $(ATL_LIB)/atlsd.lib \
67 endif
69 $(eval $(call gb_Library_add_ldflags,emser,\
70 -LIBPATH:$(ATL_LIB) \
73 $(eval $(call gb_Library_add_exception_objects,emser,\
74 embedserv/source/embed/docholder \
75 embedserv/source/embed/ed_idataobj \
76 embedserv/source/embed/ed_iinplace \
77 embedserv/source/embed/ed_ioleobject \
78 embedserv/source/embed/ed_ipersiststr \
79 embedserv/source/embed/esdll \
80 embedserv/source/embed/guid \
81 embedserv/source/embed/iipaobj \
82 embedserv/source/embed/intercept \
83 embedserv/source/embed/register \
84 embedserv/source/embed/servprov \
85 embedserv/source/embed/syswinwrapper \
86 embedserv/source/embed/tracker \
89 # vim: set noet sw=4 ts=4: