xref: /trunk/main/vcl/Module_vcl.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
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,vcl))
25cdf0e10cSrcweir
26cdf0e10cSrcweir$(eval $(call gb_Module_add_targets,vcl,\
27cdf0e10cSrcweir    Library_vcl \
28cdf0e10cSrcweir    StaticLibrary_vclmain \
29cdf0e10cSrcweir    Package_inc \
30cdf0e10cSrcweir    AllLangResTarget_vcl \
31cdf0e10cSrcweir))
32cdf0e10cSrcweir
33cdf0e10cSrcweirifeq ($(GUIBASE),unx)
34cdf0e10cSrcweir$(eval $(call gb_Module_add_targets,vcl,\
35cdf0e10cSrcweir    Library_vclplug_gen \
36cdf0e10cSrcweir    Library_vclplug_svp \
37cdf0e10cSrcweir    Library_desktop_detector \
38cdf0e10cSrcweir))
39cdf0e10cSrcweir
408274110dSKay Schenk
418274110dSKay Schenkifeq ($(ENABLE_GTK),TRUE)
42cdf0e10cSrcweir$(eval $(call gb_Module_add_targets,vcl,\
43cdf0e10cSrcweir    Library_vclplug_gtk \
44cdf0e10cSrcweir))
45cdf0e10cSrcweirendif
468274110dSKay Schenk
478274110dSKay Schenkifeq ($(ENABLE_KDE),TRUE)
48cdf0e10cSrcweir$(eval $(call gb_Module_add_targets,vcl,\
49cdf0e10cSrcweir    Library_vclplug_kde \
50cdf0e10cSrcweir))
51cdf0e10cSrcweirendif
528274110dSKay Schenkifeq ($(ENABLE_KDE4),TRUE)
53cdf0e10cSrcweir$(eval $(call gb_Module_add_targets,vcl,\
54cdf0e10cSrcweir    Library_vclplug_kde4 \
55cdf0e10cSrcweir))
56cdf0e10cSrcweirendif
57cdf0e10cSrcweirendif
58cdf0e10cSrcweir
59cdf0e10cSrcweirifeq ($(GUIBASE),aqua)
60cdf0e10cSrcweir$(eval $(call gb_Module_add_targets,vcl,\
61cdf0e10cSrcweir    Package_osx \
62cdf0e10cSrcweir))
63cdf0e10cSrcweirendif
64cdf0e10cSrcweir
65cdf0e10cSrcweirifeq ($(GUIBASE),WIN)
66cdf0e10cSrcweir$(eval $(call gb_Module_add_targets,vcl,\
67cdf0e10cSrcweir    WinResTarget_vcl \
68cdf0e10cSrcweir))
69cdf0e10cSrcweirendif
70cdf0e10cSrcweir
71fc9fd3f1SPedro Giffuniifeq ($(GUIBASE),os2)
72fc9fd3f1SPedro Giffuni$(eval $(call gb_Module_add_targets,vcl,\
73fc9fd3f1SPedro Giffuni    WinResTarget_vcl \
74fc9fd3f1SPedro Giffuni))
75fc9fd3f1SPedro Giffuniendif
76fc9fd3f1SPedro Giffuni
775c06146fSDamjan Jovanovicifneq ($(OOO_JUNIT_JAR),)
785c06146fSDamjan Jovanovic$(eval $(call gb_Module_add_subsequentcheck_targets,vcl,\
795c06146fSDamjan Jovanovic    JunitTest_vcl_complex_memCheck \
80*48d1b9e1SDamjan Jovanovic    JunitTest_vcl_complex_persistentWindowStates \
815c06146fSDamjan Jovanovic))
825c06146fSDamjan Jovanovicendif
835c06146fSDamjan Jovanovic
84cdf0e10cSrcweir# vim: set noet sw=4 ts=4:
85