blob: a7db5e3e5367cbe982d4ee732eaf8d6d3aac4dec [file] [log] [blame]
Caolán McNamarafc590872017-11-09 09:00:33 +00001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3#
Michael Meeksd037b812026-03-26 15:06:16 +00004# This file is part of the Collabora Office project.
Caolán McNamarafc590872017-11-09 09:00:33 +00005#
6# This Source Code Form is subject to the terms of the Mozilla Public
7# License, v. 2.0. If a copy of the MPL was not distributed with this
8# file, You can obtain one at http://mozilla.org/MPL/2.0/.
9#
10
11include $(SRCDIR)/vcl/commonfuzzer.mk
12
13$(eval $(call gb_Executable_Executable,diffuzzer))
14
15$(eval $(call gb_Executable_use_api,diffuzzer,\
16 offapi \
17 udkapi \
18))
19
20$(eval $(call gb_Executable_use_externals,diffuzzer,\
21 $(fuzzer_externals) \
22))
23
24$(eval $(call gb_Executable_set_include,diffuzzer,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/vcl/inc \
27))
28
29$(eval $(call gb_Executable_use_libraries,diffuzzer,\
30 $(fuzzer_calc_libraries) \
31 $(fuzzer_core_libraries) \
32))
33
34$(eval $(call gb_Executable_use_static_libraries,diffuzzer,\
Jan-Marek Glogowskic70271c2021-12-25 12:11:15 +010035 $(fuzzer_statics) \
Caolán McNamarafc590872017-11-09 09:00:33 +000036))
37
38$(eval $(call gb_Executable_add_exception_objects,diffuzzer,\
39 vcl/workben/diffuzzer \
40))
41
42$(eval $(call gb_Executable_add_libs,diffuzzer,\
Andrzej Hunt44b36a02021-02-27 14:21:56 +010043 $(LIB_FUZZING_ENGINE) \
Caolán McNamarafc590872017-11-09 09:00:33 +000044))
45
46# vim: set noet sw=4 ts=4: