1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_Executable_Executable
,libtest
))
12 $(eval
$(call gb_Executable_set_include
,libtest
,\
16 $(eval
$(call gb_Executable_use_libraries
,libtest
,\
21 $(eval
$(call gb_Executable_add_libs
,libtest
,\
27 $(eval
$(call gb_Executable_add_exception_objects
,libtest
,\
31 liblibreoffice_OWN_LD_PATH_DIR
:= $(INSTROOT
)/program
/libolib
32 liblibreoffice_OWN_LD_SO
:= $(liblibreoffice_OWN_LD_PATH_DIR
)/$(call gb_Library__get_workdir_linktargetname
,libreoffice
)
34 $(liblibreoffice_OWN_LD_SO
) : $(call gb_Library_get_target
,libreoffice
)
35 mkdir
-p
$(liblibreoffice_OWN_LD_PATH_DIR
)/Library
36 cp
-a
$(call gb_Library_get_target
,libreoffice
) $(liblibreoffice_OWN_LD_SO
)
38 run_libtest
: $(liblibreoffice_OWN_LD_SO
)
39 $(gb_Helper_LIBRARY_PATH_VAR
)=$${$(gb_Helper_LIBRARY_PATH_VAR
):+$$$(gb_Helper_LIBRARY_PATH_VAR
):}":$(liblibreoffice_OWN_LD_PATH_DIR)/Library" \
40 $(WORKDIR
)/LinkTarget
/Executable
/libtest \
41 $(INSTROOT
)/program
$(WORKDIR
)/Zip
/smoketestdoc.sxw \
43 # vim: set noet sw=4 ts=4: