blob: 829aa64a29874de0b6d073296ca1e209875192bb [file] [log] [blame]
Caolán McNamara74043932017-11-06 15:30:24 +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 McNamara74043932017-11-06 15:30:24 +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,wksfuzzer))
14
15$(eval $(call gb_Executable_use_api,wksfuzzer,\
16 offapi \
17 udkapi \
18))
19
20$(eval $(call gb_Executable_use_externals,wksfuzzer,\
21 $(fuzzer_externals) \
22))
23
24$(eval $(call gb_Executable_set_include,wksfuzzer,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/vcl/inc \
27))
28
29$(eval $(call gb_Executable_use_libraries,wksfuzzer,\
30 $(fuzzer_calc_libraries) \
31 $(fuzzer_core_libraries) \
Stephan Bergmann0bf41a32018-08-09 12:29:20 +000032 pdffilter \
Caolán McNamara74043932017-11-06 15:30:24 +000033))
34
35$(eval $(call gb_Executable_use_static_libraries,wksfuzzer,\
Jan-Marek Glogowskic70271c2021-12-25 12:11:15 +010036 $(fuzzer_statics) \
Caolán McNamara74043932017-11-06 15:30:24 +000037 fuzzer_calc \
Caolán McNamara74043932017-11-06 15:30:24 +000038))
39
40$(eval $(call gb_Executable_add_exception_objects,wksfuzzer,\
41 vcl/workben/wksfuzzer \
42))
43
44$(eval $(call gb_Executable_add_libs,wksfuzzer,\
Andrzej Hunt44b36a02021-02-27 14:21:56 +010045 $(LIB_FUZZING_ENGINE) \
Caolán McNamara74043932017-11-06 15:30:24 +000046))
47
48# vim: set noet sw=4 ts=4: