Module_smoketest.mk 1.09 KB
Newer Older
1 2 3
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
#
4
# This file is part of the LibreOffice project.
5
#
6 7 8
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 10 11 12 13 14 15
#

$(eval $(call gb_Module_Module,smoketest))

ifeq ($(CROSS_COMPILING),)

$(eval $(call gb_Module_add_targets,smoketest,\
16
	Library_smoketest \
17 18 19
	Zip_smoketestdoc \
))

20
ifneq ($(ENABLE_JAVA),)
21
ifneq ($(filter EXTENSIONS,$(BUILD_TYPE)),)
22
$(eval $(call gb_Module_add_targets,smoketest,\
David Tardon's avatar
David Tardon committed
23
	Extension_TestExtension \
24 25 26
	Jar_TestExtension \
))
endif
27
endif
28

29
ifneq ($(filter LINUX WNT,$(OS)),)
30
$(eval $(call gb_Module_add_check_targets,smoketest,\
31
	Executable_libtest \
32
))
33
endif
34

35
ifneq (MACOSX/TRUE,$(OS)/$(ENABLE_MACOSX_SANDBOX))
36
ifneq ($(filter EXTENSIONS,$(BUILD_TYPE)),)
37 38 39
$(eval $(call gb_Module_add_subsequentcheck_targets,smoketest,\
	CppunitTest_smoketest \
))
40
endif
41
endif
42 43 44

endif

45
ifneq ($(ENABLE_JAVA),)
46 47 48 49 50
$(eval $(call gb_Module_add_targets,smoketest,\
	Jar_smoketest \
))
endif

51
# vim: set noet sw=4 ts=4: