summaryrefslogtreecommitdiff
path: root/vcl/Executable_giffuzzer.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-03 18:41:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-05 23:23:58 +0000
commit6bd7451ecd66417a4e8b8dff3874c15ba4d1536e (patch)
tree27a0d311b4352927204de6edc4decbc1565b5144 /vcl/Executable_giffuzzer.mk
parent1b60db958f84c61066ea30e143a4f33423a657d9 (diff)
add gif fuzzer
Change-Id: I47dc449464cc7643d05b73e9612d01e50a8d4b8e
Diffstat (limited to 'vcl/Executable_giffuzzer.mk')
-rw-r--r--vcl/Executable_giffuzzer.mk47
1 files changed, 47 insertions, 0 deletions
diff --git a/vcl/Executable_giffuzzer.mk b/vcl/Executable_giffuzzer.mk
new file mode 100644
index 000000000000..132b445aab2b
--- /dev/null
+++ b/vcl/Executable_giffuzzer.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,giffuzzer))
+
+$(eval $(call gb_Executable_use_api,giffuzzer,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Executable_use_externals,giffuzzer,\
+ $(fuzzer_externals) \
+))
+
+$(eval $(call gb_Executable_set_include,giffuzzer,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/vcl/inc \
+))
+
+$(eval $(call gb_Executable_use_libraries,giffuzzer,\
+ $(fuzzer_libraries) \
+))
+
+$(eval $(call gb_Executable_use_static_libraries,giffuzzer,\
+ findsofficepath \
+ ulingu \
+ fuzzer \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,giffuzzer,\
+ vcl/workben/giffuzzer \
+))
+
+$(eval $(call gb_Executable_add_libs,giffuzzer,\
+ -lFuzzingEngine \
+))
+
+# vim: set noet sw=4 ts=4: