summaryrefslogtreecommitdiff
path: root/vcl/Executable_qpwfuzzer.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-02 11:29:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-06-03 16:03:23 +0100
commite9ca7bc9134075979eab37f10c64c518438f7592 (patch)
tree04f482d402af19fc77b36b9782e9b6039c530d3a /vcl/Executable_qpwfuzzer.mk
parent77d1e0c49adea959dd418de9b6cf9901e01be3ae (diff)
add quattro pro fuzzer
Change-Id: Ic9ba37af508eabce528ea57ae5839b1cd603b3e1
Diffstat (limited to 'vcl/Executable_qpwfuzzer.mk')
-rw-r--r--vcl/Executable_qpwfuzzer.mk48
1 files changed, 48 insertions, 0 deletions
diff --git a/vcl/Executable_qpwfuzzer.mk b/vcl/Executable_qpwfuzzer.mk
new file mode 100644
index 000000000000..57a25b8b2cbe
--- /dev/null
+++ b/vcl/Executable_qpwfuzzer.mk
@@ -0,0 +1,48 @@
+# -*- 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,qpwfuzzer))
+
+$(eval $(call gb_Executable_use_api,qpwfuzzer,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Executable_use_externals,qpwfuzzer,\
+ $(fuzzer_externals) \
+))
+
+$(eval $(call gb_Executable_set_include,qpwfuzzer,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/vcl/inc \
+))
+
+$(eval $(call gb_Executable_use_libraries,qpwfuzzer,\
+ qpw \
+ $(fuzzer_libraries) \
+))
+
+$(eval $(call gb_Executable_use_static_libraries,qpwfuzzer,\
+ findsofficepath \
+ ulingu \
+ fuzzer \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,qpwfuzzer,\
+ vcl/workben/qpwfuzzer \
+))
+
+$(eval $(call gb_Executable_add_libs,qpwfuzzer,\
+ -lFuzzingEngine \
+))
+
+# vim: set noet sw=4 ts=4: