dont attach, start own instance as otherwise it might be blocked via/proc/sys/kernel...
[LibreOffice.git] / automation / Library_sts.mk
blobeb21f5dfd89b18c6faf73ae9543d7469a9f9ae13
1 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
3 # The contents of this file are subject to the Mozilla Public License Version
4 # 1.1 (the "License"); you may not use this file except in compliance with
5 # the License or as specified alternatively below. You may obtain a copy of
6 # the License at http://www.mozilla.org/MPL/
8 # Software distributed under the License is distributed on an "AS IS" basis,
9 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10 # for the specific language governing rights and limitations under the
11 # License.
13 # Major Contributor(s):
14 # Copyright (C) 2011 David Tardon, Red Hat Inc. <dtardon@redhat.com> (initial developer)
16 # All Rights Reserved.
18 # For minor contributions see the git repository.
20 # Alternatively, the contents of this file may be used under the terms of
21 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
22 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
23 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
24 # instead of those above.
26 $(eval $(call gb_Library_Library,sts))
28 $(eval $(call gb_Library_add_precompiled_header,sts,automation/inc/pch/precompiled_automation.hxx))
30 $(eval $(call gb_Library_set_include,sts,\
31 $$(INCLUDE) \
32 -I$(WORKDIR)/CustomTarget/automation/source/testtool \
33 -I$(SRCDIR)/automation/inc/pch \
34 -I$(SRCDIR)/automation/source/inc \
35 -I$(SRCDIR)/automation/inc \
38 $(eval $(call gb_Library_add_api,sts,\
39 offapi \
40 udkapi \
43 $(eval $(call gb_Library_add_defs,sts,\
44 -DSTS_DLLIMPLEMENTATION \
47 $(eval $(call gb_Library_add_linked_libs,sts,\
48 communi \
49 comphelper \
50 cppu \
51 cppuhelper \
52 sal \
53 sb \
54 simplecm \
55 sot \
56 svl \
57 svt \
58 tl \
59 utl \
60 vcl \
61 $(if $(findstring WNT,$(GUI)),\
62 advapi32 \
63 gdi32 \
64 ) \
67 $(eval $(call gb_Library_add_exception_objects,sts,\
68 automation/source/server/XMLParser \
69 automation/source/server/profiler \
70 automation/source/server/recorder \
71 automation/source/server/server \
72 automation/source/server/sta_list \
75 $(eval $(call gb_Library_add_noexception_objects,sts,\
76 automation/source/server/cmdbasestream \
77 automation/source/server/editwin \
78 automation/source/server/retstrm \
79 automation/source/server/scmdstrm \
80 automation/source/server/svcommstream \
83 $(eval $(call gb_Library_add_cxxobjects,sts,\
84 automation/source/server/statemnt \
85 ,$(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
88 ifeq ($(OS),SOLARIS)
90 $(eval $(call gb_Library_add_noexception_objects,sts,\
91 automation/source/server/prof_usl \
94 else
96 $(eval $(call gb_Library_add_noexception_objects,sts,\
97 automation/source/server/prof_nul \
100 endif
102 # vim: set ts=4 sw=4 et: