2012-09-11 06:05:56 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
# This file is part of the LibreOffice project.
|
|
|
|
#
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
#
|
|
|
|
|
2013-02-07 18:17:22 -06:00
|
|
|
$(eval $(call gb_Library_Library,sn_tools))
|
2012-09-11 06:05:56 -05:00
|
|
|
|
2013-02-17 05:22:01 -06:00
|
|
|
$(eval $(call gb_Library_add_defs,sn_tools,\
|
|
|
|
-U_DLL \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_add_cxxflags,sn_tools,\
|
|
|
|
/MT \
|
|
|
|
))
|
|
|
|
|
2013-02-13 05:04:11 -06:00
|
|
|
$(eval $(call gb_Library_add_ldflags,sn_tools,\
|
|
|
|
/DEF:$(SRCDIR)/setup_native/source/win32/customactions/tools/sn_tools.def \
|
2013-02-17 05:22:01 -06:00
|
|
|
/NODEFAULTLIB \
|
2013-02-13 05:04:11 -06:00
|
|
|
))
|
|
|
|
|
2013-02-07 18:17:22 -06:00
|
|
|
$(eval $(call gb_Library_add_exception_objects,sn_tools,\
|
|
|
|
setup_native/source/win32/customactions/tools/checkversion \
|
|
|
|
))
|
2012-09-11 06:05:56 -05:00
|
|
|
|
2013-02-07 18:17:22 -06:00
|
|
|
$(eval $(call gb_Library_use_static_libraries,sn_tools,\
|
|
|
|
seterror \
|
|
|
|
))
|
2012-09-11 06:05:56 -05:00
|
|
|
|
2013-02-07 18:17:22 -06:00
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,sn_tools,\
|
2013-02-17 05:22:01 -06:00
|
|
|
libcmt \
|
|
|
|
libcpmt \
|
|
|
|
kernel32 \
|
|
|
|
msi \
|
|
|
|
advapi32 \
|
2013-02-07 18:17:22 -06:00
|
|
|
))
|
2012-09-11 06:05:56 -05:00
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|