File: platforms.ini

package info (click to toggle)
searchandrescue 0.8.2-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,656 kB
  • ctags: 6,111
  • sloc: ansic: 89,072; cpp: 7,691; sh: 90; makefile: 80
file content (266 lines) | stat: -rw-r--r-- 11,377 bytes parent folder | download | duplicates (2)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
# Platforms configuration file for Platform Configurator.
#
# See FORMAT for specifications about this file.
#

MakefileOutput = sar/Makefile
MakefileInputPrepend = sar/makefile_prepend.ini
MakefileInputAppend = sar/makefile_append.ini
ThisPlatformInfo = sar/this_platform.ini

MessageConfigStartup = Checking this platform...
MessagePlatformUnsupported = Sorry, that platform is not supported, \
please try a different or generic platform if available. Use --listall \
to obtain a complete list of platforms.
MessageDependFailed = One or more compoents are not available on your \
system, please install them first and then resume this configuration.
MessageSuccess = Type 'make all' to begin compiling this program.

#
# Platforms section:
#

Platform = UNIX
        Description = For most any UNIX system
        PREFIX = /usr/
        CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer \
-ffast-math -D__USE_BSD
        LIBS = -lm
        LIB_DIR =
	CC = cc
	CPP = c++
        PlatformSearchPathInclude = /usr/include/
        PlatformSearchPathInclude = /usr/X11R6/include/
        PlatformSearchPathLib = /lib/
        PlatformSearchPathLib = /usr/lib/
        PlatformSearchPathLib = /usr/X11R6/lib/
        PlatformSearchPathEtc = /etc/
        PlatformSearchPathEtc = /usr/etc/
        PlatformSearchPathBin = /bin/
        PlatformSearchPathBin = /usr/bin/
        PlatformSearchPathBin = /usr/X11R6/bin/
        PlatformSearchPathBin = /usr/games/
        PlatformSearchPathData = /usr/share/icons/
        PlatformSearchPathData = /usr/share/games/
        PlatformFeature = debug
                Description = Just adds -g to the CFLAGS for debugging
                MustExist = No
                FeatureCFLAGS = -g
        PlatformFeature = libjsw
                Description = For joystick support
                MustExist = Preferred
                FeatureCFLAGS = -DJS_SUPPORT
                FeatureLIBS = -ljsw
                FeatureDepend = jsw-lib
                        DependType = Library
                        MustExist = Yes
                        DependPath = libjsw.so
                        DependGrepString = JSInit
                FeatureDepend = jsw-devel
                        DependType = Header
                        MustExist = Yes
                        DependPath = jsw.h
                        DependGrepString = JSInit
        PlatformFeature = X11   
                Description = X Window Systems
                MustExist = Yes
                FeatureCFLAGS = -DUSE_XSHM -DHAVE_MWMUTIL_H
                FeatureLIBS = -lSM -lICE -lX11 -lXext -lXmu
                FeatureLIB_DIR = -L/usr/X11R6/lib/
                FeatureDepend = X11-lib
                        DependType = Library  
                        MustExist = Yes
                        DependPath = libX11.so
                        DependGrepString = XOpenDisplay
                FeatureDepend = X11-devel
                        DependType = Header   
                        MustExist = Yes
                        DependPath = X11/Xlib.h
                        DependGrepString = XOpenDisplay
        PlatformFeature = libXpm
                Description = XPM image IO library
                MustExist = Yes
                FeatureCFLAGS = -DHAVE_LIBXPM
                FeatureLIBS = -lXpm
                FeatureLIB_DIR = -L/usr/X11R6/lib/
                FeatureDepend = xpm-lib
                        DependType = Library  
                        MustExist = Yes
                        DependPath = libXpm.so
                        DependGrepString = XpmCreatePixmapFromData
                FeatureDepend = xpm-devel
                        DependType = Header 
                        MustExist = Yes
                        DependPath = X11/xpm.h
                        DependGrepString = XpmCreatePixmapFromData
        PlatformFeature = XF86VidMode
                Description = XF86 Video Mode extension
                MustExist = Preferred
                FeatureCFLAGS = -DHAVE_XF86_VIDMODE
                FeatureLIBS = -lXxf86vm
                FeatureLIB_DIR = -L/usr/X11R6/lib/
                FeatureDepend = xf86vidmode-lib
                        DependType = Library
                        MustExist = Yes
                        DependPath = libXxf86vm.a
                        DependGrepString = XF86VidModeQueryExtension
                FeatureDepend = xf86vidmode-devel
                        DependType = Header
                        MustExist = Yes
                        DependPath = X11/extensions/xf86vmode.h
                        DependGrepString = XF86VidModeQueryExtension
        PlatformFeature = opengl
                Description = An implementation of OpenGL (ie Mesa3D)
                MustExist = Yes   
                FeatureLIBS = -lGL -lGLU
                FeatureDepend = gl-lib
                        DependType = Library
                        MustExist = Yes
                        DependPath = libGL.so
                        DependGrepString = glEnable
                        DependPath = libGLU.so
                        DependGrepString = gluPerspective
                FeatureDepend = gl-devel
                        DependType = Header
                        MustExist = Yes
                        DependPath = GL/gl.h
                        DependGrepString = glEnable
        PlatformFeature = Y2
                Description = For multi-client sound support
                MustExist = Preferred
                FeatureCFLAGS = -DHAVE_Y2
                FeatureLIBS = -lY2
                FeatureDepend = Y2-lib
                        DependType = Library
                        MustExist = Yes
                        DependPath = libY2.so
                        DependGrepString = YOpenConnection
                FeatureDepend = Y2-devel
                        DependType = Header
                        MustExist = Yes
                        DependPath = Y2/Ylib.h
                        DependGrepString = YOpenConnection

