Branch libreoffice-5-0-4
[LibreOffice.git] / embedserv / Library_inprocserv.mk
blob8a153f849d9810d61feeecdf433f6b0e6553ac32
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 $(eval $(call gb_Library_Library,inprocserv))
13 $(eval $(call gb_Library_set_include,inprocserv,\
14 -I$(SRCDIR)/embedserv/source/inc \
15 $$(INCLUDE) \
18 $(eval $(call gb_Library_use_system_win32_libs,inprocserv,\
19 gdi32 \
20 ole32 \
21 uuid \
24 $(eval $(call gb_Library_use_libraries,inprocserv,\
25 $(gb_UWINAPI) \
28 ifeq ($(COM),MSC)
29 $(eval $(call gb_Library_add_ldflags,inprocserv,\
30 /EXPORT:DllCanUnloadNow \
31 /EXPORT:DllGetClassObject \
32 /EXPORT:DllMain \
33 /EXPORT:DllRegisterServer \
34 /EXPORT:DllUnregisterServer \
36 endif
38 $(eval $(call gb_Library_add_exception_objects,inprocserv,\
39 embedserv/source/inprocserv/advisesink \
40 embedserv/source/inprocserv/dllentry \
41 embedserv/source/inprocserv/inprocembobj \
44 # vim: set noet sw=4 ts=4: