2012-02-20 02:49:39 -06:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2012-02-17 08:45:05 -06:00
|
|
|
#
|
2012-11-21 16:06:52 -06:00
|
|
|
# This file is part of the LibreOffice project.
|
2012-02-17 08:45:05 -06:00
|
|
|
#
|
2012-11-21 16:06:52 -06: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 08:45:05 -06:00
|
|
|
#
|
2012-11-21 16:06:52 -06:00
|
|
|
# This file incorporates work covered by the following license notice:
|
2012-02-17 08:45:05 -06:00
|
|
|
#
|
2012-11-21 16:06:52 -06: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 08:45:05 -06:00
|
|
|
#
|
|
|
|
|
2013-06-14 05:48:20 -05:00
|
|
|
$(eval $(call gb_Executable_Executable,gengal))
|
2012-02-17 08:45:05 -06:00
|
|
|
|
2013-06-14 05:48:20 -05:00
|
|
|
$(eval $(call gb_Executable_set_include,gengal,\
|
2012-02-17 08:45:05 -06:00
|
|
|
$$(INCLUDE) \
|
|
|
|
-I$(SRCDIR)/svx/inc/ \
|
|
|
|
-I$(SRCDIR)/svx/inc/pch \
|
|
|
|
))
|
|
|
|
|
2013-06-14 05:48:20 -05:00
|
|
|
$(eval $(call gb_Executable_use_external,gengal,boost_headers))
|
2013-01-26 14:19:13 -06:00
|
|
|
|
2013-06-14 05:48:20 -05:00
|
|
|
$(eval $(call gb_Executable_use_sdk_api,gengal))
|
2013-04-20 02:23:40 -05:00
|
|
|
|
2013-06-14 05:48:20 -05:00
|
|
|
$(eval $(call gb_Executable_use_libraries,gengal,\
|
2013-03-03 13:36:34 -06:00
|
|
|
basegfx \
|
2012-02-17 08:45:05 -06:00
|
|
|
sal \
|
|
|
|
tl \
|
|
|
|
svl \
|
2013-03-03 13:36:34 -06:00
|
|
|
svt \
|
2012-02-17 08:45:05 -06:00
|
|
|
comphelper \
|
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
2013-03-03 13:36:34 -06:00
|
|
|
utl \
|
2012-02-17 08:45:05 -06:00
|
|
|
vcl \
|
|
|
|
svxcore \
|
2012-09-26 16:45:28 -05:00
|
|
|
$(gb_UWINAPI) \
|
2012-02-17 08:45:05 -06:00
|
|
|
))
|
|
|
|
|
2013-06-14 05:48:20 -05:00
|
|
|
$(eval $(call gb_Executable_add_exception_objects,gengal,\
|
2012-02-17 08:45:05 -06:00
|
|
|
svx/source/gengal/gengal \
|
|
|
|
))
|
|
|
|
|
2013-06-14 05:48:20 -05:00
|
|
|
$(eval $(call gb_Executable_use_static_libraries,gengal,\
|
2012-02-17 08:45:05 -06:00
|
|
|
vclmain \
|
|
|
|
))
|
|
|
|
|
|
|
|
ifeq ($(OS),WNT)
|
2013-06-14 05:48:20 -05:00
|
|
|
$(eval $(call gb_Executable_use_system_win32_libs,gengal,\
|
2012-09-28 08:31:46 -05:00
|
|
|
kernel32 \
|
|
|
|
msvcrt \
|
|
|
|
oldnames \
|
|
|
|
user32 \
|
2012-02-17 08:45:05 -06:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(OS),LINUX)
|
2013-06-14 05:48:20 -05:00
|
|
|
$(eval $(call gb_Executable_add_libs,gengal,\
|
2012-09-27 17:54:49 -05:00
|
|
|
-ldl \
|
|
|
|
-lpthread \
|
2012-02-17 08:45:05 -06:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|