Platform = Linux
	Description = For most any Linux system
	PREFIX = $(DESTDIR)/usr/
	CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer \
-ffast-math -finline-functions -fexpensive-optimizations -D__USE_BSD
	LIBS = -lm
	LIB_DIR =
        CC = gcc
        CPP = g++
	PlatformSearchPathInclude = /usr/include/
	PlatformSearchPathInclude = /usr/X11R6/include/
	PlatformSearchPathLib = /lib/
	PlatformSearchPathLib = /usr/lib/
	PlatformSearchPathLib = /usr/X11R6/lib/
	PlatformSearchPathEtc = /etc/
	PlatformSearchPathEtc = /usr/etc/
	PlatformSearchPathBin = /bin/
	PlatformSearchPathBin = /usr/bin/
	PlatformSearchPathBin = /usr/X11R6/bin/
	PlatformSearchPathBin = /usr/games/
	PlatformSearchPathData = /usr/share/icons/
	PlatformSearchPathData = /usr/share/games/
        PlatformFeature = debug
                Description = Just adds -g to the CFLAGS for debugging
                MustExist = No
                FeatureCFLAGS = -g
        PlatformFeature = libjsw
		Description = For joystick support
                MustExist = Preferred
                FeatureCFLAGS = -DJS_SUPPORT
                FeatureLIBS = -ljsw
                FeatureDepend = jsw-lib
                        DependType = Library
                        MustExist = Yes
                        DependPath = libjsw.so
                        DependGrepString = JSInit
                FeatureDepend = jsw-devel
                        DependType = Header
                        MustExist = Yes
                        DependPath = jsw.h
                        DependGrepString = JSInit
        PlatformFeature = X11
                Description = X Window Systems
                MustExist = Yes
		FeatureCFLAGS = -DUSE_XSHM -DHAVE_MWMUTIL_H
                FeatureLIBS = -lSM -lICE -lX11 -lXext -lXmu
		FeatureLIB_DIR = -L/usr/X11R6/lib/
                FeatureDepend = X11-lib
                        DependType = Library
                        MustExist = Yes
                        DependPath = libX11.so
                        DependGrepString = XOpenDisplay
                FeatureDepend = X11-devel
                        DependType = Header
                        MustExist = Yes
                        DependPath = X11/Xlib.h
                        DependGrepString = XOpenDisplay
        PlatformFeature = libXpm
                Description = XPM image IO library
                MustExist = Yes
                FeatureCFLAGS = -DHAVE_LIBXPM
                FeatureLIBS = -lXpm
                FeatureLIB_DIR = -L/usr/X11R6/lib/
                FeatureDepend = xpm-lib
                        DependType = Library               
                        MustExist = Yes
                        DependPath = libXpm.so
                        DependGrepString = XpmCreatePixmapFromData
                FeatureDepend = xpm-devel
                        DependType = Header      
                        MustExist = Yes
                        DependPath = X11/xpm.h
                        DependGrepString = XpmCreatePixmapFromData
        PlatformFeature = XF86VidMode
                Description = XF86 Video Mode extension
                MustExist = Preferred
                FeatureCFLAGS = -DHAVE_XF86_VIDMODE
                FeatureLIBS = -lXxf86vm
                FeatureLIB_DIR = -L/usr/X11R6/lib/
                FeatureDepend = xf86vidmode-lib
                        DependType = Library
                        MustExist = Yes
                        DependPath = libXxf86vm.a
                        DependGrepString = XF86VidModeQueryExtension
                FeatureDepend = xf86vidmode-devel
                        DependType = Header
                        MustExist = Yes
                        DependPath = X11/extensions/xf86vmode.h
                        DependGrepString = XF86VidModeQueryExtension
        PlatformFeature = opengl
                Description = An implementation of OpenGL (ie Mesa3D)
                MustExist = Yes
# On Linux there is a ld.so bug where not linking to pthread for OpenGL
# causes some problems. So if we want OpenGL we need to also link to
# libpthread.   
		FeatureLIBS = -lGL -lGLU -lpthread
		FeatureDepend = gl-lib
                        DependType = Library
                        MustExist = Yes
                        DependPath = libGL.so
                        DependGrepString = glEnable
                        DependPath = libGLU.so
                        DependGrepString = gluPerspective
                FeatureDepend = gl-devel
                        DependType = Header
                        MustExist = Yes
                        DependPath = GL/gl.h
                        DependGrepString = glEnable
        PlatformFeature = Y2
		Description = For multi-client sound support
                MustExist = Preferred
                FeatureCFLAGS = -DHAVE_Y2
                FeatureLIBS = -lY2
                FeatureDepend = Y2-lib
                        DependType = Library
                        MustExist = Yes
                        DependPath = libY2.so
                        DependGrepString = YOpenConnection
                FeatureDepend = Y2-devel
                        DependType = Header
                        MustExist = Yes
                        DependPath = Y2/Ylib.h
                        DependGrepString = YOpenConnection