bump product version to 5.0.4.1
[LibreOffice.git] / sal / Library_uwinapi.mk
blob089ab59ee825e1102166ccf3a09af21374c4abdf
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,uwinapi))
13 $(eval $(call gb_Library_use_system_win32_libs,uwinapi,\
14 $(if $(filter $(COM),MSC), \
15 kernel32 \
16 msvcrt \
17 shlwapi \
18 user32 \
19 version \
20 ) \
23 $(eval $(call gb_Library_add_defs,uwinapi,\
24 $(if $(filter $(COM),GCC), \
25 -Wno-unused-parameter -Wno-return-type) \
26 $(LFS_CFLAGS) \
29 $(eval $(call gb_Library_add_cobjects,uwinapi,\
30 sal/systools/win32/uwinapi/snprintf \
31 sal/systools/win32/uwinapi/snwprintf \
34 ifeq ($(COM),MSC)
37 $(eval $(call gb_Library_add_cobjects,uwinapi,\
38 sal/systools/win32/uwinapi/legacy \
41 $(eval $(call gb_Library_add_ldflags,uwinapi,\
42 /DEF:$(SRCDIR)/sal/systools/win32/uwinapi/uwinapi.def \
45 endif
48 # vim: set noet sw=4 ts=4: