| Caolán McNamara | 6c3f27c | 2023-04-27 20:13:37 +0100 | [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,fodt2pdffuzzer)) |
| 14 | |
| 15 | $(eval $(call gb_Executable_use_api,fodt2pdffuzzer,\ |
| 16 | offapi \ |
| 17 | udkapi \ |
| 18 | )) |
| 19 | |
| 20 | $(eval $(call gb_Executable_use_externals,fodt2pdffuzzer,\ |
| 21 | $(fuzzer_externals) \ |
| 22 | epubgen \ |
| 23 | revenge \ |
| 24 | )) |
| 25 | |
| 26 | $(eval $(call gb_Executable_set_include,fodt2pdffuzzer,\ |
| 27 | $$(INCLUDE) \ |
| 28 | -I$(SRCDIR)/vcl/inc \ |
| 29 | )) |
| 30 | |
| 31 | $(eval $(call gb_Executable_use_libraries,fodt2pdffuzzer,\ |
| 32 | $(fuzzer_writer_libraries) \ |
| 33 | $(fuzzer_core_libraries) \ |
| 34 | pdffilter \ |
| 35 | )) |
| 36 | |
| 37 | $(eval $(call gb_Executable_use_static_libraries,fodt2pdffuzzer,\ |
| 38 | $(fuzzer_statics) \ |
| 39 | fuzzer_writer \ |
| 40 | )) |
| 41 | |
| 42 | $(eval $(call gb_Executable_add_exception_objects,fodt2pdffuzzer,\ |
| 43 | vcl/workben/fodt2pdffuzzer \ |
| 44 | )) |
| 45 | |
| 46 | $(eval $(call gb_Executable_add_libs,fodt2pdffuzzer,\ |
| 47 | $(LIB_FUZZING_ENGINE) \ |
| 48 | )) |
| 49 | |
| 50 | # vim: set noet sw=4 ts=4: |