summaryrefslogtreecommitdiff
path: root/vcl/Executable_rtffuzzer.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-24 11:57:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-04-01 20:48:36 +0100
commitd8c5cc7c4bc34436dd95f923dca852b335a5f1e3 (patch)
treecf6664b002e73a469c23b3a26a9567f434eaa1a4 /vcl/Executable_rtffuzzer.mk
parent6a9478481c42a717191cc6beb8534e263b98036d (diff)
add rtf fuzzer
Change-Id: I36a6294c158232bef8fceeaf5159527f467f5786
Diffstat (limited to 'vcl/Executable_rtffuzzer.mk')
-rw-r--r--vcl/Executable_rtffuzzer.mk47
1 files changed, 47 insertions, 0 deletions
diff --git a/vcl/Executable_rtffuzzer.mk b/vcl/Executable_rtffuzzer.mk
new file mode 100644
index 000000000000..38b64a179f27
--- /dev/null
+++ b/vcl/Executable_rtffuzzer.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,rtffuzzer))
+
+$(eval $(call gb_Executable_use_api,rtffuzzer,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Executable_use_externals,rtffuzzer,\
+ $(fuzzer_externals) \
+))
+
+$(eval $(call gb_Executable_set_include,rtffuzzer,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/vcl/inc \
+))
+
+$(eval $(call gb_Executable_use_libraries,rtffuzzer,\
+ $(fuzzer_libraries) \
+))
+
+$(eval $(call gb_Executable_use_static_libraries,rtffuzzer,\
+ findsofficepath \
+ ulingu \
+ fuzzer \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,rtffuzzer,\
+ vcl/workben/rtffuzzer \
+))
+
+$(eval $(call gb_Executable_add_libs,rtffuzzer,\
+ -lFuzzingEngine \
+))
+
+# vim: set noet sw=4 ts=4: