blob: b23e3273ccc2c6b991ba46d2370733748bf062ae [file] [log] [blame]
Caolán McNamara0f6d5632017-01-12 10:49:50 +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 McNamara0f6d5632017-01-12 10:49:50 +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,dxffuzzer))
14
15$(eval $(call gb_Executable_use_api,dxffuzzer,\
16 offapi \
17 udkapi \
18))
19
20$(eval $(call gb_Executable_use_externals,dxffuzzer,\
21 $(fuzzer_externals) \
22))
23
24$(eval $(call gb_Executable_set_include,dxffuzzer,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/vcl/inc \
27))
28
29$(eval $(call gb_Executable_use_libraries,dxffuzzer,\
Caolán McNamara06bd2ca2017-06-10 20:56:36 +000030 $(fuzzer_core_libraries) \
Caolán McNamara0f6d5632017-01-12 10:49:50 +000031))
32
33$(eval $(call gb_Executable_use_static_libraries,dxffuzzer,\
Jan-Marek Glogowskic70271c2021-12-25 12:11:15 +010034 $(fuzzer_statics) \
Caolán McNamara0f6d5632017-01-12 10:49:50 +000035))
36
37$(eval $(call gb_Executable_add_exception_objects,dxffuzzer,\
38 vcl/workben/dxffuzzer \
39))
40
41$(eval $(call gb_Executable_add_libs,dxffuzzer,\
Andrzej Hunt44b36a02021-02-27 14:21:56 +010042 $(LIB_FUZZING_ENGINE) \
Caolán McNamara0f6d5632017-01-12 10:49:50 +000043))
44
45# vim: set noet sw=4 ts=4: