diff options
Diffstat (limited to 'vcl/Executable_mtfparser.mk')
-rw-r--r-- | vcl/Executable_mtfparser.mk | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/vcl/Executable_mtfparser.mk b/vcl/Executable_mtfparser.mk new file mode 100644 index 000000000000..c0f27729c99d --- /dev/null +++ b/vcl/Executable_mtfparser.mk @@ -0,0 +1,59 @@ +# -*- 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,mtfparser)) + +$(eval $(call gb_Executable_use_api,mtfparser,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Executable_use_external,mtfparser,boost_headers)) + +$(eval $(call gb_Executable_set_include,mtfparser,\ + $$(INCLUDE) \ + -I$(SRCDIR)/vcl/inc \ + -I$(SRCDIR)/solenv/inc \ +)) + +$(eval $(call gb_Executable_use_libraries,mtfparser,\ + basegfx \ + tl \ + sal \ + vcl \ + cppu \ + cppuhelper \ + comphelper \ +)) + +$(eval $(call gb_Executable_add_exception_objects,mtfparser,\ + vcl/workben/mtfparser \ +)) + +$(eval $(call gb_Executable_use_static_libraries,mtfparser,\ + vclmain \ +)) + +ifeq ($(OS),LINUX) +$(eval $(call gb_Executable_add_libs,mtfparser,\ + -lm \ + -ldl \ + -lpthread \ + -lGL \ + -lGLU \ + -lX11 \ +)) + +$(eval $(call gb_Executable_use_static_libraries,mtfparser,\ + glxtest \ +)) +endif + +# vim: set noet sw=4 ts=4: |