Bump for 4.0-15
[LibreOffice.git] / extensions / WinResTarget_activex.mk
blob2279607d7832e7362502bbd48623d6a78af8a05d
1 # -*- Mode: makefile; 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 # The Initial Developer of the Original Code is
16 # Peter Foley <pefoley2@verizon.net>
17 # Portions created by the Initial Developer are Copyright (C) 2011 the
18 # Initial Developer. All Rights Reserved.
20 # Major Contributor(s):
22 # For minor contributions see the git repository.
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
26 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
27 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
28 # instead of those above.
31 $(eval $(call gb_WinResTarget_WinResTarget,activex_res))
33 $(eval $(call gb_WinResTarget_use_custom_headers,activex_res,\
34 extensions/source/activex/idl \
37 ifneq ($(PRODUCT),)
38 $(eval $(call gb_WinResTarget_add_defs,activex_res,\
39 -DPRODUCT \
41 endif
43 $(eval $(call gb_WinResTarget_set_rcfile,activex_res,extensions/source/activex/so_activex))
45 $(eval $(call gb_WinResTarget_add_defs,activex_res,\
46 $$(DEFS) \
47 -DSO_ACTIVEX_TLB_DIR=$(subst /,\\,$(subst $(SRCDIR),../../..,$(WORKDIR)/CustomTarget/extensions/source/activex/idl)) \
50 # vim:set shiftwidth=4 softtabstop=4 expandtab: