generate netware exports from javasigar.c

This commit is contained in:
Doug MacEachern 2005-08-28 06:00:27 +00:00
parent f38169afa4
commit 8fc1facb28

View File

@ -1474,5 +1474,12 @@ EOF
close JFH;
}
my $jsigar = "../../src/jni/javasigar.c";
open JSIGAR, $jsigar or die "open $jsigar: $!";
while (<JSIGAR>) {
next unless /SIGAR_JNI\(([A-Za-z_]+)\)/;
print DFH "Java_net_hyperic_sigar_$1\n";
}
close CFH;
close DFH;