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
,\
20 $(eval
$(call gb_Executable_use_static_libraries
,libtest
,\
24 $(eval
$(call gb_Executable_add_libs
,libtest
,\
29 $(eval
$(call gb_Executable_add_exception_objects
,libtest
,\
33 liblibreoffice_OWN_LD_PATH_DIR
:= $(INSTROOT
)/program
/libolib
34 liblibreoffice_OWN_LD_SO
:= $(liblibreoffice_OWN_LD_PATH_DIR
)/$(call gb_Library__get_workdir_linktargetname
,libreoffice
)
36 $(liblibreoffice_OWN_LD_SO
) : $(call gb_Library_get_target
,libreoffice
)
37 mkdir
-p
$(liblibreoffice_OWN_LD_PATH_DIR
)/Library
38 cp
-a
$(call gb_Library_get_target
,libreoffice
) $(liblibreoffice_OWN_LD_SO
)
40 run_libtest
: $(liblibreoffice_OWN_LD_SO
)
41 $(gb_Helper_LIBRARY_PATH_VAR
)=$${$(gb_Helper_LIBRARY_PATH_VAR
):+$$$(gb_Helper_LIBRARY_PATH_VAR
):}":$(liblibreoffice_OWN_LD_PATH_DIR)/Library" \
42 $(WORKDIR
)/LinkTarget
/Executable
/libtest \
43 $(INSTROOT
)/program
$(WORKDIR
)/Zip
/smoketestdoc.sxw \
45 # vim: set noet sw=4 ts=4: