adapt hwpfilter unittests to separate RdbTarget makefile requirement
[LibreOffice.git] / automation / Package_testtool.mk
blobb2f007623018cd965e4fc2c8e032b8d6b502487d
1 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
3 # The contents of this file are subject to the Mozilla Public License Version
4 # 1.1 (the "License"); you may not use this file except in compliance with
5 # the License or as specified alternatively below. You may obtain a copy of
6 # the License at http://www.mozilla.org/MPL/
8 # Software distributed under the License is distributed on an "AS IS" basis,
9 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10 # for the specific language governing rights and limitations under the
11 # License.
13 # Major Contributor(s):
14 # Copyright (C) 2011 David Tardon, Red Hat Inc. <dtardon@redhat.com> (initial developer)
16 # All Rights Reserved.
18 # For minor contributions see the git repository.
20 # Alternatively, the contents of this file may be used under the terms of
21 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
22 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
23 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
24 # instead of those above.
26 $(eval $(call gb_Package_Package,automation_testtool,$(WORKDIR)/CustomTarget/automation/source/testtool))
28 $(eval $(call gb_Package_add_file,automation_testtool,bin/classes,classes))
29 $(eval $(call gb_Package_add_file,automation_testtool,bin/keycodes,keycodes))
30 $(eval $(call gb_Package_add_file,automation_testtool,bin/res_type,res_type))
32 ifeq ($(GUI),UNX)
34 $(eval $(call gb_Package_add_file,automation_testtool,bin/testtoolrc,testtool.ini))
36 else ifeq ($(GUI),WNT)
38 $(eval $(call gb_Package_add_file,automation_testtool,bin/testtool.ini,testtool.ini))
40 endif
42 $(eval $(call gb_Package_add_customtarget,automation_testtool,automation/source/testtool,SRCDIR))
44 $(eval $(call gb_CustomTarget_add_dependencies,automation/source/testtool,\
45 automation/source/inc/rcontrol.hxx \
46 automation/source/testtool/filter.pl \
47 automation/source/testtool/testtool.ini \
50 $(eval $(call gb_CustomTarget_add_outdir_dependencies,automation/source/testtool,\
51 $(OUTDIR)/inc/tools/wintypes.hxx \
52 $(OUTDIR)/inc/vcl/keycodes.hxx \
55 # vim: set ts=4 sw=4 et: