xref: /aoo42x/main/sfx2/Module_sfx2.mk (revision 7ec8d7e0)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Module_Module,sfx2))
25
26$(eval $(call gb_Module_add_targets,sfx2,\
27	AllLangResTarget_sfx2 \
28	Library_sfx \
29	Package_inc \
30	Package_sdi \
31))
32
33ifeq ($(WITH_CPPUNIT),YES)
34$(eval $(call gb_Module_add_check_targets,sfx2,\
35	CppunitTest_sfx2_metadatable \
36))
37endif
38
39$(eval $(call gb_Module_add_subsequentcheck_targets,sfx2,\
40	JunitTest_sfx2_complex \
41	JunitTest_sfx2_unoapi \
42))
43
44ifeq ($(OS),FREEBSD)
45ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
46$(eval $(call gb_Module_add_targets,sfx2,\
47	Library_qstart \
48))
49endif
50endif
51
52ifeq ($(OS),Linux)
53ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
54$(eval $(call gb_Module_add_targets,sfx2,\
55	Library_qstart \
56))
57endif
58endif
59
60#todo: source/dialog BUILD_VER_STRING
61#todo: source/doc SYSTEM_LIBXML2
62#todo: ENABLE_LAYOUT
63#todo: clean up quickstarter stuff in both libraries
64#todo: move standard pool to svl
65
66# vim: set noet sw=4 ts=4:
67