summaryrefslogtreecommitdiff
path: root/vcl/Executable_ppmfuzzer.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-12 11:25:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-12 12:25:39 +0000
commit1c364b96d3923a0b48b6494d002da45cd0a1e270 (patch)
tree8700cd8ececf6c27f3295e6c4698c018f6219eb0 /vcl/Executable_ppmfuzzer.mk
parent5d98a54058322a39cd7028ddfd0b27c97c8248d5 (diff)
add ppm/pbm fuzzer
Change-Id: I6f403570abcf50be4cf11f20ea52bb2a07367b2a
Diffstat (limited to 'vcl/Executable_ppmfuzzer.mk')
-rw-r--r--vcl/Executable_ppmfuzzer.mk47
1 files changed, 47 insertions, 0 deletions
diff --git a/vcl/Executable_ppmfuzzer.mk b/vcl/Executable_ppmfuzzer.mk
new file mode 100644
index 000000000000..07b87a29d4c0
--- /dev/null
+++ b/vcl/Executable_ppmfuzzer.mk
@@ -0,0 +1,47 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+include $(SRCDIR)/vcl/commonfuzzer.mk
+
+$(eval $(call gb_Executable_Executable,ppmfuzzer))
+
+$(eval $(call gb_Executable_use_api,ppmfuzzer,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Executable_use_externals,ppmfuzzer,\
+ $(fuzzer_externals) \
+))
+
+$(eval $(call gb_Executable_set_include,ppmfuzzer,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/vcl/inc \
+))
+
+$(eval $(call gb_Executable_use_libraries,ppmfuzzer,\
+ $(fuzzer_libraries) \
+))
+
+$(eval $(call gb_Executable_use_static_libraries,ppmfuzzer,\
+ findsofficepath \
+ ulingu \
+ fuzzer \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,ppmfuzzer,\
+ vcl/workben/ppmfuzzer \
+))
+
+$(eval $(call gb_Executable_add_libs,ppmfuzzer,\
+ -lFuzzingEngine \
+))
+
+# vim: set noet sw=4 ts=4: