summaryrefslogtreecommitdiff
path: root/vcl/Executable_tiffuzzer.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-22 11:11:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-22 16:35:48 +0000
commit6a141837a7bc75a7ef4a7827256be5a3a0a6092d (patch)
tree01a43522a09e25d93c79e8385d8029b892ae9601 /vcl/Executable_tiffuzzer.mk
parent76c085c9888ee3cd96940ab558cbd1dd83d6b774 (diff)
add tif fuzzer
Change-Id: I4f7c73b85c34bfdf88536ed40b288392e7e21368
Diffstat (limited to 'vcl/Executable_tiffuzzer.mk')
-rw-r--r--vcl/Executable_tiffuzzer.mk47
1 files changed, 47 insertions, 0 deletions
diff --git a/vcl/Executable_tiffuzzer.mk b/vcl/Executable_tiffuzzer.mk
new file mode 100644
index 000000000000..91ebb96b2947
--- /dev/null
+++ b/vcl/Executable_tiffuzzer.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,tiffuzzer))
+
+$(eval $(call gb_Executable_use_api,tiffuzzer,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Executable_use_externals,tiffuzzer,\
+ $(fuzzer_externals) \
+))
+
+$(eval $(call gb_Executable_set_include,tiffuzzer,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/vcl/inc \
+))
+
+$(eval $(call gb_Executable_use_libraries,tiffuzzer,\
+ $(fuzzer_libraries) \
+))
+
+$(eval $(call gb_Executable_use_static_libraries,tiffuzzer,\
+ findsofficepath \
+ ulingu \
+ fuzzer \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,tiffuzzer,\
+ vcl/workben/tiffuzzer \
+))
+
+$(eval $(call gb_Executable_add_libs,tiffuzzer,\
+ -lFuzzingEngine \
+))
+
+# vim: set noet sw=4 ts=4: