[Arakhnę-Dev] [92] Ad Linux 64bits library.

[ Thread Index | Date Index | More arakhne.org/dev Archives ]


Revision: 92
Author:   galland
Date:     2009-12-01 08:42:43 +0100 (Tue, 01 Dec 2009)
Log Message:
-----------
Ad Linux 64bits library.

Added Paths:
-----------
    trunk/arakhneVmutils/native/josuuid/linux64/
    trunk/arakhneVmutils/native/josuuid/linux64/pom.xml

Added: trunk/arakhneVmutils/native/josuuid/linux64/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/linux64/pom.xml	                        (rev 0)
+++ trunk/arakhneVmutils/native/josuuid/linux64/pom.xml	2009-12-01 07:42:43 UTC (rev 92)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+  	<artifactId>josuuid</artifactId>
+	<groupId>org.arakhne.afc</groupId>
+	<version>4.2-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.arakhne.afc</groupId>
+  <artifactId>josuuid-linux64</artifactId>
+  <packaging>so</packaging>
+  <version>4.2-SNAPSHOT</version>
+  <name>${pom.artifactId}</name>
+
+	<!-- ======================================= -->
+	<!-- ====       Project Information      === -->
+	<!-- ======================================= -->
+		
+	<dependencies>
+		<dependency>
+			<groupId>org.arakhne.afc</groupId>
+			<artifactId>arakhneVmutils-java</artifactId>
+		    <version>${pom.version}</version>
+		</dependency>    
+	</dependencies>
+
+  <build>
+    <finalName>${artifactId}</finalName>
+    
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>native-maven-plugin</artifactId>
+        <extensions>true</extensions>       
+        <configuration>
+          <compilerProvider>generic</compilerProvider>
+          <compilerStartOptions>
+            <compilerStartOption>-m64 -fPIC -O3 -Wall -Werror -fmessage-length=0</compilerStartOption>
+          </compilerStartOptions>
+          
+          <javahOS>linux</javahOS>
+          
+          <sources>
+            <source>
+	      <directory>../src/main/native</directory>
+	      <fileNames>
+                <fileName>josuuid.cpp</fileName>
+                <fileName>winos.cpp</fileName>
+                <fileName>OperatingSystemJNI.cpp</fileName>
+	      </fileNames>
+            </source>
+
+          </sources>
+            
+          <linkerStartOptions>
+            <linkerStartOption>-m64 -shared -lstdc++</linkerStartOption>
+          </linkerStartOptions>
+                    
+        </configuration>
+        
+        <executions>
+          <execution>
+            <id>javah</id>
+            <phase>generate-sources</phase>
+            <configuration>
+              <classNames>
+                <className>org.arakhne.vmutil.OperatingSystem</className>
+              </classNames>
+            </configuration>
+            <goals>
+              <goal>javah</goal> 
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <forkMode>once</forkMode>
+          <environmentVariables>
+            <LD_LIBRARY_PATH>${project.build.directory}</LD_LIBRARY_PATH>
+          </environmentVariables>
+        </configuration>
+      </plugin>
+	
+    </plugins>    
+
+  </build>
+
+
+</project>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/