diff options
author | kbr <[email protected]> | 2006-08-27 03:52:08 +0000 |
---|---|---|
committer | kbr <[email protected]> | 2006-08-27 03:52:08 +0000 |
commit | ab1d8906991beca3829f2a26ef1e12b0e3f5ee6b (patch) | |
tree | c8a70d2cd195a9db763e2a56860c85475459a152 /make/build.xml | |
parent | bdf7b44a36265373606da7556d85dfb9c47dcfdd (diff) |
Changed NativeLibrary.open() to accept boolean argument indicating
whether to search the system path first; perhaps useful if
applications ship only a backup version of native libraries associated
with a particular Java binding. In the case of JOAL we plan to ship a
recent OpenAL implementation so we will not need to search the system
path first. Changed ForceProcAddressGen directive to force
call-through-function-pointer semantics for the targeted function.
Changed JOAL to not link directly against the OpenAL library at all,
but instead to look up all entry points using the GlueGen
NativeLibrary class (instead of the custom dlsym code, now removed) in
particular to solve DSO versioning problems on Linux. Updated EAX
binding to work with dynamically loading OpenAL. Tested on Windows so
far; more testing needed on Linux in Java Web Start scenarios.
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@269 03bf7f67-59de-4072-a415-9a990d468a3f
Diffstat (limited to 'make/build.xml')
-rwxr-xr-x | make/build.xml | 59 |
1 files changed, 13 insertions, 46 deletions
diff --git a/make/build.xml b/make/build.xml index 8ff3829..99d2802 100755 --- a/make/build.xml +++ b/make/build.xml @@ -207,31 +207,31 @@ <target name="declare.win32.vc6" if="isVC6"> <echo message="Win32.VC6" /> <property name="compiler.cfg.id" value="compiler.cfg.win32.msvc" /> - <property name="linker.cfg.id" value="linker.cfg.win32.msvc.joal" /> + <property name="linker.cfg.id" value="linker.cfg.win32.msvc" /> </target> <target name="declare.win32.vc7" if="isVC7"> <echo message="Win32.VC7" /> <property name="compiler.cfg.id" value="compiler.cfg.win32.msvc" /> - <property name="linker.cfg.id" value="linker.cfg.win32.msvc.joal" /> + <property name="linker.cfg.id" value="linker.cfg.win32.msvc" /> </target> <target name="declare.win32.vc8" if="isVC8"> <echo message="Win32.VC8" /> <property name="compiler.cfg.id" value="compiler.cfg.win32.msvc" /> - <property name="linker.cfg.id" value="linker.cfg.win32.msvc.joal" /> + <property name="linker.cfg.id" value="linker.cfg.win32.msvc" /> </target> <target name="declare.win32.vc8_x64" if="isVC8_X64"> <echo message="Win32.VC8_X64" /> <property name="compiler.cfg.id" value="compiler.cfg.win32.msvc" /> - <property name="linker.cfg.id" value="linker.cfg.win32.msvc.joal" /> + <property name="linker.cfg.id" value="linker.cfg.win32.msvc" /> </target> <target name="declare.win32.mingw" if="isMingw"> <echo message="Win32.MingW" /> <property name="compiler.cfg.id" value="compiler.cfg.win32.mingw" /> - <property name="linker.cfg.id" value="linker.cfg.win32.mingw.joal" /> + <property name="linker.cfg.id" value="linker.cfg.win32.mingw" /> </target> <target name="declare.win32" depends="declare.win32.vc6,declare.win32.vc7,declare.win32.vc8,declare.win32.vc8_x64,declare.win32.mingw" if="isWindows"> @@ -243,7 +243,7 @@ <property name="java.includes.dir.platform" value="${java.includes.dir.linux}" /> <property name="compiler.cfg.id" value="compiler.cfg.linux" /> - <property name="linker.cfg.id" value="linker.cfg.linux.joal" /> + <property name="linker.cfg.id" value="linker.cfg.linux" /> </target> <target name="declare.linux.amd64" if="isLinuxAMD64"> @@ -251,7 +251,7 @@ <property name="java.includes.dir.platform" value="${java.includes.dir.linux}" /> <property name="compiler.cfg.id" value="compiler.cfg.linux.amd64" /> - <property name="linker.cfg.id" value="linker.cfg.linux.amd64.joal" /> + <property name="linker.cfg.id" value="linker.cfg.linux.amd64" /> </target> <target name="declare.linux.ia64" if="isLinuxIA64"> @@ -259,7 +259,7 @@ <property name="java.includes.dir.platform" value="${java.includes.dir.linux}" /> <property name="compiler.cfg.id" value="compiler.cfg.linux" /> - <property name="linker.cfg.id" value="linker.cfg.linux.joal" /> + <property name="linker.cfg.id" value="linker.cfg.linux" /> </target> <target name="declare.linux" depends="declare.linux.x86,declare.linux.amd64,declare.linux.ia64" if="isLinux" /> @@ -269,7 +269,7 @@ <property name="java.includes.dir.platform" value="${java.includes.dir.solaris}" /> <property name="compiler.cfg.id" value="compiler.cfg.solaris" /> - <property name="linker.cfg.id" value="linker.cfg.solaris.joal" /> + <property name="linker.cfg.id" value="linker.cfg.solaris" /> </target> <target name="declare.solaris.sparcv9" if="isSolarisSparcv9"> @@ -277,7 +277,7 @@ <property name="java.includes.dir.platform" value="${java.includes.dir.solaris}" /> <property name="compiler.cfg.id" value="compiler.cfg.solaris.sparcv9" /> - <property name="linker.cfg.id" value="linker.cfg.solaris.sparcv9.joal" /> + <property name="linker.cfg.id" value="linker.cfg.solaris.sparcv9" /> </target> @@ -286,7 +286,7 @@ <property name="java.includes.dir.platform" value="${java.includes.dir.solaris}" /> <property name="compiler.cfg.id" value="compiler.cfg.solaris.amd64" /> - <property name="linker.cfg.id.core" value="linker.cfg.solaris.amd64.joal" /> + <property name="linker.cfg.id.core" value="linker.cfg.solaris.amd64" /> </target> <target name="declare.macosx" if="isOSX"> @@ -302,7 +302,7 @@ <property name="java.includes.dir.platform" value="${java.includes.dir.freebsd}" /> <property name="compiler.cfg.id" value="compiler.cfg.freebsd" /> - <property name="linker.cfg.id" value="linker.cfg.linux.joal" /> + <property name="linker.cfg.id" value="linker.cfg.linux" /> </target> <target name="declare.hpux" if="isHPUX"> @@ -310,7 +310,7 @@ <property name="java.includes.dir.platform" value="${java.includes.dir.hpux}" /> <property name="compiler.cfg.id" value="compiler.cfg.hpux" /> - <property name="linker.cfg.id" value="linker.cfg.hpux.joal" /> + <property name="linker.cfg.id" value="linker.cfg.hpux" /> </target> <!-- ================================================================== --> @@ -447,44 +447,11 @@ <target name="c.configure" depends="gluegen.cpptasks.configure.compiler"> <!-- linker configuration --> - <linker id="linker.cfg.linux.joal" extends="linker.cfg.linux"> - <syslibset dir="${joal.lib.dir}" libs="openal"/> - </linker> - - <linker id="linker.cfg.linux.amd64.joal" extends="linker.cfg.linux.amd64"> - <syslibset dir="${joal.lib.dir}" libs="openal"/> - </linker> - - <linker id="linker.cfg.solaris.joal" extends="linker.cfg.solaris"> - <syslibset dir="${joal.lib.dir}" libs="openal"/> - </linker> - - <linker id="linker.cfg.solaris.sparcv9.joal" extends="linker.cfg.solaris.sparcv9"> - <syslibset dir="${joal.lib.dir}" libs="openal"/> - </linker> - - <linker id="linker.cfg.solaris.amd64.joal" extends="linker.cfg.solaris.amd64"> - <syslibset dir="${joal.lib.dir}" libs="openal"/> - </linker> - - <linker id="linker.cfg.win32.mingw.joal" extends="linker.cfg.win32.mingw"> - <syslibset dir="${joal.lib.dir}" libs="openal32, kernel32"/> - </linker> - - <linker id="linker.cfg.win32.msvc.joal" extends="linker.cfg.win32.msvc"> - <syslibset dir="${joal.lib.dir}" libs="openal32" /> - <syslibset libs="kernel32"/> - </linker> - <linker id="linker.cfg.macosx.joal" extends="linker.cfg.macosx"> <linkerarg value="-framework" /> <linkerarg value="OpenAL" /> </linker> - <linker id="linker.cfg.hpux.joal" extends="linker.cfg.hpux"> - <syslibset dir="${joal.lib.dir}" libs="openal"/> - </linker> - <patternset id="c.src.files.joal"> <include name="${rootrel.src.c}/*.c"/> <include name="${rootrel.generated.c.joal}/*.c"/> |