From 5e2f6d72c482081af1ded500107397c2583df43c Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Mon, 12 Jun 2006 07:04:33 +0000 Subject: Added jni type --- src/net/sf/antcontrib/cpptasks/compiler/LinkType.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/net/sf/antcontrib/cpptasks/compiler') diff --git a/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java b/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java index d769431..31348f2 100644 --- a/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java +++ b/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java @@ -44,6 +44,12 @@ public class LinkType { String value = outputType.getValue(); return value.equals("executable"); } +// FREEHEP + public boolean isJNIModule() { + String value = outputType.getValue(); + return value.equals("jni"); + } + /** * Gets whether the link should produce a plugin module. * @@ -60,7 +66,8 @@ public class LinkType { */ public boolean isSharedLibrary() { String value = outputType.getValue(); - return value.equals("shared") || value.equals("plugin"); +// FREEHEP + return value.equals("shared") || value.equals("plugin") || value.equals("jni"); } /** * Gets whether the link should produce a static library. -- cgit v1.2.3