xref: /aoo41x/main/vcl/Module_vcl.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 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
29$(eval $(call gb_Module_Module,vcl))
30
31$(eval $(call gb_Module_add_targets,vcl,\
32	Library_vcl \
33    StaticLibrary_vclmain \
34	Package_inc \
35    AllLangResTarget_vcl \
36))
37
38ifeq ($(GUIBASE),unx)
39$(eval $(call gb_Module_add_targets,vcl,\
40	Library_vclplug_gen \
41	Library_vclplug_svp \
42    Library_desktop_detector \
43))
44
45ifneq ($(ENABLE_GTK),)
46$(eval $(call gb_Module_add_targets,vcl,\
47	Library_vclplug_gtk \
48))
49endif
50ifneq ($(ENABLE_KDE),)
51$(eval $(call gb_Module_add_targets,vcl,\
52	Library_vclplug_kde \
53))
54endif
55ifneq ($(ENABLE_KDE4),)
56$(eval $(call gb_Module_add_targets,vcl,\
57	Library_vclplug_kde4 \
58))
59endif
60endif
61
62ifeq ($(GUIBASE),aqua)
63$(eval $(call gb_Module_add_targets,vcl,\
64    Package_osx \
65))
66endif
67
68ifeq ($(GUIBASE),WIN)
69$(eval $(call gb_Module_add_targets,vcl,\
70    WinResTarget_vcl \
71))
72endif
73
74# vim: set noet sw=4 ts=4:
75