Branch libreoffice-5-0-4
[LibreOffice.git] / odk / Library_unowinreg.mk
blobd2a20f88a64fef088ca4b3e42e854c15a612e23b
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,unowinreg))
12 ifeq ($(COM),GCC)
13 $(eval $(call gb_Library_add_libs,unowinreg,\
14 -lstdc++ \
15 -lgcc_eh \
16 -lgcc \
17 -lmingw32 \
18 -lmoldname \
19 -lmsvcrt \
21 else
22 $(eval $(call gb_Library_add_ldflags,unowinreg,\
23 /DEF:$(SRCDIR)/odk/source/unowinreg/win/unowinreg.def \
24 /MANIFEST:NO \
26 endif
28 $(eval $(call gb_Library_add_exception_objects,unowinreg,\
29 odk/source/unowinreg/win/unowinreg \
32 $(eval $(call gb_Library_use_system_win32_libs,unowinreg,\
33 kernel32 \
34 advapi32 \
37 # vim: set noet sw=4 ts=4: