summaryrefslogtreecommitdiff
path: root/soltools/Executable_checkdll.mk
diff options
context:
space:
mode:
Diffstat (limited to 'soltools/Executable_checkdll.mk')
-rw-r--r--soltools/Executable_checkdll.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/soltools/Executable_checkdll.mk b/soltools/Executable_checkdll.mk
new file mode 100644
index 000000000000..45e18246d6db
--- /dev/null
+++ b/soltools/Executable_checkdll.mk
@@ -0,0 +1,22 @@
+# -*- 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/.
+#
+
+$(eval $(call gb_Executable_Executable,checkdll))
+
+$(eval $(call gb_Executable_add_cobjects,checkdll,\
+ soltools/checkdll/checkdll \
+))
+
+ifeq ($(filter DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),)
+$(eval $(call gb_Executable_add_libs,checkdll,\
+ -ldl \
+))
+endif
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab: