Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / padmin / Executable_spadmin.bin.mk
blobaf674ea30f76b3f78a4441a074e30ac9da5a4328
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Executable_Executable,spadmin.bin))
22 $(eval $(call gb_Executable_set_include,spadmin.bin,\
23 $$(INCLUDE) \
26 $(eval $(call gb_Executable_use_static_libraries,spadmin.bin,\
27 vclmain \
30 $(eval $(call gb_Executable_use_sdk_api,spadmin.bin))
32 $(eval $(call gb_Executable_use_libraries,spadmin.bin,\
33 spa \
34 svt \
35 vcl \
36 utl \
37 ucbhelper \
38 comphelper \
39 tl \
40 cppuhelper \
41 cppu \
42 sal \
43 $(gb_UWINAPI) \
46 $(eval $(call gb_Executable_add_exception_objects,spadmin.bin,\
47 padmin/source/desktopcontext \
48 padmin/source/pamain \
51 ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
52 $(eval $(call gb_Executable_add_libs,spadmin.bin,\
53 -lpthread \
55 endif
57 ifeq ($(OS),LINUX)
58 $(eval $(call gb_Executable_add_libs,spadmin.bin,\
59 -ldl \
61 endif
63 # vim: set noet sw=4 ts=4: