| Caolán McNamara | fc59087 | 2017-11-09 09:00:33 +0000 | [diff] [blame] | 1 | # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- |
| 2 | # |
| 3 | # |
| Michael Meeks | d037b81 | 2026-03-26 15:06:16 +0000 | [diff] [blame] | 4 | # This file is part of the Collabora Office project. |
| Caolán McNamara | fc59087 | 2017-11-09 09:00:33 +0000 | [diff] [blame] | 5 | # |
| 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 | |
| 11 | include $(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 Glogowski | c70271c | 2021-12-25 12:11:15 +0100 | [diff] [blame] | 35 | $(fuzzer_statics) \ |
| Caolán McNamara | fc59087 | 2017-11-09 09:00:33 +0000 | [diff] [blame] | 36 | )) |
| 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 Hunt | 44b36a0 | 2021-02-27 14:21:56 +0100 | [diff] [blame] | 43 | $(LIB_FUZZING_ENGINE) \ |
| Caolán McNamara | fc59087 | 2017-11-09 09:00:33 +0000 | [diff] [blame] | 44 | )) |
| 45 | |
| 46 | # vim: set noet sw=4 ts=4: |