| Caolán McNamara | 324af62 | 2017-11-29 10:44:09 +0000 | [diff] [blame] | 1 | # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- |
| 2 | # |
| 3 | # |
| 4 | # This file is part of the LibreOffice project. |
| 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,pptxfuzzer)) |
| 14 | |
| 15 | $(eval $(call gb_Executable_use_api,pptxfuzzer,\ |
| 16 | offapi \ |
| 17 | udkapi \ |
| 18 | )) |
| 19 | |
| 20 | $(eval $(call gb_Executable_use_externals,pptxfuzzer,\ |
| 21 | $(fuzzer_externals) \ |
| 22 | )) |
| 23 | |
| 24 | $(eval $(call gb_Executable_set_include,pptxfuzzer,\ |
| 25 | $$(INCLUDE) \ |
| 26 | -I$(SRCDIR)/vcl/inc \ |
| 27 | )) |
| 28 | |
| 29 | $(eval $(call gb_Executable_use_libraries,pptxfuzzer,\ |
| 30 | $(fuzzer_draw_libraries) \ |
| 31 | $(fuzzer_core_libraries) \ |
| Stephan Bergmann | 0bf41a3 | 2018-08-09 12:29:20 +0000 | [diff] [blame] | 32 | pdffilter \ |
| Caolán McNamara | 324af62 | 2017-11-29 10:44:09 +0000 | [diff] [blame] | 33 | )) |
| 34 | |
| 35 | $(eval $(call gb_Executable_use_static_libraries,pptxfuzzer,\ |
| Jan-Marek Glogowski | c70271c | 2021-12-25 12:11:15 +0100 | [diff] [blame] | 36 | $(fuzzer_statics) \ |
| Caolán McNamara | 324af62 | 2017-11-29 10:44:09 +0000 | [diff] [blame] | 37 | fuzzer_draw \ |
| Caolán McNamara | 324af62 | 2017-11-29 10:44:09 +0000 | [diff] [blame] | 38 | )) |
| 39 | |
| 40 | $(eval $(call gb_Executable_add_exception_objects,pptxfuzzer,\ |
| 41 | vcl/workben/pptxfuzzer \ |
| 42 | )) |
| 43 | |
| 44 | $(eval $(call gb_Executable_add_libs,pptxfuzzer,\ |
| Andrzej Hunt | 44b36a0 | 2021-02-27 14:21:56 +0100 | [diff] [blame] | 45 | $(LIB_FUZZING_ENGINE) \ |
| Caolán McNamara | 324af62 | 2017-11-29 10:44:09 +0000 | [diff] [blame] | 46 | )) |
| 47 | |
| 48 | # vim: set noet sw=4 ts=4: |