blob: 83aa65d80036131c1dceff12064eb9cbb13fca27 [file] [log] [blame]
Caolán McNamara324af622017-11-29 10:44:09 +00001# -*- 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
11include $(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 Bergmann0bf41a32018-08-09 12:29:20 +000032 pdffilter \
Caolán McNamara324af622017-11-29 10:44:09 +000033))
34
35$(eval $(call gb_Executable_use_static_libraries,pptxfuzzer,\
Jan-Marek Glogowskic70271c2021-12-25 12:11:15 +010036 $(fuzzer_statics) \
Caolán McNamara324af622017-11-29 10:44:09 +000037 fuzzer_draw \
Caolán McNamara324af622017-11-29 10:44:09 +000038))
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 Hunt44b36a02021-02-27 14:21:56 +010045 $(LIB_FUZZING_ENGINE) \
Caolán McNamara324af622017-11-29 10:44:09 +000046))
47
48# vim: set noet sw=4 ts=4: