summaryrefslogtreecommitdiff
path: root/external/np_sdk/Module_np_sdk.mk
diff options
context:
space:
mode:
Diffstat (limited to 'external/np_sdk/Module_np_sdk.mk')
-rw-r--r--external/np_sdk/Module_np_sdk.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/external/np_sdk/Module_np_sdk.mk b/external/np_sdk/Module_np_sdk.mk
new file mode 100644
index 000000000000..58b7404a8837
--- /dev/null
+++ b/external/np_sdk/Module_np_sdk.mk
@@ -0,0 +1,23 @@
+# -*- 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_Module_Module,np_sdk))
+
+ifneq ($(ENABLE_NPAPI_FROM_BROWSER)$(ENABLE_NPAPI_INTO_BROWSER),)
+
+ifeq ($(ENABLE_NPAPI_INTO_BROWSER),TRUE)
+$(eval $(call gb_Module_add_targets,np_sdk,\
+ StaticLibrary_nputils \
+))
+endif
+
+endif
+
+# vim: set noet sw=4 ts=4: