xref: /aoo41x/main/sfx2/Module_sfx2.mk (revision 828da808)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2011 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28$(eval $(call gb_Module_Module,sfx2))
29
30$(eval $(call gb_Module_add_targets,sfx2,\
31	AllLangResTarget_sfx2 \
32	Library_sfx \
33	Package_inc \
34	Package_sdi \
35))
36
37ifeq ($(WITH_CPPUNIT),YES)
38$(eval $(call gb_Module_add_check_targets,sfx2,\
39	CppunitTest_sfx2_metadatable \
40))
41endif
42
43$(eval $(call gb_Module_add_subsequentcheck_targets,sfx2,\
44	JunitTest_sfx2_complex \
45	JunitTest_sfx2_unoapi \
46))
47
48ifeq ($(OS),LINUX)
49ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
50$(eval $(call gb_Module_add_targets,sfx2,\
51	Library_qstart \
52))
53endif
54endif
55
56#todo: source/dialog BUILD_VER_STRING
57#todo: source/doc SYSTEM_LIBXML2
58#todo: ENABLE_LAYOUT
59#todo: clean up quickstarter stuff in both libraries
60#todo: move standard pool to svl
61
62# vim: set noet sw=4 ts=4:
63