Commit 3e2f0712 authored by bp's avatar bp

Different library pathes for different Mac OS X versions


git-svn-id: https://forth-ev.de/repos/bigforth@989 3b8d8251-53f3-0310-8f3b-fd1cb8370982
parent 31257037
......@@ -9,8 +9,13 @@ DOS also OpenGL
\ library libGL libMesaGL.so.3 $20 allot depends libXext depends libm
[IFDEF] osx
library libGL /usr/X11/lib/libGL.dylib $20 allot depends libX11
library libGLU /usr/X11/lib/libGLU.dylib
s" /usr/X11/lib/libGL.dylib" file-status nip 0= [IF]
library libGL /usr/X11/lib/libGL.dylib $20 allot depends libX11
library libGLU /usr/X11/lib/libGLU.dylib
[ELSE]
library libGL /usr/X11R6/lib/libGL.dylib $20 allot depends libX11
library libGLU /usr/X11R6/lib/libGLU.dylib
[THEN]
[ELSE]
library libGL libGL.so.1 $20 allot depends libX11
library libGLU libGLU.so.1
......
......@@ -23,7 +23,11 @@ library: libpng12.so.0
also DOS
[defined] osx [IF]
library libpng /usr/X11/lib/libpng12.dylib
s" /usr/X11/lib/libpng12.dylib" file-status nip 0= [IF]
library libpng /usr/X11/lib/libpng12.dylib
[ELSE]
library libpng /usr/local/lib/libpng12.dylib
[THEN]
: init-png-lib ; \ not supported in VFX Forth
true value png3
[ELSE]
......
......@@ -5,11 +5,16 @@ Module X11
also DOS
[IFDEF] osx
library libX11 /usr/X11/lib/libX11.dylib
library libXext /usr/X11/lib/libXext.dylib \ depends libX11
s" /usr/X11/lib/libX11.dylib" file-status nip 0= [IF]
library libX11 /usr/X11/lib/libX11.dylib
library libXext /usr/X11/lib/libXext.dylib \ depends libX11
[ELSE]
library libX11 /usr/X11R6/lib/libX11.dylib
library libXext /usr/X11R6/lib/libXext.dylib \ depends libX11
[THEN]
[ELSE]
library libX11 libX11.so.6
library libXext libXext.so.6 \ depends libX11
library libX11 libX11.so.6
library libXext libXext.so.6 \ depends libX11
[THEN]
base @ hex
......
......@@ -7,9 +7,13 @@ also dos
legacy off
[IFDEF] osx
library libXft /usr/X11/lib/libXft.dylib
s" /usr/X11/lib/libXft.dylib" file-status nip 0= [IF]
library libXft /usr/X11/lib/libXft.dylib
[ELSE]
library libXft /usr/X11R6/lib/libXft.dylib
[THEN]
[ELSE]
library libXft libXft.so.2
library libXft libXft.so.2
[THEN]
libXft XftFontMatch int int int int (int) XftFontMatch ( dpy screen pattern result -- pattern )
......
......@@ -9,9 +9,13 @@ legacy off
also X11
[IFDEF] osx
library libXpm /usr/X11R6/lib/libXpm.dylib depends libX11
s" /usr/X11/lib/libXpm.dylib" file-status nip 0= [IF]
library libXpm /usr/X11/lib/libXpm.dylib depends libX11
[ELSE]
library libXpm /usr/X11R6/lib/libXpm.dylib depends libX11
[THEN]
[ELSE]
library libXpm libXpm.so.4 depends libX11
library libXpm libXpm.so.4 depends libX11
[THEN]
previous
......
......@@ -7,9 +7,13 @@ also dos
legacy off
[IFDEF] osx
library libXrender /usr/X11/lib/libXrender.dylib
s" /usr/X11/lib/libXrender.dylib" file-status nip 0= [IF]
library libXrender /usr/X11/lib/libXrender.dylib
[ELSE]
library libXrender /usr/X11R6/lib/libXrender.dylib
[THEN]
[ELSE]
library libXrender libXrender.so.1
library libXrender libXrender.so.1
[THEN]
libXrender XRenderFindFormat ptr int ptr int (ptr) XRenderFindFormat ( dpy mask templ count -- pict )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment