1# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3# This file is part of the LibreOffice project.
4#
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/.
8#
9
10$(eval $(call gb_CppunitTest_CppunitTest,dbaccess_dialog_save))
11
12$(eval $(call gb_CppunitTest_add_exception_objects,dbaccess_dialog_save, \
13    dbaccess/qa/extras/dialog-save \
14))
15
16$(eval $(call gb_CppunitTest_use_externals,dbaccess_dialog_save,\
17    boost_headers \
18))
19
20$(eval $(call gb_CppunitTest_use_libraries,dbaccess_dialog_save, \
21    basegfx \
22    comphelper \
23    cppu \
24    cppuhelper \
25    dba \
26    dbu \
27    sdbt \
28    drawinglayer \
29    editeng \
30    for \
31    forui \
32    i18nlangtag \
33    msfilter \
34    oox \
35    sal \
36    salhelper \
37    sax \
38    sb \
39    sfx \
40    sot \
41    svl \
42    svt \
43    svx \
44    svxcore \
45    test \
46    subsequenttest \
47    tl \
48    tk \
49    ucbhelper \
50	unotest \
51    utl \
52    vbahelper \
53    vcl \
54    xo \
55))
56
57$(eval $(call gb_CppunitTest_use_api,dbaccess_dialog_save,\
58    offapi \
59    oovbaapi \
60    udkapi \
61))
62
63$(eval $(call gb_CppunitTest_use_ure,dbaccess_dialog_save))
64$(eval $(call gb_CppunitTest_use_vcl,dbaccess_dialog_save))
65
66$(eval $(call gb_CppunitTest_use_components,dbaccess_dialog_save,\
67    basic/util/sb \
68    comphelper/util/comphelp \
69    configmgr/source/configmgr \
70    dbaccess/util/dba \
71    dbaccess/util/dbu \
72    dbaccess/util/sdbt \
73    dbaccess/source/filter/xml/dbaxml \
74    filter/source/config/cache/filterconfig1 \
75    forms/util/frm \
76    framework/util/fwk \
77    i18npool/util/i18npool \
78    linguistic/source/lng \
79    oox/util/oox \
80    package/source/xstor/xstor \
81    package/util/package2 \
82    sax/source/expatwrap/expwrap \
83    scripting/source/basprov/basprov \
84    scripting/util/scriptframe \
85    sfx2/util/sfx \
86    sot/util/sot \
87    svl/source/fsstor/fsstorage \
88    svl/util/svl \
89    toolkit/util/tk \
90    ucb/source/core/ucb1 \
91    ucb/source/ucp/file/ucpfile1 \
92    ucb/source/ucp/tdoc/ucptdoc1 \
93    unotools/util/utl \
94    unoxml/source/rdf/unordf \
95    unoxml/source/service/unoxml \
96    uui/util/uui \
97    xmloff/util/xo \
98))
99
100$(eval $(call gb_CppunitTest_use_configuration,dbaccess_dialog_save))
101
102$(call gb_CppunitTest_get_target,dbaccess_dialog_save) : $(WORKDIR)/CppunitTest/testDialogSave.odb
103$(WORKDIR)/CppunitTest/testDialogSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb
104	mkdir -p $(dir $@)
105	cp -P -f "$<" "$@"
106.PHONY: $(WORKDIR)/CppunitTest/testDialogSave.odb
107
108# vim: set noet sw=4 ts=4:
109