xref: /trunk/main/sfx2/Module_sfx2.mk (revision 7ec8d7e07607c1f76ad1a8f6bd5af5fbd325d81e)
17871dc3eSAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
19cdf0e10cSrcweir#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir$(eval $(call gb_Module_Module,sfx2))
25cdf0e10cSrcweir
26cdf0e10cSrcweir$(eval $(call gb_Module_add_targets,sfx2,\
27cdf0e10cSrcweir    AllLangResTarget_sfx2 \
28cdf0e10cSrcweir    Library_sfx \
29cdf0e10cSrcweir    Package_inc \
30cdf0e10cSrcweir    Package_sdi \
31cdf0e10cSrcweir))
32cdf0e10cSrcweir
33828da808SPedro Giffuniifeq ($(WITH_CPPUNIT),YES)
34cdf0e10cSrcweir$(eval $(call gb_Module_add_check_targets,sfx2,\
35cdf0e10cSrcweir    CppunitTest_sfx2_metadatable \
36cdf0e10cSrcweir))
37828da808SPedro Giffuniendif
38cdf0e10cSrcweir
39cdf0e10cSrcweir$(eval $(call gb_Module_add_subsequentcheck_targets,sfx2,\
40cdf0e10cSrcweir    JunitTest_sfx2_complex \
41cdf0e10cSrcweir    JunitTest_sfx2_unoapi \
42cdf0e10cSrcweir))
43cdf0e10cSrcweir
44*7ec8d7e0SPedro Giffuniifeq ($(OS),FREEBSD)
45*7ec8d7e0SPedro Giffuniifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
46*7ec8d7e0SPedro Giffuni$(eval $(call gb_Module_add_targets,sfx2,\
47*7ec8d7e0SPedro Giffuni    Library_qstart \
48*7ec8d7e0SPedro Giffuni))
49*7ec8d7e0SPedro Giffuniendif
50*7ec8d7e0SPedro Giffuniendif
51*7ec8d7e0SPedro Giffuni
52*7ec8d7e0SPedro Giffuniifeq ($(OS),Linux)
53cdf0e10cSrcweirifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
54cdf0e10cSrcweir$(eval $(call gb_Module_add_targets,sfx2,\
55cdf0e10cSrcweir    Library_qstart \
56cdf0e10cSrcweir))
57cdf0e10cSrcweirendif
58cdf0e10cSrcweirendif
59cdf0e10cSrcweir
60cdf0e10cSrcweir#todo: source/dialog BUILD_VER_STRING
61cdf0e10cSrcweir#todo: source/doc SYSTEM_LIBXML2
62cdf0e10cSrcweir#todo: ENABLE_LAYOUT
63cdf0e10cSrcweir#todo: clean up quickstarter stuff in both libraries
64cdf0e10cSrcweir#todo: move standard pool to svl
65cdf0e10cSrcweir
66cdf0e10cSrcweir# vim: set noet sw=4 ts=4:
67