2012-02-20 10:49:39 +02:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2012-02-17 15:45:05 +01:00
|
|
|
#
|
2012-11-21 22:06:52 +00:00
|
|
|
# This file is part of the LibreOffice project.
|
2012-02-17 15:45:05 +01:00
|
|
|
#
|
2012-11-21 22:06:52 +00:00
|
|
|
# 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/.
|
2012-02-17 15:45:05 +01:00
|
|
|
#
|
2012-11-21 22:06:52 +00:00
|
|
|
# This file incorporates work covered by the following license notice:
|
2012-02-17 15:45:05 +01:00
|
|
|
#
|
2012-11-21 22:06:52 +00:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed
|
|
|
|
# with this work for additional information regarding copyright
|
|
|
|
# ownership. The ASF licenses this file to you under the Apache
|
|
|
|
# License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
2012-02-17 15:45:05 +01:00
|
|
|
#
|
|
|
|
|
2013-06-14 12:48:20 +02:00
|
|
|
$(eval $(call gb_Executable_Executable,gengal))
|
2012-02-17 15:45:05 +01:00
|
|
|
|
2013-06-14 12:48:20 +02:00
|
|
|
$(eval $(call gb_Executable_set_include,gengal,\
|
2012-02-17 15:45:05 +01:00
|
|
|
$$(INCLUDE) \
|
|
|
|
-I$(SRCDIR)/svx/inc/ \
|
|
|
|
-I$(SRCDIR)/svx/inc/pch \
|
|
|
|
))
|
|
|
|
|
2013-06-14 12:48:20 +02:00
|
|
|
$(eval $(call gb_Executable_use_external,gengal,boost_headers))
|
2013-01-26 21:19:13 +01:00
|
|
|
|
2013-06-14 12:48:20 +02:00
|
|
|
$(eval $(call gb_Executable_use_sdk_api,gengal))
|
2013-04-20 09:23:40 +02:00
|
|
|
|
2013-06-14 12:48:20 +02:00
|
|
|
$(eval $(call gb_Executable_use_libraries,gengal,\
|
2013-03-03 14:36:34 -05:00
|
|
|
basegfx \
|
2012-02-17 15:45:05 +01:00
|
|
|
sal \
|
|
|
|
tl \
|
|
|
|
svl \
|
2013-03-03 14:36:34 -05:00
|
|
|
svt \
|
2012-02-17 15:45:05 +01:00
|
|
|
comphelper \
|
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
2013-03-03 14:36:34 -05:00
|
|
|
utl \
|
2012-02-17 15:45:05 +01:00
|
|
|
vcl \
|
|
|
|
svxcore \
|
2012-09-26 23:45:28 +02:00
|
|
|
$(gb_UWINAPI) \
|
2012-02-17 15:45:05 +01:00
|
|
|
))
|
|
|
|
|
2013-06-14 12:48:20 +02:00
|
|
|
$(eval $(call gb_Executable_add_exception_objects,gengal,\
|
2012-02-17 15:45:05 +01:00
|
|
|
svx/source/gengal/gengal \
|
|
|
|
))
|
|
|
|
|
2013-06-14 12:48:20 +02:00
|
|
|
$(eval $(call gb_Executable_use_static_libraries,gengal,\
|
2012-02-17 15:45:05 +01:00
|
|
|
vclmain \
|
|
|
|
))
|
|
|
|
|
|
|
|
ifeq ($(OS),WNT)
|
2013-06-14 12:48:20 +02:00
|
|
|
$(eval $(call gb_Executable_use_system_win32_libs,gengal,\
|
2012-09-28 15:31:46 +02:00
|
|
|
kernel32 \
|
|
|
|
msvcrt \
|
|
|
|
oldnames \
|
|
|
|
user32 \
|
2012-02-17 15:45:05 +01:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2014-12-22 19:10:59 +01:00
|
|
|
ifeq ($(ENABLE_HEADLESS),TRUE)
|
|
|
|
$(eval $(call gb_Executable_add_libs,gengal,\
|
2015-09-15 15:58:51 +02:00
|
|
|
$(DLOPEN_LIBS) \
|
2014-12-22 19:10:59 +01:00
|
|
|
-lpthread \
|
|
|
|
))
|
|
|
|
else
|
2015-09-15 15:58:51 +02:00
|
|
|
ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
|
2013-06-14 12:48:20 +02:00
|
|
|
$(eval $(call gb_Executable_add_libs,gengal,\
|
2015-09-15 15:58:51 +02:00
|
|
|
$(DLOPEN_LIBS) \
|
2012-09-28 00:54:49 +02:00
|
|
|
-lpthread \
|
2014-11-21 12:45:51 +01:00
|
|
|
-lX11 \
|
|
|
|
))
|
|
|
|
|
2016-12-07 22:47:57 +02:00
|
|
|
ifeq ($(USING_X11),TRUE)
|
2014-11-21 12:45:51 +01:00
|
|
|
$(eval $(call gb_Executable_use_static_libraries,gengal,\
|
|
|
|
glxtest \
|
2012-02-17 15:45:05 +01:00
|
|
|
))
|
|
|
|
endif
|
2014-12-22 19:10:59 +01:00
|
|
|
endif
|
2016-12-07 22:47:57 +02:00
|
|
|
endif
|
2012-02-17 15:45:05 +01:00
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|