aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-jogl.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-08 23:42:26 +0100
committerSven Gothel <[email protected]>2011-11-08 23:42:26 +0100
commit48c2ba5ee339487ef56ba58d861cb923e3d0c432 (patch)
tree5559b3a37c43fcdc80d3ef3f756aceec7ac91336 /make/build-jogl.xml
parent368cbf4462d7f3635c1ef4497424c360b5ccc203 (diff)
JOGL: Add 'struct timespec' (POSIX) utils for native time handling
Diffstat (limited to 'make/build-jogl.xml')
-rw-r--r--make/build-jogl.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index fc6786e21..511f147be 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -1130,6 +1130,8 @@
<linker id="linker.cfg.macosx.jogl" extends="linker.cfg.macosx">
<linkerarg value="-framework" />
+ <linkerarg value="QuartzCore" />
+ <linkerarg value="-framework" />
<linkerarg value="Cocoa" />
<linkerarg value="-framework" />
<linkerarg value="OpenGL" />
@@ -1276,6 +1278,7 @@
<patternset id="c.src.files.jogl.desktop">
<include name="${rootrel.src.c}/JoglCommon.c"/>
<include name="${rootrel.src.c}/GLDebugMessageHandler.c"/>
+ <include name="${rootrel.src.c}/timespec.c" if="isOSX"/> <!-- currently only used for OSX -->
<include name="${rootrel.src.c}/macosx/MacOSXCustomCGLCode.c" if="isOSX"/>
<include name="${rootrel.src.c}/macosx/MacOSXWindowSystemInterface.m" if="isOSX"/>
<include name="${rootrel.src.c}/macosx/MacOSXWindowSystemInterface-pbuffer.m" if="isOSX"/>
@@ -1350,6 +1353,7 @@
<includepath path="stub_includes/cg" if="setup.addNativeNVidiaCG"/>
<!-- This is for the generated headers for handwritten C code -->
+ <includepath path="${src.c}"/>
<includepath path="${src.generated.c}" />
<includepath path="${src.generated.c}/X11" if="isX11"/>
<includepath path="${src.generated.c}/MacOSX" if="isOSX"/>