Unbreak windows build
[LibreOffice.git] / scripting / Library_protocolhandler.mk
blobef908ca1ff4242face05aced9c8c94810044d7a7
1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Initial Developer of the Original Code is
15 # Matúš Kukan <matus.kukan@gmail.com>
16 # Portions created by the Initial Developer are Copyright (C) 2011 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 $(eval $(call gb_Library_Library,protocolhandler))
31 $(eval $(call gb_Library_add_precompiled_header,protocolhandler,$(SRCDIR)/scripting/inc/pch/precompiled_scripting))
33 $(eval $(call gb_Library_set_componentfile,protocolhandler,scripting/source/protocolhandler/protocolhandler))
35 $(eval $(call gb_Library_set_include,protocolhandler,\
36 $$(INCLUDE) \
37 -I$(realpath $(SRCDIR)/scripting/inc/pch) \
38 -I$(realpath $(SRCDIR)/scripting/source/inc) \
41 $(eval $(call gb_Library_add_api,protocolhandler,\
42 offapi \
43 udkapi \
46 $(eval $(call gb_Library_add_linked_libs,protocolhandler,\
47 cppu \
48 cppuhelper \
49 fwe \
50 sal \
51 sfx \
52 vcl \
53 $(gb_STDLIBS) \
56 $(eval $(call gb_Library_add_exception_objects,protocolhandler,\
57 scripting/source/protocolhandler/scripthandler \
60 # vim: set noet sw=4 ts=4: