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
), \
23 $(eval
$(call gb_Library_add_defs
,uwinapi
,\
24 $(if
$(filter $(COM
),GCC
), \
25 -Wno-unused-parameter
-Wno-return-type
) \
29 $(eval
$(call gb_Library_add_cobjects
,uwinapi
,\
30 sal
/systools
/win32
/uwinapi
/snprintf \
31 sal
/systools
/win32
/uwinapi
/snwprintf \
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 \
48 # vim: set noet sw=4 ts=4: