Files
loongoffice/vcl/Executable_icontest.mk
Tor Lillqvist 2f10386ce5 Use gb_Executable_use_system_win32_libs for MinGW's sake
Change-Id: I9a8ead19e6caa33d7941f11d0d9b5a1ad98ed661
2014-10-10 14:51:46 +03:00

64 lines
1.2 KiB
Makefile

# -*- 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/.
#
$(eval $(call gb_Executable_Executable,icontest))
$(eval $(call gb_Executable_use_externals,icontest,\
boost_headers \
glew \
glm_headers \
mesa_headers \
))
$(eval $(call gb_Executable_use_api,icontest,\
offapi \
udkapi \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Executable_add_libs,icontest,\
-lGL \
))
else ifeq ($(OS),WNT)
$(eval $(call gb_Executable_use_system_win32_libs,icontest,\
opengl32 \
))
else ifeq ($(OS),MACOSX)
$(eval $(call gb_Executable_add_libs,icontest,\
-framework OpenGL \
))
endif
$(eval $(call gb_Executable_use_static_libraries,icontest,\
vclmain \
))
$(eval $(call gb_Executable_use_libraries,icontest,\
comphelper \
cppu \
cppuhelper \
sal \
tl \
ucbhelper \
vcl \
vclopengl \
))
$(eval $(call gb_Executable_add_exception_objects,icontest,\
vcl/workben/icontest \
))
# vim: set noet sw=4 ts=4: