blob: f6bbe8ae16d37061a6ebdd1cdb178071790676e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
--- libv3d/platforms.ini.orig Mon Jan 20 01:57:06 2003
+++ libv3d/platforms.ini Sun Nov 26 19:46:56 2006
@@ -23,22 +23,21 @@
Platform = UNIX
Description = For most any UNIX system
PREFIX = /usr/
- CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math \
--D__USE_BSD
+ CFLAGS = %%CFLAGS%% -D__USE_BSD
LIBS = -lm
LIB_DIR =
CC = cc
CPP = c++
PlatformSearchPathInclude = /usr/include/
- PlatformSearchPathInclude = /usr/X11R6/include/
+ PlatformSearchPathInclude = %%X11BASE%%/include/
PlatformSearchPathLib = /lib/
PlatformSearchPathLib = /usr/lib/
- PlatformSearchPathLib = /usr/X11R6/lib/
+ PlatformSearchPathLib = %%X11BASE%%/lib/
PlatformSearchPathEtc = /etc/
PlatformSearchPathEtc = /usr/etc/
PlatformSearchPathBin = /bin/
PlatformSearchPathBin = /usr/bin/
- PlatformSearchPathBin = /usr/X11R6/bin/
+ PlatformSearchPathBin = %%X11BASE%%/bin/
PlatformSearchPathBin = /usr/games/
PlatformSearchPathData = /usr/share/icons/
PlatformSearchPathData = /usr/share/games/
@@ -51,7 +50,7 @@
# MustExist = Yes
# FeatureCFLAGS =
# FeatureLIBS = -lSM -lICE -lX11 -lXext -lXi -lXmu
-# FeatureLIB_DIR = -L/usr/X11R6/lib/
+# FeatureLIB_DIR = -L%%X11BASE%%/lib/
# FeatureDepend = X11-lib
# DependType = Library
# MustExist = Yes
@@ -65,8 +64,9 @@
PlatformFeature = opengl
Description = An implementation of OpenGL (ie Mesa3D)
MustExist = Yes
- FeatureLIBS = -lGL -lGLU
- FeatureLIB_DIR = -L/usr/X11R6/lib/
+ FeatureCFLAGS = -I%%X11BASE%%/include %%PTHREAD_CFLAGS%% -fPIC
+ FeatureLIBS = -lGL -lGLU %%PTHREAD_LIBS%%
+ FeatureLIB_DIR = -L%%X11BASE%%/lib/
FeatureDepend = gl-lib
DependType = Library
MustExist = Yes
|