|
From: <eli...@us...> - 2006-07-15 23:20:14
|
Revision: 2528 Author: elias_naur Date: 2006-07-15 16:20:06 -0700 (Sat, 15 Jul 2006) ViewCVS: http://svn.sourceforge.net/java-game-lib/?rev=2528&view=rev Log Message: ----------- Windows: Make mingw build.xml strip the dll after linking. Delete optional build files from mingw_ant. Modified Paths: -------------- trunk/LWJGL/platform_build/mingw_ant/build.xml Removed Paths: ------------- trunk/LWJGL/platform_build/mingw_ant/build_devil.xml trunk/LWJGL/platform_build/mingw_ant/build_fmod3.xml Modified: trunk/LWJGL/platform_build/mingw_ant/build.xml =================================================================== --- trunk/LWJGL/platform_build/mingw_ant/build.xml 2006-07-15 23:04:07 UTC (rev 2527) +++ trunk/LWJGL/platform_build/mingw_ant/build.xml 2006-07-15 23:20:06 UTC (rev 2528) @@ -9,6 +9,7 @@ <property name="alhome" location="${program_files}\OpenAL 1.1 with EFX SDK"/> <property name="chome" location="c:/MinGW"/> <property name="gcc" location="${chome}/bin/gcc"/> + <property name="strip" location="${chome}/bin/strip"/> <property name="dllname" value="lwjgl.dll"/> <target name="compile_dir"> @@ -54,6 +55,9 @@ <property name="libs" value="-lKernel32 -lole32 -ldinput -ldxguid -lOpenGL32 -lVersion -luser32 -lGdi32 -lAdvapi32 -ljawt -lwinmm"/> <antcall target="compile_dir"/> <antcall target="link"/> + <apply dir="." executable="${strip}"> + <fileset file="${dllname}"/> + </apply> </target> </project> Deleted: trunk/LWJGL/platform_build/mingw_ant/build_devil.xml =================================================================== --- trunk/LWJGL/platform_build/mingw_ant/build_devil.xml 2006-07-15 23:04:07 UTC (rev 2527) +++ trunk/LWJGL/platform_build/mingw_ant/build_devil.xml 2006-07-15 23:20:06 UTC (rev 2528) @@ -1,52 +0,0 @@ -<?xml version="1.0"?> - -<project name="devil" basedir="../../bin/devil" default="compile"> - <property name="native" location="../../src/native"/> - <property environment="env"/> - <property name="sdkhome" location="${env.MSSDK}"/> - <property name="fmodhome" location="${env.FMODHOME}"/> - <property name="dllname" value="lwjgl-devil.dll"/> - - <target name="compile_dir"> - <apply dir="." failonerror="true" executable="cl" dest="." skipemptyfilesets="true"> - <arg line="/Ox /Wp64 /W2 /nologo /Ox /Ob2 /Oi /Ot /Oy /FD /EHsc /MT /Gy /W2 /nologo /c /D WIN32 /c"/> - <arg value="/I${sdkhome}\include"/> - <arg value="/I${java.home}\..\include"/> - <arg value="/I${java.home}\..\include\win32"/> - <arg value="/I${native}\common"/> - <srcfile/> - <fileset dir="${native}/common/devil" includes="*.c"/> - <fileset dir="${native}/common" includes="*common*.c"/> - <mapper type="glob" from="*.c" to="*.obj"/> - </apply> - </target> - - <target name="link"> - <apply dir="." parallel="true" executable="cl" failonerror="true"> - <arg line="/LD /nologo"/> - <srcfile/> - <arg line="/Fe${dllname} /link"/> - <arg value="/LIBPATH:${java.home}\..\lib"/> - <arg value="/LIBPATH:${sdkhome}\lib"/> - <arg value="/OPT:REF"/> - <arg value="/OPT:ICF"/> - <fileset dir="." includes="*.obj"/> - </apply> - </target> - - <target name="clean"> - <delete> - <fileset dir="." includes="*.obj"/> - <fileset dir="." includes="*.dll"/> - <fileset dir="." includes="*.exp"/> - <fileset dir="." includes="*.lib"/> - </delete> - </target> - - <target name="compile" depends="clean"> - <property name="libs" value="user32.lib Gdi32.lib Advapi32.lib"/> - <antcall target="compile_dir"/> - <antcall target="link"/> - </target> -</project> - Deleted: trunk/LWJGL/platform_build/mingw_ant/build_fmod3.xml =================================================================== --- trunk/LWJGL/platform_build/mingw_ant/build_fmod3.xml 2006-07-15 23:04:07 UTC (rev 2527) +++ trunk/LWJGL/platform_build/mingw_ant/build_fmod3.xml 2006-07-15 23:20:06 UTC (rev 2528) @@ -1,53 +0,0 @@ -<?xml version="1.0"?> - -<project name="fmod3" basedir="../../bin/fmod3" default="compile"> - <property name="native" location="../../src/native"/> - <property environment="env"/> - <property name="sdkhome" location="${env.MSSDK}"/> - <property name="fmodhome" location="${env.FMODHOME}"/> - <property name="dllname" value="lwjgl-fmod3.dll"/> - - <target name="compile_dir"> - <apply dir="." failonerror="true" executable="cl" dest="." skipemptyfilesets="true"> - <arg line="/Ox /Wp64 /W2 /nologo /Ox /Ob2 /Oi /Ot /Oy /FD /EHsc /MT /Gy /W2 /nologo /c /D WIN32 /c"/> - <arg value="/I${sdkhome}\include"/> - <arg value="/I${java.home}\..\include"/> - <arg value="/I${java.home}\..\include\win32"/> - <arg value="/I${native}\common"/> - <arg value="/I${fmodhome}\api\inc"/> - <srcfile/> - <fileset dir="${native}/common/fmod3" includes="*.c"/> - <fileset dir="${native}/common" includes="*common*.c"/> - <mapper type="glob" from="*.c" to="*.obj"/> - </apply> - </target> - - <target name="link"> - <apply dir="." parallel="true" executable="cl" failonerror="true"> - <arg line="/LD /nologo"/> - <srcfile/> - <arg line="/Fe${dllname} /link"/> - <arg value="/LIBPATH:${java.home}\..\lib"/> - <arg value="/LIBPATH:${sdkhome}\lib"/> - <arg value="/OPT:REF"/> - <arg value="/OPT:ICF"/> - <fileset dir="." includes="*.obj"/> - </apply> - </target> - - <target name="clean"> - <delete> - <fileset dir="." includes="*.obj"/> - <fileset dir="." includes="*.dll"/> - <fileset dir="." includes="*.exp"/> - <fileset dir="." includes="*.lib"/> - </delete> - </target> - - <target name="compile" depends="clean"> - <property name="libs" value="user32.lib Gdi32.lib Advapi32.lib"/> - <antcall target="compile_dir"/> - <antcall target="link"/> - </target> -</project> - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |