sylware / nyanlinux (public) (License: AFFERO GPLv3) (since 2019-09-09) (hash sha1)
scripts for a lean, from scratch, amd hardware, linux distro
List of commits:
Subject Hash Author Date (UTC)
xserver: custom explicit/idiotic/parallel build script a54a7f8c93626dd217af52184f5ee0f16db16ba0 Sylvain BERTRAND 2021-12-07 19:14:05
gfx stack update c17301fde8a03ef815ed240a3fd5185d70f76df7 Sylvain BERTRAND 2021-12-06 01:01:06
alcatel onetouch usb 4G modem 84d6c9519cbc37a34668ef0cc02457efc9d6023a Sylvain BERTRAND 2021-11-29 16:02:36
gfx stack update (all fixes are in) 00b2f8c68cf5890fcae9386fe856f860344a771e Sylvain BERTRAND 2021-11-28 17:23:28
gfx stack update (mesa still miss a patch) 9954e8584b35fed6a0f489304a0d46b485f01dae Sylvain BERTRAND 2021-11-21 21:25:11
gfx stack update a5b595ee1abe4180cb4e6d96db98ad07179b3018 Sylvain BERTRAND 2021-11-14 18:39:43
steelseries rival3 b98d369ceb00428c3f5cf4747731676e6da60bfc Sylvain BERTRAND 2021-11-08 21:49:55
gfx stack update 68b23aba2c97f765428a34996b903b422462d927 Sylvain BERTRAND 2021-11-07 17:23:37
we can compile gcc 10.3.0 with gcc 4.7.4 (THE canonical gcc) 43cf1d265741bcedf42a818c6290774d70925554 Sylvain BERTRAND 2021-11-03 02:29:55
mesa-vulkan: fix from the mesa devs for navi10 XLE d1a76cb836c0dcfd49e127edd9aa3d4a3c13c7f3 Sylvain BERTRAND 2021-11-02 16:35:11
gfx stack update (vulkan still glitched) 5d0a8bbb9a8196ca83d44c64a1c7c11822347bf0 Sylvain BERTRAND 2021-10-31 21:54:53
nyanmp: update da9dd0a3a895bc9e43bc27eadc31f38e1498fd9a Sylvain BERTRAND 2021-10-30 19:23:18
lynk:update to dev10 282d91c6070e696e814560675fadd7bce897b1e2 Sylvain BERTRAND 2021-10-28 18:54:15
vulkan:radv:llvm is deprecated 7af270c7c22baf9682d117fe4ac5e05982f78ae4 Sylvain BERTRAND 2021-10-24 17:52:56
gfx stack update (vulkan still glitched) 9181fb18bd40939585ae68fcab9993a69559f47b Sylvain BERTRAND 2021-10-24 14:40:12
gfx stack update (vulkan is glitch) 2b9a609757d4bf8ff6442d2d93d85d8e16a51c37 Sylvain BERTRAND 2021-10-17 19:02:47
nyanmp: update f2b42c864f933922ec4362f2fa0b37b3c7f392db Sylvain BERTRAND 2021-10-10 17:10:04
links: update to 2.25 d55f72f6b1aadbc6da764fa5a30194623b34c489 Sylvain BERTRAND 2021-10-10 16:24:40
gfx stack update 9211d39f163939567b9bf2bf2f8a8fac0ec2ff74 Sylvain BERTRAND 2021-10-10 14:21:17
gfx stack update e1e496417589f98088d5976b474b50fc79981eef Sylvain BERTRAND 2021-10-03 19:30:13
Commit a54a7f8c93626dd217af52184f5ee0f16db16ba0 - xserver: custom explicit/idiotic/parallel build script
Author: Sylvain BERTRAND
Author date (UTC): 2021-12-07 19:14
Committer name: Sylvain BERTRAND
Committer date (UTC): 2021-12-07 19:14
Parent(s): c17301fde8a03ef815ed240a3fd5185d70f76df7
Signer:
Signing key:
Signing status: N
Tree: 11158065746d9ee7d59dc930f38a9840cba7b503
File Lines added Lines deleted
builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/builder.sh 1 1
builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/dix-config.h.in 522 0
builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/linux-glibc.sh 1973 0
builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/version-config.h.in 14 0
builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/xkb-config.h.in 28 0
builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/xorg-config.h.in 148 0
builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/xorg-server.h.in 222 0
builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/xorg-server.pc.in 20 0
builders/xserver-sh/builder.sh 178 0
File builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/builder.sh copied from file builders/drm-02ac4a0a36c2aabbd39dab0c7cd13ed2516a2bed/builder.sh (similarity 50%) (mode: 100644) (index 4514042..ff134b3)
1 1 git_commit=${pkg_name##*-} git_commit=${pkg_name##*-}
2 2 slot=$git_commit slot=$git_commit
3 . $nyan_root/builders/drm/builder.sh
3 . $nyan_root/builders/xserver-sh/builder.sh
File builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/dix-config.h.in added (mode: 100644) (index 0000000..61d0301)
1 #ifndef _DIX_CONFIG_H_
2 #define _DIX_CONFIG_H_
3
4 /* Support BigRequests extension */
5 #define BIGREQS 1
6
7 /* Builder address */
8 #define BUILDERADDR "xorg@lists.freedesktop.org"
9
10 /* Builder string */
11 #define BUILDERSTRING ""
12
13 /* Default font path */
14 #define COMPILEDDEFAULTFONTPATH "@defaultfontdir@/misc/,@defaultfontdir@/TTF/,@defaultfontdir@/OTF/,@defaultfontdir@/Type1/,@defaultfontdir@/100dpi/,@defaultfontdir@/75dpi/"
15
16 /* Miscellaneous server configuration files path */
17 #define SERVER_MISC_CONFIG_PATH "@miscconfigpath@"
18
19 /* Support Composite Extension */
20 #define COMPOSITE 1
21
22 /* Support Damage extension */
23 #define DAMAGE 1
24
25 /* Use OsVendorVErrorF */
26 /* #undef DDXOSVERRORF */
27
28 /* Use ddxBeforeReset */
29 /* #undef DDXBEFORERESET */
30
31 /* Build DPMS extension */
32 #define DPMSExtension 1
33
34 /* Build DRI3 extension */
35 #define DRI3 1
36
37 /* Build GLX extension */
38 #define GLXEXT 1
39
40 /* Build GLX DRI loader */
41 /* #undef GLX_DRI */
42
43 /* Path to DRI drivers */
44 #define DRI_DRIVER_PATH "@dridriverpath@"
45
46 /* Support XDM-AUTH*-1 */
47 /* #undef HASXDMAUTH */
48
49 /* Support SHM */
50 #define HAS_SHM 1
51
52 /* Has backtrace support */
53 #define HAVE_BACKTRACE 1
54
55 /* Has libunwind support */
56 /* #undef HAVE_LIBUNWIND */
57
58 /* Define to 1 if you have the `cbrt' function. */
59 #define HAVE_CBRT 1
60
61 /* Define to 1 if you have the declaration of `program_invocation_short_name', and
62 to 0 if you don't. */
63 #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1
64
65 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
66 */
67 #define HAVE_DIRENT_H 1
68
69 /* Define to 1 if you have the <dlfcn.h> header file. */
70 #define HAVE_DLFCN_H 1
71
72 /* Have execinfo.h */
73 #define HAVE_EXECINFO_H 1
74
75 /* Define to 1 if you have the <fcntl.h> header file. */
76 #define HAVE_FCNTL_H 1
77
78 /* Define to 1 if you have the `getdtablesize' function. */
79 #define HAVE_GETDTABLESIZE 1
80
81 /* Define to 1 if you have the `getifaddrs' function. */
82 #define HAVE_GETIFADDRS 1
83
84 /* Define to 1 if you have the `getpeereid' function. */
85 /* #undef HAVE_GETPEEREID */
86
87 /* Define to 1 if you have the `getpeerucred' function. */
88 /* #undef HAVE_GETPEERUCRED */
89
90 /* Define to 1 if you have the `getprogname' function. */
91 /* #undef HAVE_GETPROGNAME */
92
93 /* Define to 1 if you have the `getzoneid' function. */
94 /* #undef HAVE_GETZONEID */
95
96 /* Define to 1 if you have the <inttypes.h> header file. */
97 #define HAVE_INTTYPES_H 1
98
99 /* Have Quartz */
100 /* #undef XQUARTZ */
101
102 /* Support application updating through sparkle. */
103 /* #undef XQUARTZ_SPARKLE */
104
105 /* Prefix to use for bundle identifiers */
106 #define BUNDLE_ID_PREFIX ""
107
108 /* Build a standalone xpbproxy */
109 /* #undef STANDALONE_XPBPROXY */
110
111 /* Define to 1 if you have the `bsd' library (-lbsd). */
112 /* #undef HAVE_LIBBSD */
113
114 /* Define to 1 if you have the `m' library (-lm). */
115 #define HAVE_LIBM 1
116
117 /* Define to 1 if you have the <linux/agpgart.h> header file. */
118 #define HAVE_LINUX_AGPGART_H 1
119
120 /* Define to 1 if you have the <linux/apm_bios.h> header file. */
121 #define HAVE_LINUX_APM_BIOS_H 1
122
123 /* Define to 1 if you have the <linux/fb.h> header file. */
124 #define HAVE_LINUX_FB_H 1
125
126 /* Define to 1 if you have the `memfd_create' function. */
127 #define HAVE_MEMFD_CREATE 1
128
129 /* Define to 1 if you have the `mkostemp' function. */
130 #define HAVE_MKOSTEMP 1
131
132 /* Define to 1 if you have the `mmap' function. */
133 #define HAVE_MMAP 1
134
135 /* Define to 1 if you have the function pthread_setname_np(const char*) */
136 /* #undef HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID */
137
138 /* Define to 1 if you have the function pthread_setname_np(pthread_t, const char*) */
139 #define HAVE_PTHREAD_SETNAME_NP_WITH_TID 1
140
141 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
142 /* #undef HAVE_NDIR_H */
143
144 /* Define to 1 if you have the `reallocarray' function. */
145 #define HAVE_REALLOCARRAY 1
146
147 /* Define to 1 if you have the `arc4random_buf' function. */
148 /* #undef HAVE_ARC4RANDOM_BUF */
149
150 /* Define to use libc SHA1 functions */
151 /* #undef HAVE_SHA1_IN_LIBC */
152
153 /* Define to use CommonCrypto SHA1 functions */
154 /* #undef HAVE_SHA1_IN_COMMONCRYPTO */
155
156 /* Define to use CryptoAPI SHA1 functions */
157 /* #undef HAVE_SHA1_IN_CRYPTOAPI */
158
159 /* Define to use libmd SHA1 functions */
160 /* #undef HAVE_SHA1_IN_LIBMD */
161
162 /* Define to use libgcrypt SHA1 functions */
163 /* #undef HAVE_SHA1_IN_LIBGCRYPT */
164
165 /* Define to use libnettle SHA1 functions */
166 /* #undef HAVE_SHA1_IN_LIBNETTLE */
167
168 /* Define to use libsha1 for SHA1 */
169 /* #undef HAVE_SHA1_IN_LIBSHA1 */
170
171 /* Define to 1 if you have the `shmctl64' function. */
172 /* #undef HAVE_SHMCTL64 */
173
174 /* Define to 1 if you have the <stdlib.h> header file. */
175 #define HAVE_STDLIB_H 1
176
177 /* Define to 1 if you have the `strcasecmp' function. */
178 #define HAVE_STRCASECMP 1
179
180 /* Define to 1 if you have the `strcasestr' function. */
181 #define HAVE_STRCASESTR 1
182
183 /* Define to 1 if you have the `strncasecmp' function. */
184 #define HAVE_STRNCASECMP 1
185
186 /* Define to 1 if you have the `strlcat' function. */
187 /* #undef HAVE_STRLCAT */
188
189 /* Define to 1 if you have the `strlcpy' function. */
190 /* #undef HAVE_STRLCPY */
191
192 /* Define to 1 if you have the <strings.h> header file. */
193 #define HAVE_STRINGS_H 1
194
195 /* Define to 1 if you have the <string.h> header file. */
196 #define HAVE_STRING_H 1
197
198 /* Define to 1 if you have the `strndup' function. */
199 #define HAVE_STRNDUP 1
200
201 /* Define to 1 if libsystemd-daemon is available */
202 /* #undef HAVE_SYSTEMD_DAEMON */
203
204 /* Define to 1 if SYSV IPC is available */
205 #define HAVE_SYSV_IPC 1
206
207 /* Define to 1 if you have the <sys/agpio.h> header file. */
208 /* #undef HAVE_SYS_AGPIO_H */
209
210 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
211 */
212 /* #undef HAVE_SYS_DIR_H */
213
214 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
215 */
216 /* #undef HAVE_SYS_NDIR_H */
217
218 /* Define to 1 if you have the <sys/stat.h> header file. */
219 #define HAVE_SYS_STAT_H 1
220
221 /* Define to 1 if you have the <sys/types.h> header file. */
222 #define HAVE_SYS_TYPES_H 1
223
224 /* Define to 1 if you have the <sys/utsname.h> header file. */
225 #define HAVE_SYS_UTSNAME_H 1
226
227 /* Define to 1 if you have the `timingsafe_memcmp' function. */
228 /* #undef HAVE_TIMINGSAFE_MEMCMP */
229
230 /* Define to 1 if you have the <unistd.h> header file. */
231 #define HAVE_UNISTD_H 1
232
233 /* Define to 1 if you have the <fnmatch.h> header file. */
234 #define HAVE_FNMATCH_H 1
235
236 /* Have /dev/urandom */
237 /* #undef HAVE_URANDOM */
238
239 /* Define to 1 if you have the `vasprintf' function. */
240 #define HAVE_VASPRINTF 1
241
242 /* Support IPv6 for TCP connections */
243 #define IPv6 1
244
245 /* Support os-specific local connections */
246 /* #undef LOCALCONN */
247
248 /* Support MIT-SHM Extension */
249 #define MITSHM 1
250
251 /* Enable some debugging code */
252 /* #undef DEBUG */
253
254 /* Name of package */
255 #define PACKAGE "xorg-server"
256
257 /* Internal define for Xinerama */
258 #define PANORAMIX 1
259
260 /* Support Present extension */
261 #define PRESENT 1
262
263 /* Overall prefix */
264 #define PROJECTROOT "@projectroot@"
265
266 /* Support RANDR extension */
267 #define RANDR 1
268
269 /* Support Record extension */
270 #define XRECORD 1
271
272 /* Support RENDER extension */
273 #define RENDER 1
274
275 /* Support X resource extension */
276 #define RES 1
277
278 /* Support client ID tracking in X resource extension */
279 #define CLIENTIDS 1
280
281 /* Support MIT-SCREEN-SAVER extension */
282 #define SCREENSAVER 1
283
284 /* Support Secure RPC ("SUN-DES-1") authentication for X11 clients */
285 /* #undef SECURE_RPC */
286
287 /* Support SHAPE extension */
288 #define SHAPE 1
289
290 /* Where to install Xorg.bin and Xorg.wrap */
291 /* #undef SUID_WRAPPER_DIR */
292
293 /* Define to 1 on systems derived from System V Release 4 */
294 /* #undef SVR4 */
295
296 /* sysconfdir */
297 #define SYSCONFDIR "@sysconfdir@"
298
299 /* Support TCP socket connections */
300 #define TCPCONN 1
301
302 /* Support UNIX socket connections */
303 #define UNIXCONN 1
304
305 /* Build X string registry */
306 /* #undef XREGISTRY */
307
308 /* Build X-ACE extension */
309 #define XACE 1
310
311 /* Build SELinux extension */
312 /* #undef XSELINUX */
313
314 /* Support XCMisc extension */
315 #define XCMISC 1
316
317 /* Build Security extension */
318 /* #undef XCSECURITY */
319
320 /* Support Xdmcp */
321 /* #undef XDMCP */
322
323 /* Build XFree86 BigFont extension */
324 /* #undef XF86BIGFONT */
325
326 /* Support XFree86 Video Mode extension */
327 #define XF86VIDMODE 1
328
329 /* Support XFixes extension */
330 #define XFIXES 1
331
332 /* Build XDGA support */
333 /* #undef XFreeXDGA */
334
335 /* Support Xinerama extension */
336 #define XINERAMA 1
337
338 /* Current Xorg version */
339 #define XORG_VERSION_CURRENT ((10000000) + ((@version_0@) * 100000) + ((@version_1@) * 1000) + @version_2@)
340
341 /* Build Xv Extension */
342 #define XvExtension 1
343
344 /* Build XvMC Extension */
345 #define XvMCExtension 1
346
347 /* Support XSync extension */
348 #define XSYNC 1
349
350 /* Support XTest extension */
351 #define XTEST 1
352
353 /* Support Xv extension */
354 #define XV 1
355
356 /* Support DRI extension */
357 #define XF86DRI 1
358
359 /* Build DRI2 extension */
360 #define DRI2 1
361
362 /* Build DBE support */
363 #define DBE 1
364
365 /* Vendor name */
366 #define XVENDORNAME "The X.Org Foundation"
367
368 /* Number of bits in a file offset, on hosts where this is settable. */
369 /* #undef _FILE_OFFSET_BITS */
370
371 /* Enable GNU and other extensions to the C environment for GLIBC */
372 #define _GNU_SOURCE 1
373
374 /* Define for large files, on AIX-style hosts. */
375 /* #undef _LARGE_FILES */
376
377 /* Define to empty if `const' does not conform to ANSI C. */
378 /* #undef const */
379
380 /* Define to `int' if <sys/types.h> does not define. */
381 /* #undef pid_t */
382
383 /* Build Rootless code */
384 /* #undef ROOTLESS */
385
386 /* Define to 1 if unsigned long is 64 bits. */
387 #define _XSERVER64 1
388
389 /* System is BSD-like */
390 /* #undef CSRG_BASED */
391
392 /* Define to 1 if `struct sockaddr_in' has a `sin_len' member */
393 /* #undef BSD44SOCKETS */
394
395 /* Support D-Bus */
396 /* #undef HAVE_DBUS */
397
398 /* Use libudev for input hotplug */
399 #define CONFIG_UDEV 1
400
401 /* Use libudev for kms enumeration */
402 #define CONFIG_UDEV_KMS 1
403
404 /* Use udev_monitor_filter_add_match_tag() */
405 #define HAVE_UDEV_MONITOR_FILTER_ADD_MATCH_TAG 1
406
407 /* Use udev_enumerate_add_match_tag() */
408 #define HAVE_UDEV_ENUMERATE_ADD_MATCH_TAG 1
409
410 /* Enable D-Bus core */
411 /* #undef NEED_DBUS */
412
413 /* Support HAL for hotplug */
414 /* #undef CONFIG_HAL */
415
416 /* Enable systemd-logind integration */
417 /* #undef SYSTEMD_LOGIND */
418
419 /* Have a monotonic clock from clock_gettime() */
420 #define MONOTONIC_CLOCK 1
421
422 /* Define to 1 if the DTrace Xserver provider probes should be built in */
423 /* #undef XSERVER_DTRACE */
424
425 /* Define to 1 if typeof works with your compiler. */
426 #define HAVE_TYPEOF 1
427
428 /* Define to __typeof__ if your compiler spells it that way. */
429 #define typeof __typeof__
430
431 /* Correctly set _XSERVER64 for OSX fat binaries */
432 #ifdef __APPLE__
433 #include "dix-config-apple-verbatim.h"
434 #endif
435
436 /* Enable general extensions on Solaris. */
437 #ifndef __EXTENSIONS__
438 # define __EXTENSIONS__ 1
439 #endif
440
441 /* Defined if needed to expose struct msghdr.msg_control */
442 /* #undef _XOPEN_SOURCE */
443
444 /* Have support for X shared memory fence library (xshmfence) */
445 #define HAVE_XSHMFENCE 1
446
447 /* Use XTrans FD passing support */
448 #define XTRANS_SEND_FDS 1
449
450 /* Wrap SIGBUS to catch MIT-SHM faults */
451 #define BUSFAULT 1
452
453 /* Don't let Xdefs.h define 'pointer' */
454 #define _XTYPEDEF_POINTER 1
455
456 /* Don't let XIproto define 'Pointer' */
457 #define _XITYPEDEF_POINTER 1
458
459 /* Ask fontsproto to make font path element names const */
460 #define FONT_PATH_ELEMENT_NAME_CONST 1
461
462 /* Build GLAMOR */
463 #define GLAMOR 1
464
465 /* Build glamor's GBM-based EGL support */
466 #define GLAMOR_HAS_GBM 1
467
468 /* Build glamor/gbm has linear support */
469 /* #undef GLAMOR_HAS_GBM_LINEAR */
470
471 /* GBM has modifiers support */
472 #define GBM_BO_WITH_MODIFIERS 1
473
474 /* GBM has gbm_bo_get_fd_for_plane function */
475 #define GBM_BO_FD_FOR_PLANE 1
476
477 /* Glamor can use eglQueryDmaBuf* functions */
478 #define GLAMOR_HAS_EGL_QUERY_DMABUF 1
479
480 /* Glamor can use EGL_MESA_query_driver functions */
481 #define GLAMOR_HAS_EGL_QUERY_DRIVER 1
482
483 /* byte order */
484 #define X_BYTE_ORDER X_LITTLE_ENDIAN
485
486 /* Listen on TCP socket */
487 /* #undef LISTEN_TCP */
488
489 /* Listen on Unix socket */
490 #define LISTEN_UNIX 1
491
492 /* Listen on local socket */
493 #define LISTEN_LOCAL 1
494
495 /* Define if no local socket credentials interface exists */
496 /* #undef NO_LOCAL_CLIENT_CRED */
497
498 /* Have setitimer support */
499 #define HAVE_SETITIMER 1
500
501 /* Have posix_fallocate() */
502 #define HAVE_POSIX_FALLOCATE 1
503
504 /* Use input thread */
505 #define INPUTTHREAD 1
506
507 /* Have poll() */
508 #define HAVE_POLL 1
509
510 /* Have epoll_create1() */
511 #define HAVE_EPOLL_CREATE1 1
512
513 /* Have <sys/sysmacros.h> header */
514 #define HAVE_SYS_SYSMACROS_H 1
515
516 /* Have sigprocmask */
517 #define HAVE_SIGPROCMASK 1
518
519 /* Have isastream */
520 /* #undef HAVE_ISASTREAM */
521
522 #endif /* _DIX_CONFIG_H_ */
File builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/linux-glibc.sh added (mode: 100755) (index 0000000..574c9b5)
1 #!/bin/sh
2 version_0=21
3 version_1=0
4 version_2=99
5 version_3=1
6 #===================================================================================================
7 # build dir and src dir
8 build_dir=$(readlink -f .)
9 printf "build_dir=$build_dir\n"
10 # we are in contrib subdir
11 src_dir=$(readlink -f $(dirname $0)/..)
12 printf "src_dir=$src_dir\n"
13 #===================================================================================================
14 # the current configur-able variables may be individually overridden with the
15 # content of the file in $1 or $build_dir/local_conf.sh. Look for "unset" in
16 # those scripts to find what you can override to tune the build.
17 if test -f "$1"; then
18 . "$1"
19 else
20 if test -f $build_dir/local_conf.sh; then
21 . $build_dir/local_conf.sh
22 fi
23 fi
24 #===================================================================================================
25 if test "${sysconfdir-unset}" = unset; then
26 sysconfdir='/etc'
27 fi
28 #===================================================================================================
29 if test "${defaultfontdir-unset}" = unset; then
30 defaultfontdir='/usr/share/fonts'
31 fi
32 #===================================================================================================
33 if test "${miscconfigdir-unset}" = unset; then
34 miscconfigdir='/usr/lib/xorg'
35 fi
36 #===================================================================================================
37 if test "${dridriverpath-unset}" = unset; then
38 dridriverpath='/usr/lib/dri'
39 fi
40 #===================================================================================================
41 if test "${projectroot-unset}" = unset; then
42 projectroot=/usr
43 fi
44 #===================================================================================================
45 if test "${xkbbasedir-unset}" = unset; then
46 xkbbasedir='/usr/share/X11/xkb'
47 fi
48 #===================================================================================================
49 if test "${xkbbindir-unset}" = unset; then
50 xkbbindir='/usr/bin'
51 fi
52 #===================================================================================================
53 if test "${xkmoutputdir-unset}" = unset; then
54 xkmoutputdir='/usr/share/X11xkb/compiled/'
55 fi
56 #===================================================================================================
57 if test "${defaultmodulepath-unset}" = unset; then
58 defaultmodulepath='/usr/lib/xorg/modules'
59 fi
60 #===================================================================================================
61 if test "${defaultlibrarypath-unset}" = unset; then
62 defaultlibrarypath='/usr/lib'
63 fi
64 #===================================================================================================
65 if test "${defaultlogdir-unset}" = unset; then
66 defaultlogdir='/var/log'
67 fi
68 #===================================================================================================
69 if test "${datadir-unset}" = unset; then
70 datadir='/usr/share'
71 fi
72 #===================================================================================================
73 if test "${cpp-unset}" = unset; then
74 cpp=false
75 fi
76 #===================================================================================================
77 if test "${cc-unset}" = unset; then
78 cc=false
79 fi
80 #===================================================================================================
81 # you must use binutils ld export-dynamic option because dynamically loaded modules will refer back
82 # no symbols in the xorg binary
83 if test "${xorg_ccld_prolog-unset}" = unset; then
84 xorg_ccld_prolog=false
85 fi
86 if test "${xorg_ccld_epilog-unset}" = unset; then
87 xorg_ccld_epilog=
88 fi
89 #===================================================================================================
90 # this template expect the variable "module_name" to be defined
91 if test "${module_ccld_prolog_tmpl-unset}" = unset; then
92 module_ccld_prolog_tmpl=false
93 fi
94 if test "${module_ccld_epilog_tmpl-unset}" = unset; then
95 module_ccld_epilog_tmpl=
96 fi
97 #===================================================================================================
98 if test "${awk-unset}" = unset; then
99 awk=false
100 fi
101 #===================================================================================================
102 if test "${xorgproto_cppflags-unset}" = unset; then
103 xorgproto_cppflags=
104 fi
105 #===================================================================================================
106 if test "${xtrans_cppflags-unset}" = unset; then
107 xtrans_cppflags=
108 fi
109 #===================================================================================================
110 if test "${libxcvt_cppflags-unset}" = unset; then
111 libxcvt_cppflags=
112 fi
113 if test "${libxcvt_ldflags-unset}" = unset; then
114 libxcvt_ldflags=
115 fi
116 #===================================================================================================
117 if test "${mesa_gl_cppflags-unset}" = unset; then
118 mesa_gl_cppflags=
119 fi
120 if test "${mesa_gl_ldflags-unset}" = unset; then
121 mesa_gl_ldflags=
122 fi
123 if test "${mesa_gbm_ldflags-unset}" = unset; then
124 mesa_gbm_ldflags=
125 fi
126 #===================================================================================================
127 if test "${libxkbfile_cppflags-unset}" = unset; then
128 libxkbfile_cppflags=
129 fi
130 #===================================================================================================
131 if test "${pixman_cppflags-unset}" = unset; then
132 pixman_cppflags=
133 fi
134 if test "${pixman_ldflags-unset}" = unset; then
135 pixman_ldflags=
136 fi
137 #===================================================================================================
138 # why? we are server side
139 if test "${libX11_cppflags-unset}" = unset; then
140 libX11_cppflags=
141 fi
142 #===================================================================================================
143 # why? we are server side
144 if test "${libxcb_cppflags-unset}" = unset; then
145 libxcb_cppflags=
146 fi
147 #===================================================================================================
148 # used by the server
149 if test "${libxau_cppflags-unset}" = unset; then
150 libxau_cppflags=
151 fi
152 if test "${libxau_ldflags-unset}" = unset; then
153 libxau_ldflags=
154 fi
155 #===================================================================================================
156 # used by the server
157 if test "${libxfont2_cppflags-unset}" = unset; then
158 libxfont2_cppflags=
159 fi
160 if test "${libxfont2_ldflags-unset}" = unset; then
161 libxfont2_ldflags=
162 fi
163 #===================================================================================================
164 if test "${libfontenc_cppflags-unset}" = unset; then
165 libfontenc_cppflags=
166 fi
167 #===================================================================================================
168 if test "${freetype_cppflags-unset}" = unset; then
169 freetype_cppflags=
170 fi
171 #===================================================================================================
172 if test "${zlib_cppflags-unset}" = unset; then
173 zlib_cppflags=
174 fi
175 #===================================================================================================
176 if test "${libpng_cppflags-unset}" = unset; then
177 libpng_cppflags=
178 fi
179 #===================================================================================================
180 if test "${libxshmfence_cppflags-unset}" = unset; then
181 libxshmfence_cppflags=
182 fi
183 if test "${libxshmfence_ldflags-unset}" = unset; then
184 libxshmfence_ldflags=
185 fi
186 #===================================================================================================
187 if test "${ssl_cppflags-unset}" = unset; then
188 ssl_cppflags=
189 fi
190 if test "${ssl_ldflags-unset}" = unset; then
191 ssl_ldflags=
192 fi
193 #===================================================================================================
194 if test "${libdrm_cppflags-unset}" = unset; then
195 libdrm_cppflags=
196 fi
197 if test "${libdrm_ldflags-unset}" = unset; then
198 libdrm_ldflags=
199 fi
200 #===================================================================================================
201 if test "${libepoxy_cppflags-unset}" = unset; then
202 libepoxy_cppflags=
203 fi
204 if test "${libepoxy_ldflags-unset}" = unset; then
205 libepoxy_ldflags=
206 fi
207 #===================================================================================================
208 if test "${libudev_cppflags-unset}" = unset; then
209 libudev_cppflags=
210 fi
211 if test "${libudev_ldflags-unset}" = unset; then
212 libudev_ldflags=
213 fi
214 #===================================================================================================
215 if test "${libpciaccess_cppflags-unset}" = unset; then
216 libpciaccess_cppflags=
217 fi
218 if test "${libpciaccess_ldflags-unset}" = unset; then
219 libpciaccess_ldflags=
220 fi
221 #===================================================================================================
222 mkdir -p $build_dir/dix
223 sed -e "s:@sysconfdir@:$sysconfdir:g" \
224 -e "s:@miscconfigpath@:$miscconfigpath:g" \
225 -e "s:@defaultfontdir@:$defaultfontdir:g" \
226 -e "s:@dridriverpath@:$dridriverpath:g" \
227 -e "s:@projectroot@:$projectroot:g" \
228 -e "s:@version_0@:$version_0:g" \
229 -e "s:@version_1@:$version_1:g" \
230 -e "s:@version_2@:$version_2:g" \
231 <$src_dir/contrib/dix-config.h.in \
232 >$build_dir/dix/dix-config.h
233 #---------------------------------------------------------------------------------------------------
234 mkdir -p $build_dir/include
235 sed -e "s:@version_0@:$version_0:g" \
236 -e "s:@version_1@:$version_1:g" \
237 -e "s:@version_2@:$version_2:g" \
238 -e "s:@version_2@:$version_3:g" \
239 <$src_dir/contrib/version-config.h.in \
240 >$build_dir/include/version-config.h
241 #---------------------------------------------------------------------------------------------------
242 mkdir -p $build_dir/include
243 sed -e "s:@xkbbasedir@:$xkbbasedir:g" \
244 -e "s:@xkbbindir@:$xkbbindir:g" \
245 -e "s:@xkmoutputdir@:$xkmoutputdir:g" \
246 <$src_dir/contrib/xkb-config.h.in \
247 >$build_dir/include/xkb-config.h
248 #===================================================================================================
249 unknown_cppflags="\
250 -D_DEFAULT_SOURCE \
251 -D_BSD_SOURCE \
252 -DHAS_FCHOWN \
253 -DHAS_STICKY_DIR_BIT \
254 "
255 xserver_cppflags="\
256 -DHAVE_CONFIG_H \
257 -DHAVE_DIX_CONFIG_H \
258 "
259 cppflags="\
260 $unknown_cppflags \
261 $xserver_cppflags \
262 $xorgproto_cppflags \
263 $xtrans_cppflags \
264 $libxcvt_cppflags \
265 $pixman_cppflags \
266 $libx11_cppflags \
267 $libxcb_cppflags \
268 $libxau_cppflags \
269 $libxfont2_cppflags \
270 $libfontenc_cppflags \
271 $freetype_cppflags \
272 $zlib_cppflags \
273 $libpng_cppflags \
274 $libxshmfence_cppflags \
275 $ssl_cppflags \
276 $libxkbfile_cppflags \
277 $mesa_gl_cppflags \
278 $libdrm_cppflags \
279 $libepoxy_cppflags \
280 $libudev_cppflags \
281 $libpciaccess_cppflags \
282 -I$build_dir/dix \
283 -I$src_dir/dix \
284 -I$build_dir/include \
285 -I$src_dir/include \
286 -I$src_dir/Xext \
287 -I$src_dir/composite \
288 -I$src_dir/damageext \
289 -I$src_dir/xfixes \
290 -I$src_dir/Xi \
291 -I$src_dir/mi \
292 -I$src_dir/miext/sync \
293 -I$src_dir/miext/shadow \
294 -I$src_dir/miext/damage \
295 -I$src_dir/render \
296 -I$src_dir/randr \
297 -I$src_dir/fb \
298 -I$src_dir/dbe \
299 -I$src_dir/present \
300 "
301 #===================================================================================================
302 dix_c_files="\
303 $src_dir/dix/atom.c \
304 $src_dir/dix/colormap.c \
305 $src_dir/dix/cursor.c \
306 $src_dir/dix/devices.c \
307 $src_dir/dix/dispatch.c \
308 $src_dir/dix/dixfonts.c \
309 $src_dir/dix/events.c \
310 $src_dir/dix/main.c \
311 $src_dir/dix/dixutils.c \
312 $src_dir/dix/enterleave.c \
313 $src_dir/dix/eventconvert.c \
314 $src_dir/dix/extension.c \
315 $src_dir/dix/gc.c \
316 $src_dir/dix/getevents.c \
317 $src_dir/dix/gestures.c \
318 $src_dir/dix/globals.c \
319 $src_dir/dix/glyphcurs.c \
320 $src_dir/dix/grabs.c \
321 $src_dir/dix/initatoms.c \
322 $src_dir/dix/inpututils.c \
323 $src_dir/dix/pixmap.c \
324 $src_dir/dix/privates.c \
325 $src_dir/dix/property.c \
326 $src_dir/dix/ptrveloc.c \
327 $src_dir/dix/region.c \
328 $src_dir/dix/registry.c \
329 $src_dir/dix/resource.c \
330 $src_dir/dix/selection.c \
331 $src_dir/dix/swaprep.c \
332 $src_dir/dix/swapreq.c \
333 $src_dir/dix/tables.c \
334 $src_dir/dix/touch.c \
335 $src_dir/dix/window.c \
336 \
337 $src_dir/dix/stubmain.c \
338 "
339 mkdir -p $build_dir/dix
340 for f in $dix_c_files
341 do
342 dix_obj=$build_dir/dix/$(basename $f .c).o
343 dix_objs="$dix_objs $dix_obj"
344
345 $cc $cppflags $f -o $dix_obj &
346 done
347 #===================================================================================================
348 fb_c_files="\
349 $src_dir/fb/fballpriv.c \
350 $src_dir/fb/fbarc.c \
351 $src_dir/fb/fbbits.c \
352 $src_dir/fb/fbblt.c \
353 $src_dir/fb/fbbltone.c \
354 $src_dir/fb/fbcmap_mi.c \
355 $src_dir/fb/fbcopy.c \
356 $src_dir/fb/fbfill.c \
357 $src_dir/fb/fbfillrect.c \
358 $src_dir/fb/fbfillsp.c \
359 $src_dir/fb/fbgc.c \
360 $src_dir/fb/fbgetsp.c \
361 $src_dir/fb/fbglyph.c \
362 $src_dir/fb/fbimage.c \
363 $src_dir/fb/fbline.c \
364 $src_dir/fb/fboverlay.c \
365 $src_dir/fb/fbpict.c \
366 $src_dir/fb/fbpixmap.c \
367 $src_dir/fb/fbpoint.c \
368 $src_dir/fb/fbpush.c \
369 $src_dir/fb/fbscreen.c \
370 $src_dir/fb/fbseg.c \
371 $src_dir/fb/fbsetsp.c \
372 $src_dir/fb/fbsolid.c \
373 $src_dir/fb/fbtrap.c \
374 $src_dir/fb/fbutil.c \
375 $src_dir/fb/fbwindow.c \
376 "
377 mkdir -p $build_dir/fb
378 for f in $fb_c_files
379 do
380 fb_obj=$build_dir/fb/fb_$(basename $f .c).o
381 fbw_obj=$build_dir/fb/fbw_$(basename $f .c).o
382 fb_objs="$fb_objs $fb_obj"
383 fbw_objs="$fbw_objs $fbw_obj"
384
385 $cc $cppflags $f -o $fb_obj &
386 # w as in 'W'rapper
387 $cc $cppflags -DFB_ACCESS_WRAPPER $f -o $fbw_obj &
388 done
389 #===================================================================================================
390 mi_c_files="\
391 $src_dir/mi/miarc.c \
392 $src_dir/mi/mibitblt.c \
393 $src_dir/mi/micmap.c \
394 $src_dir/mi/micopy.c \
395 $src_dir/mi/midash.c \
396 $src_dir/mi/midispcur.c \
397 $src_dir/mi/mieq.c \
398 $src_dir/mi/miexpose.c \
399 $src_dir/mi/mifillarc.c \
400 $src_dir/mi/mifillrct.c \
401 $src_dir/mi/migc.c \
402 $src_dir/mi/miglblt.c \
403 $src_dir/mi/mioverlay.c \
404 $src_dir/mi/mipointer.c \
405 $src_dir/mi/mipoly.c \
406 $src_dir/mi/mipolypnt.c \
407 $src_dir/mi/mipolyrect.c \
408 $src_dir/mi/mipolyseg.c \
409 $src_dir/mi/mipolytext.c \
410 $src_dir/mi/mipushpxl.c \
411 $src_dir/mi/miscrinit.c \
412 $src_dir/mi/misprite.c \
413 $src_dir/mi/mivaltree.c \
414 $src_dir/mi/miwideline.c \
415 $src_dir/mi/miwindow.c \
416 $src_dir/mi/mizerarc.c \
417 $src_dir/mi/mizerclip.c \
418 $src_dir/mi/mizerline.c \
419 "
420 mkdir -p $build_dir/mi
421 for f in $mi_c_files
422 do
423 mi_obj=$build_dir/mi/$(basename $f .c).o
424 mi_objs="$mi_objs $mi_obj"
425
426 $cc $cppflags $f -o $mi_obj &
427 done
428 #===================================================================================================
429 xext_c_files="\
430 $src_dir/Xext/bigreq.c \
431 $src_dir/Xext/geext.c \
432 $src_dir/Xext/shape.c \
433 $src_dir/Xext/sync.c \
434 $src_dir/Xext/xcmisc.c \
435 $src_dir/Xext/xtest.c \
436 $src_dir/Xext/shm.c \
437 $src_dir/Xext/xvmain.c \
438 $src_dir/Xext/xvdisp.c \
439 $src_dir/Xext/xvmc.c \
440 $src_dir/Xext/xres.c \
441 $src_dir/Xext/saver.c \
442 $src_dir/Xext/panoramiX.c \
443 $src_dir/Xext/panoramiXprocs.c \
444 $src_dir/Xext/panoramiXSwap.c \
445 $src_dir/Xext/xace.c \
446 $src_dir/Xext/dpms.c \
447 $src_dir/Xext/hashtable.c \
448 $src_dir/Xext/sleepuntil.c \
449 "
450 mkdir -p $build_dir/xext
451 for f in $xext_c_files
452 do
453 xext_obj=$build_dir/xext/$(basename $f .c).o
454 xext_objs="$xext_objs $xext_obj"
455
456 $cc $cppflags $f -o $xext_obj &
457 done
458 #---------------------------------------------------------------------------------------------------
459 xext_vidmod_c_files="\
460 $src_dir/Xext/vidmode.c \
461 "
462 for f in $xext_vidmod_c_files
463 do
464 xext_vidmod_obj=$build_dir/xext/$(basename $f .c).o
465 xext_vidmod_objs="$xext_vidmod_objs $xext_vidmod_obj"
466
467 $cc $cppflags $f -o $xext_vidmod_obj &
468 done
469 #===================================================================================================
470 miext_sync_c_files="\
471 $src_dir/miext/sync/misync.c \
472 $src_dir/miext/sync/misyncfd.c \
473 $src_dir/miext/sync/misyncshm.c \
474 "
475 mkdir -p $build_dir/miext/sync
476 for f in $miext_sync_c_files
477 do
478 miext_sync_obj=$build_dir/miext/sync/$(basename $f .c).o
479 miext_sync_objs="$miext_sync_objs $miext_sync_obj"
480
481 $cc $cppflags $f -o $miext_sync_obj &
482 done
483 #===================================================================================================
484 miext_damage_c_files="\
485 $src_dir/miext/damage/damage.c \
486 "
487 mkdir -p $build_dir/miext/damage
488 for f in $miext_damage_c_files
489 do
490 miext_damage_obj=$build_dir/miext/damage/$(basename $f .c).o
491 miext_damage_objs="$miext_damage_objs $miext_damage_obj"
492
493 $cc $cppflags $f -o $miext_damage_obj &
494 done
495 #===================================================================================================
496 miext_shadow_c_files="\
497 $src_dir/miext/shadow/shadow.c \
498 $src_dir/miext/shadow/sh3224.c \
499 $src_dir/miext/shadow/shafb4.c \
500 $src_dir/miext/shadow/shafb8.c \
501 $src_dir/miext/shadow/shiplan2p4.c \
502 $src_dir/miext/shadow/shiplan2p8.c \
503 $src_dir/miext/shadow/shpacked.c \
504 $src_dir/miext/shadow/shplanar8.c \
505 $src_dir/miext/shadow/shplanar.c \
506 $src_dir/miext/shadow/shrot16pack_180.c \
507 $src_dir/miext/shadow/shrot16pack_270.c \
508 $src_dir/miext/shadow/shrot16pack_270YX.c \
509 $src_dir/miext/shadow/shrot16pack_90.c \
510 $src_dir/miext/shadow/shrot16pack_90YX.c \
511 $src_dir/miext/shadow/shrot16pack.c \
512 $src_dir/miext/shadow/shrot32pack_180.c \
513 $src_dir/miext/shadow/shrot32pack_270.c \
514 $src_dir/miext/shadow/shrot32pack_90.c \
515 $src_dir/miext/shadow/shrot32pack.c \
516 $src_dir/miext/shadow/shrot8pack_180.c \
517 $src_dir/miext/shadow/shrot8pack_270.c \
518 $src_dir/miext/shadow/shrot8pack_90.c \
519 $src_dir/miext/shadow/shrot8pack.c \
520 $src_dir/miext/shadow/shrotate.c \
521 "
522 mkdir -p $build_dir/miext/shadow
523 for f in $miext_shadow_c_files
524 do
525 miext_shadow_obj=$build_dir/miext/shadow/$(basename $f .c).o
526 miext_shadow_objs="$miext_shadow_objs $miext_shadow_obj"
527
528 $cc $cppflags $f -o $miext_shadow_obj &
529 done
530 #===================================================================================================
531 miext_rootless_c_files="\
532 $src_dir/miext/rootless/rootlessCommon.c \
533 $src_dir/miext/rootless/rootlessGC.c \
534 $src_dir/miext/rootless/rootlessScreen.c \
535 $src_dir/miext/rootless/rootlessValTree.c \
536 $src_dir/miext/rootless/rootlessWindow.c \
537 "
538 mkdir -p $build_dir/miext/rootless
539 for f in $miext_rootless_c_files
540 do
541 miext_rootless_obj=$build_dir/miext/rootless/$(basename $f .c).o
542 miext_rootless_objs="$miext_rootless_objs $miext_rootless_obj"
543
544 $cc $cppflags $f -o $miext_rootless_obj &
545 done
546 #===================================================================================================
547 os_c_files="\
548 $src_dir/os/WaitFor.c \
549 $src_dir/os/access.c \
550 $src_dir/os/auth.c \
551 $src_dir/os/backtrace.c \
552 $src_dir/os/client.c \
553 $src_dir/os/connection.c \
554 $src_dir/os/inputthread.c \
555 $src_dir/os/io.c \
556 $src_dir/os/mitauth.c \
557 $src_dir/os/oscolor.c \
558 $src_dir/os/osinit.c \
559 $src_dir/os/ospoll.c \
560 $src_dir/os/utils.c \
561 $src_dir/os/xdmauth.c \
562 $src_dir/os/xsha1.c \
563 $src_dir/os/xstrans.c \
564 $src_dir/os/xprintf.c \
565 $src_dir/os/log.c \
566 $src_dir/os/busfault.c \
567 $src_dir/os/strlcat.c \
568 $src_dir/os/strlcpy.c \
569 $src_dir/os/timingsafe_memcmp.c \
570 "
571 mkdir -p $build_dir/os
572 for f in $os_c_files
573 do
574 os_obj=$build_dir/os/$(basename $f .c).o
575 os_objs="$os_objs $os_obj"
576
577 $cc $cppflags $f -o $os_obj &
578 done
579 #===================================================================================================
580 randr_c_files="\
581 $src_dir/randr/randr.c \
582 $src_dir/randr/rrcrtc.c \
583 $src_dir/randr/rrdispatch.c \
584 $src_dir/randr/rrinfo.c \
585 $src_dir/randr/rrlease.c \
586 $src_dir/randr/rrmode.c \
587 $src_dir/randr/rrmonitor.c \
588 $src_dir/randr/rroutput.c \
589 $src_dir/randr/rrpointer.c \
590 $src_dir/randr/rrproperty.c \
591 $src_dir/randr/rrprovider.c \
592 $src_dir/randr/rrproviderproperty.c \
593 $src_dir/randr/rrscreen.c \
594 $src_dir/randr/rrsdispatch.c \
595 $src_dir/randr/rrtransform.c \
596 $src_dir/randr/rrxinerama.c \
597 "
598 mkdir -p $build_dir/randr
599 for f in $randr_c_files
600 do
601 randr_obj=$build_dir/randr/$(basename $f .c).o
602 randr_objs="$randr_objs $randr_obj"
603
604 $cc $cppflags $f -o $randr_obj &
605 done
606 #===================================================================================================
607 render_c_files="\
608 $src_dir/render/animcur.c \
609 $src_dir/render/filter.c \
610 $src_dir/render/glyph.c \
611 $src_dir/render/matrix.c \
612 $src_dir/render/miindex.c \
613 $src_dir/render/mipict.c \
614 $src_dir/render/mirect.c \
615 $src_dir/render/mitrap.c \
616 $src_dir/render/mitri.c \
617 $src_dir/render/picture.c \
618 $src_dir/render/render.c \
619 "
620 mkdir -p $build_dir/render
621 for f in $render_c_files
622 do
623 render_obj=$build_dir/render/$(basename $f .c).o
624 render_objs="$render_objs $render_obj"
625
626 $cc $cppflags $f -o $render_obj &
627 done
628 #===================================================================================================
629 xi_c_files="\
630 $src_dir/Xi/allowev.c \
631 $src_dir/Xi/chgdctl.c \
632 $src_dir/Xi/chgfctl.c \
633 $src_dir/Xi/chgkbd.c \
634 $src_dir/Xi/chgkmap.c \
635 $src_dir/Xi/chgprop.c \
636 $src_dir/Xi/chgptr.c \
637 $src_dir/Xi/closedev.c \
638 $src_dir/Xi/devbell.c \
639 $src_dir/Xi/exevents.c \
640 $src_dir/Xi/extinit.c \
641 $src_dir/Xi/getbmap.c \
642 $src_dir/Xi/getdctl.c \
643 $src_dir/Xi/getfctl.c \
644 $src_dir/Xi/getfocus.c \
645 $src_dir/Xi/getkmap.c \
646 $src_dir/Xi/getmmap.c \
647 $src_dir/Xi/getprop.c \
648 $src_dir/Xi/getselev.c \
649 $src_dir/Xi/getvers.c \
650 $src_dir/Xi/grabdev.c \
651 $src_dir/Xi/grabdevb.c \
652 $src_dir/Xi/grabdevk.c \
653 $src_dir/Xi/gtmotion.c \
654 $src_dir/Xi/listdev.c \
655 $src_dir/Xi/opendev.c \
656 $src_dir/Xi/queryst.c \
657 $src_dir/Xi/selectev.c \
658 $src_dir/Xi/sendexev.c \
659 $src_dir/Xi/setbmap.c \
660 $src_dir/Xi/setdval.c \
661 $src_dir/Xi/setfocus.c \
662 $src_dir/Xi/setmmap.c \
663 $src_dir/Xi/setmode.c \
664 $src_dir/Xi/ungrdev.c \
665 $src_dir/Xi/ungrdevb.c \
666 $src_dir/Xi/ungrdevk.c \
667 $src_dir/Xi/xiallowev.c \
668 $src_dir/Xi/xibarriers.c \
669 $src_dir/Xi/xichangecursor.c \
670 $src_dir/Xi/xichangehierarchy.c \
671 $src_dir/Xi/xigetclientpointer.c \
672 $src_dir/Xi/xigrabdev.c \
673 $src_dir/Xi/xipassivegrab.c \
674 $src_dir/Xi/xiproperty.c \
675 $src_dir/Xi/xiquerydevice.c \
676 $src_dir/Xi/xiquerypointer.c \
677 $src_dir/Xi/xiqueryversion.c \
678 $src_dir/Xi/xiselectev.c \
679 $src_dir/Xi/xisetclientpointer.c \
680 $src_dir/Xi/xisetdevfocus.c \
681 $src_dir/Xi/xiwarppointer.c \
682 "
683 mkdir -p $build_dir/xi
684 for f in $xi_c_files
685 do
686 xi_obj=$build_dir/xi/$(basename $f .c).o
687 xi_objs="$xi_objs $xi_obj"
688
689 $cc $cppflags $f -o $xi_obj &
690 done
691 #---------------------------------------------------------------------------------------------------
692 xi_stubs_c_files="\
693 $src_dir/Xi/stubs.c \
694 "
695 for f in $xi_stubs_c_files
696 do
697 xi_stubs_obj=$build_dir/xi/$(basename $f .c).o
698 xi_stubs_objs="$xi_stubs_objs $xi_stubs_obj"
699
700 $cc $cppflags $f -o $xi_stubs_obj &
701 done
702 #===================================================================================================
703 xkb_c_files="\
704 $src_dir/xkb/ddxBeep.c \
705 $src_dir/xkb/ddxCtrls.c \
706 $src_dir/xkb/ddxLEDs.c \
707 $src_dir/xkb/ddxLoad.c \
708 $src_dir/xkb/xkb.c \
709 $src_dir/xkb/xkbUtils.c \
710 $src_dir/xkb/xkbEvents.c \
711 $src_dir/xkb/xkbAccessX.c \
712 $src_dir/xkb/xkbSwap.c \
713 $src_dir/xkb/xkbLEDs.c \
714 $src_dir/xkb/xkbInit.c \
715 $src_dir/xkb/xkbActions.c \
716 $src_dir/xkb/xkbPrKeyEv.c \
717 $src_dir/xkb/maprules.c \
718 $src_dir/xkb/xkmread.c \
719 $src_dir/xkb/xkbtext.c \
720 $src_dir/xkb/xkbfmisc.c \
721 $src_dir/xkb/xkbout.c \
722 $src_dir/xkb/XKBMisc.c \
723 $src_dir/xkb/XKBAlloc.c \
724 $src_dir/xkb/XKBGAlloc.c \
725 $src_dir/xkb/XKBMAlloc.c \
726 "
727 mkdir -p $build_dir/xkb
728 for f in $xkb_c_files
729 do
730 xkb_obj=$build_dir/xkb/$(basename $f .c).o
731 xkb_objs="$xkb_objs $xkb_obj"
732
733 $cc $cppflags $f -o $xkb_obj &
734 done
735 #---------------------------------------------------------------------------------------------------
736 xkb_stubs_c_files="\
737 $src_dir/xkb/ddxVT.c \
738 $src_dir/xkb/ddxPrivate.c \
739 $src_dir/xkb/ddxKillSrv.c \
740 "
741 for f in $xkb_stubs_c_files
742 do
743 xkb_stubs_obj=$build_dir/xkb/$(basename $f .c).o
744 xkb_stubs_objs="$xkb_stubs_objs $xkb_stubs_obj"
745
746 $cc $cppflags $f -o $xkb_stubs_obj &
747 done
748 #===================================================================================================
749 dbe_c_files="\
750 $src_dir/dbe/dbe.c \
751 $src_dir/dbe/midbe.c \
752 "
753 mkdir -p $build_dir/dbe
754 for f in $dbe_c_files
755 do
756 dbe_obj=$build_dir/dbe/$(basename $f .c).o
757 dbe_objs="$dbe_objs $dbe_obj"
758
759 $cc $cppflags $f -o $dbe_obj &
760 done
761 #===================================================================================================
762 record_c_files="\
763 $src_dir/record/record.c \
764 $src_dir/record/set.c \
765 "
766 mkdir -p $build_dir/record
767 for f in $record_c_files
768 do
769 record_obj=$build_dir/record/$(basename $f .c).o
770 record_objs="$record_objs $record_obj"
771
772 $cc $cppflags $f -o $record_obj &
773 done
774 #===================================================================================================
775 xfixes_c_files="\
776 $src_dir/xfixes/xfixes.c \
777 $src_dir/xfixes/cursor.c \
778 $src_dir/xfixes/disconnect.c \
779 $src_dir/xfixes/region.c \
780 $src_dir/xfixes/saveset.c \
781 $src_dir/xfixes/select.c \
782 "
783 mkdir -p $build_dir/xfixes
784 for f in $xfixes_c_files
785 do
786 xfixes_obj=$build_dir/xfixes/$(basename $f .c).o
787 xfixes_objs="$xfixes_objs $xfixes_obj"
788
789 $cc $cppflags $f -o $xfixes_obj &
790 done
791 #===================================================================================================
792 damageext_c_files="\
793 $src_dir/damageext/damageext.c \
794 "
795 mkdir -p $build_dir/damageext
796 for f in $damageext_c_files
797 do
798 damageext_obj=$build_dir/damageext/$(basename $f .c).o
799 damageext_objs="$damageext_objs $damageext_obj"
800
801 $cc $cppflags $f -o $damageext_obj &
802 done
803 #===================================================================================================
804 composite_c_files="\
805 $src_dir/composite/compalloc.c \
806 $src_dir/composite/compext.c \
807 $src_dir/composite/compinit.c \
808 $src_dir/composite/compoverlay.c \
809 $src_dir/composite/compwindow.c \
810 "
811 mkdir -p $build_dir/composite
812 for f in $composite_c_files
813 do
814 composite_obj=$build_dir/composite/$(basename $f .c).o
815 composite_objs="$composite_objs $composite_obj"
816
817 $cc $cppflags $f -o $composite_obj &
818 done
819 #===================================================================================================
820 glx_c_files="\
821 $src_dir/glx/indirect_dispatch.c \
822 $src_dir/glx/indirect_dispatch_swap.c \
823 $src_dir/glx/indirect_reqsize.c \
824 $src_dir/glx/indirect_size_get.c \
825 $src_dir/glx/indirect_table.c \
826 $src_dir/glx/clientinfo.c \
827 $src_dir/glx/createcontext.c \
828 $src_dir/glx/extension_string.c \
829 $src_dir/glx/indirect_util.c \
830 $src_dir/glx/indirect_program.c \
831 $src_dir/glx/indirect_texture_compression.c \
832 $src_dir/glx/glxcmds.c \
833 $src_dir/glx/glxcmdsswap.c \
834 $src_dir/glx/glxext.c \
835 $src_dir/glx/glxdriswrast.c \
836 $src_dir/glx/glxdricommon.c \
837 $src_dir/glx/glxscreens.c \
838 $src_dir/glx/render2.c \
839 $src_dir/glx/render2swap.c \
840 $src_dir/glx/renderpix.c \
841 $src_dir/glx/renderpixswap.c \
842 $src_dir/glx/rensize.c \
843 $src_dir/glx/single2.c \
844 $src_dir/glx/single2swap.c \
845 $src_dir/glx/singlepix.c \
846 $src_dir/glx/singlepixswap.c \
847 $src_dir/glx/singlesize.c \
848 $src_dir/glx/swap_interval.c \
849 $src_dir/glx/xfont.c \
850 "
851 mkdir -p $build_dir/glx
852 for f in $glx_c_files
853 do
854 glx_obj=$build_dir/glx/$(basename $f .c).o
855 glx_objs="$glx_objs $glx_obj"
856
857 $cc -I$src_dir/glx \
858 -I$src_dir/hw/xfree86/common \
859 -I$src_dir/hw/xfree86/dri2 \
860 $cppflags \
861 -D__GLX_ALIGN64 $f -o $glx_obj &
862 done
863 #---------------------------------------------------------------------------------------------------
864 glxdri_c_files="\
865 $src_dir/glx/glxdri2.c \
866 "
867 for f in $glxdri_c_files
868 do
869 glxdri_obj=$build_dir/glx/$(basename $f .c).o
870 glxdri_objs="$glxdri_objs $glxdri_obj"
871
872 $cc -I$src_dir/glx \
873 -I$src_dir/hw/xfree86/common \
874 -I$src_dir/hw/xfree86/dri2 \
875 $cppflags \
876 -D__GLX_ALIGN64 $f -o $glxdri_obj &
877 done
878 #---------------------------------------------------------------------------------------------------
879 glxvnd_c_files="\
880 $src_dir/glx/vndcmds.c \
881 $src_dir/glx/vndext.c \
882 $src_dir/glx/vndservermapping.c \
883 $src_dir/glx/vndservervendor.c \
884 "
885 for f in $glxvnd_c_files
886 do
887 glxvnd_obj=$build_dir/glx/$(basename $f .c).o
888 glxvnd_objs="$glxvnd_objs $glxvnd_obj"
889
890 $cc -I$src_dir/glx \
891 -I$src_dir/hw/xfree86/common \
892 -I$src_dir/hw/xfree86/dri2 \
893 $cppflags \
894 -D__GLX_ALIGN64 $f -o $glxvnd_obj &
895 done
896 #===================================================================================================
897 present_c_files="\
898 $src_dir/present/present.c \
899 $src_dir/present/present_event.c \
900 $src_dir/present/present_execute.c \
901 $src_dir/present/present_fake.c \
902 $src_dir/present/present_fence.c \
903 $src_dir/present/present_notify.c \
904 $src_dir/present/present_request.c \
905 $src_dir/present/present_scmd.c \
906 $src_dir/present/present_screen.c \
907 $src_dir/present/present_vblank.c \
908 "
909 mkdir -p $build_dir/present
910 for f in $present_c_files
911 do
912 present_obj=$build_dir/present/$(basename $f .c).o
913 present_objs="$present_objs $present_obj"
914
915 $cc $cppflags $f -o $present_obj &
916 done
917 #===================================================================================================
918 dri3_c_files="\
919 $src_dir/dri3/dri3.c \
920 $src_dir/dri3/dri3_request.c \
921 $src_dir/dri3/dri3_screen.c \
922 "
923 mkdir -p $build_dir/dri3
924 for f in $dri3_c_files
925 do
926 dri3_obj=$build_dir/dri3/$(basename $f .c).o
927 dri3_objs="$dri3_objs $dri3_obj"
928
929 $cc $cppflags $f -o $dri3_obj &
930 done
931 #===================================================================================================
932 exa_c_files="\
933 $src_dir/exa/exa.c \
934 $src_dir/exa/exa_classic.c \
935 $src_dir/exa/exa_migration_classic.c \
936 $src_dir/exa/exa_driver.c \
937 $src_dir/exa/exa_mixed.c \
938 $src_dir/exa/exa_migration_mixed.c \
939 $src_dir/exa/exa_accel.c \
940 $src_dir/exa/exa_glyphs.c \
941 $src_dir/exa/exa_offscreen.c \
942 $src_dir/exa/exa_render.c \
943 $src_dir/exa/exa_unaccel.c \
944 "
945 mkdir -p $build_dir/exa
946 for f in $exa_c_files
947 do
948 exa_obj=$build_dir/exa/$(basename $f .c).o
949 exa_objs="$exa_objs $exa_obj"
950
951 $cc $cppflags $f -o $exa_obj &
952 done
953 #===================================================================================================
954 glamor_c_files="\
955 $src_dir/glamor/glamor.c \
956 $src_dir/glamor/glamor_copy.c \
957 $src_dir/glamor/glamor_core.c \
958 $src_dir/glamor/glamor_dash.c \
959 $src_dir/glamor/glamor_font.c \
960 $src_dir/glamor/glamor_composite_glyphs.c \
961 $src_dir/glamor/glamor_image.c \
962 $src_dir/glamor/glamor_lines.c \
963 $src_dir/glamor/glamor_segs.c \
964 $src_dir/glamor/glamor_render.c \
965 $src_dir/glamor/glamor_gradient.c \
966 $src_dir/glamor/glamor_prepare.c \
967 $src_dir/glamor/glamor_program.c \
968 $src_dir/glamor/glamor_rects.c \
969 $src_dir/glamor/glamor_spans.c \
970 $src_dir/glamor/glamor_text.c \
971 $src_dir/glamor/glamor_transfer.c \
972 $src_dir/glamor/glamor_transform.c \
973 $src_dir/glamor/glamor_trapezoid.c \
974 $src_dir/glamor/glamor_triangles.c \
975 $src_dir/glamor/glamor_addtraps.c \
976 $src_dir/glamor/glamor_glyphblt.c \
977 $src_dir/glamor/glamor_points.c \
978 $src_dir/glamor/glamor_pixmap.c \
979 $src_dir/glamor/glamor_largepixmap.c \
980 $src_dir/glamor/glamor_picture.c \
981 $src_dir/glamor/glamor_vbo.c \
982 $src_dir/glamor/glamor_window.c \
983 $src_dir/glamor/glamor_fbo.c \
984 $src_dir/glamor/glamor_compositerects.c \
985 $src_dir/glamor/glamor_utils.c \
986 $src_dir/glamor/glamor_sync.c \
987 $src_dir/glamor/glamor_xv.c \
988 "
989 # we ignore $src_dir/glamor/glamor_egl_stubs.c
990
991 mkdir -p $build_dir/glamor
992 for f in $glamor_c_files
993 do
994 glamor_obj=$build_dir/glamor/$(basename $f .c).o
995 glamor_objs="$glamor_objs $glamor_obj"
996
997 $cc $cppflags $f -o $glamor_obj &
998 done
999 #===================================================================================================
1000 config_c_files="\
1001 $src_dir/config/config.c \
1002 $src_dir/config/udev.c \
1003 "
1004 mkdir -p $build_dir/config
1005 for f in $config_c_files
1006 do
1007 config_obj=$build_dir/config/$(basename $f .c).o
1008 config_objs="$config_objs $config_obj"
1009
1010 $cc $cppflags $f -o $config_obj &
1011 done
1012 #===================================================================================================
1013 mkdir -p $build_dir/include
1014 sed -e "s:@version_0@:$version_0:g" \
1015 -e "s:@version_1@:$version_1:g" \
1016 -e "s:@version_2@:$version_2:g" \
1017 -e "s:@version_3@:$version_3:g" \
1018 -e "s:@defaultmodulepath@:$defaultmodulepath:g" \
1019 -e "s:@defaultlibrarypath@:$defaultlibrarypath:g" \
1020 -e "s:@defaultlogdir@:$defaultlogdir:g" \
1021 <$src_dir/contrib/xorg-config.h.in \
1022 >$build_dir/include/xorg-config.h
1023 #---------------------------------------------------------------------------------------------------
1024 mkdir -p $build_dir/hw/xfree86/common
1025
1026 cat $src_dir/hw/xfree86/common/vesamodes $src_dir/hw/xfree86/common/extramodes | \
1027 LC_ALL=C $awk -f $src_dir/hw/xfree86/common/modeline2c.awk \
1028 > $build_dir/hw/xfree86/common/xf86DefModeSet.c
1029
1030 hw_xfree86_common_c_files="\
1031 $build_dir/hw/xfree86/common/xf86DefModeSet.c \
1032 $src_dir/hw/xfree86/common/xf86Configure.c \
1033 $src_dir/hw/xfree86/common/xf86Bus.c \
1034 $src_dir/hw/xfree86/common/xf86Config.c \
1035 $src_dir/hw/xfree86/common/xf86Cursor.c \
1036 $src_dir/hw/xfree86/common/xf86DPMS.c \
1037 $src_dir/hw/xfree86/common/xf86Events.c \
1038 $src_dir/hw/xfree86/common/xf86Globals.c \
1039 $src_dir/hw/xfree86/common/xf86AutoConfig.c \
1040 $src_dir/hw/xfree86/common/xf86Option.c \
1041 $src_dir/hw/xfree86/common/xf86Init.c \
1042 $src_dir/hw/xfree86/common/xf86VidMode.c \
1043 $src_dir/hw/xfree86/common/xf86fbman.c \
1044 $src_dir/hw/xfree86/common/xf86cmap.c \
1045 $src_dir/hw/xfree86/common/xf86Helper.c \
1046 $src_dir/hw/xfree86/common/xf86PM.c \
1047 $src_dir/hw/xfree86/common/xf86Xinput.c \
1048 $src_dir/hw/xfree86/common/xisb.c \
1049 $src_dir/hw/xfree86/common/xf86Mode.c \
1050 $src_dir/hw/xfree86/common/xorgHelper.c \
1051 $src_dir/hw/xfree86/common/xf86Extensions.c \
1052 $src_dir/hw/xfree86/common/xf86xv.c \
1053 $src_dir/hw/xfree86/common/xf86xvmc.c \
1054 $src_dir/hw/xfree86/common/xf86fbBus.c \
1055 $src_dir/hw/xfree86/common/xf86noBus.c \
1056 $src_dir/hw/xfree86/common/xf86pciBus.c \
1057 $src_dir/hw/xfree86/common/xf86VGAarbiter.c \
1058 $src_dir/hw/xfree86/common/xf86platformBus.c \
1059 $src_dir/hw/xfree86/common/xf86RandR.c \
1060 "
1061 for f in $hw_xfree86_common_c_files
1062 do
1063 hw_xfree86_common_obj=$build_dir/hw/xfree86/common/$(basename $f .c).o
1064 hw_xfree86_common_objs="$hw_xfree86_common_objs $hw_xfree86_common_obj"
1065
1066 $cc $cppflags \
1067 -DHAVE_XORG_CONFIG_H -DHAVE_ACPI \
1068 -I$src_dir/hw/xfree86/os-support/bus \
1069 -I$src_dir/hw/xfree86/os-support \
1070 -I$src_dir/hw/xfree86/parser \
1071 -I$src_dir/hw/xfree86/loader \
1072 -I$src_dir/hw/xfree86/ramdac \
1073 -I$src_dir/hw/xfree86/ddc \
1074 -I$src_dir/hw/xfree86/i2c \
1075 -I$src_dir/hw/xfree86/modes \
1076 -I$src_dir/hw/xfree86/common \
1077 $f -o $hw_xfree86_common_obj &
1078 done
1079 #===================================================================================================
1080 hw_xfree86_ddc_c_files="\
1081 $src_dir/hw/xfree86/ddc/ddc.c \
1082 $src_dir/hw/xfree86/ddc/interpret_edid.c \
1083 $src_dir/hw/xfree86/ddc/print_edid.c \
1084 $src_dir/hw/xfree86/ddc/ddcProperty.c \
1085 "
1086 mkdir -p $build_dir/hw/xfree86/ddc
1087 for f in $hw_xfree86_ddc_c_files
1088 do
1089 hw_xfree86_ddc_obj=$build_dir/hw/xfree86/ddc/$(basename $f .c).o
1090 hw_xfree86_ddc_objs="$hw_xfree86_ddc_objs $hw_xfree86_ddc_obj"
1091
1092 $cc $cppflags \
1093 -DHAVE_XORG_CONFIG_H \
1094 -I$src_dir/hw/xfree86/os-support \
1095 -I$src_dir/hw/xfree86/i2c \
1096 -I$src_dir/hw/xfree86/common \
1097 $f -o $hw_xfree86_ddc_obj &
1098 done
1099 #===================================================================================================
1100 hw_xfree86_x86emu_c_files="\
1101 $src_dir/hw/xfree86/x86emu/debug.c \
1102 $src_dir/hw/xfree86/x86emu/decode.c \
1103 $src_dir/hw/xfree86/x86emu/fpu.c \
1104 $src_dir/hw/xfree86/x86emu/ops2.c \
1105 $src_dir/hw/xfree86/x86emu/ops.c \
1106 $src_dir/hw/xfree86/x86emu/prim_ops.c \
1107 $src_dir/hw/xfree86/x86emu/sys.c \
1108 "
1109 mkdir -p $build_dir/hw/xfree86/x86emu
1110 for f in $hw_xfree86_x86emu_c_files
1111 do
1112 hw_xfree86_x86emu_obj=$build_dir/hw/xfree86/x86emu/$(basename $f .c).o
1113 hw_xfree86_x86emu_objs="$hw_xfree86_x86emu_objs $hw_xfree86_x86emu_obj"
1114
1115 $cc $cppflags \
1116 -DHAVE_XORG_CONFIG_H \
1117 -I$src_dir/hw/xfree86/x86emu \
1118 $f -o $hw_xfree86_x86emu_obj &
1119 done
1120 #===================================================================================================
1121 (hw_xfree86_int10_c_files="\
1122 $src_dir/hw/xfree86/int10/vbe.c \
1123 $src_dir/hw/xfree86/int10/vbeModes.c \
1124 $src_dir/hw/xfree86/int10/helper_exec.c \
1125 $src_dir/hw/xfree86/int10/xf86int10.c \
1126 $src_dir/hw/xfree86/int10/xf86int10module.c \
1127 $src_dir/hw/xfree86/int10/xf86x86emu.c \
1128 $src_dir/hw/xfree86/int10/generic.c \
1129 $src_dir/hw/xfree86/int10/x86emu.c \
1130 "
1131 mkdir -p $build_dir/hw/xfree86/int10
1132 for f in $hw_xfree86_int10_c_files
1133 do
1134 hw_xfree86_int10_obj=$build_dir/hw/xfree86/int10/$(basename $f .c).o
1135 hw_xfree86_int10_objs="$hw_xfree86_int10_objs $hw_xfree86_int10_obj"
1136
1137 $cc $cppflags \
1138 -DHAVE_XORG_CONFIG_H \
1139 -D_PC -D_X86EMU -DNO_SYS_HEADERS \
1140 -I$src_dir/hw/xfree86/os-support/bus \
1141 -I$src_dir/hw/xfree86/os-support \
1142 -I$src_dir/hw/xfree86/i2c \
1143 -I$src_dir/hw/xfree86/parser \
1144 -I$src_dir/hw/xfree86/ddc \
1145 -I$src_dir/hw/xfree86/modes \
1146 -I$src_dir/hw/xfree86/common \
1147 -I$src_dir/hw/xfree86/x86emu \
1148 -I$src_dir/hw/xfree86/int10 \
1149 -I$src_dir/hw/xfree86/helper_mem \
1150 $f -o $hw_xfree86_int10_obj &
1151 done
1152 #---------------------------------------------------------------------------------------------------
1153 wait
1154 mkdir -p $build_dir/install_root$defaultmodulepath
1155 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1156 module_name=libint10.so
1157 eval $module_ccld_prolog_tmpl \
1158 $module_ccld_epilog_tmpl \
1159 $hw_xfree86_int10_objs \
1160 $libpciaccess_ldflags \
1161 -o $build_dir/install_root$defaultmodulepath/$module_name) &
1162 #===================================================================================================
1163 hw_xfree86_os_support_bus_c_files="\
1164 $src_dir/hw/xfree86/os-support/bus/Pci.c \
1165 $src_dir/hw/xfree86/os-support/bus/nobus.c \
1166 "
1167 mkdir -p $build_dir/hw/xfree86/os-support/bus
1168 for f in $hw_xfree86_os_support_bus_c_files
1169 do
1170 hw_xfree86_os_support_bus_obj=$build_dir/hw/xfree86/os-support/bus/$(basename $f .c).o
1171 hw_xfree86_os_support_bus_objs="$hw_xfree86_os_support_bus_objs $hw_xfree86_os_support_bus_obj"
1172
1173 $cc $cppflags \
1174 -DHAVE_XORG_CONFIG_H \
1175 $f -o $hw_xfree86_os_support_bus_obj &
1176 done
1177 #===================================================================================================
1178 hw_xfree86_os_support_linux_c_files="\
1179 $src_dir/hw/xfree86/os-support/linux/lnx_init.c \
1180 $src_dir/hw/xfree86/os-support/linux/lnx_video.c \
1181 $src_dir/hw/xfree86/os-support/linux/lnx_kmod.c \
1182 $src_dir/hw/xfree86/os-support/linux/lnx_bell.c \
1183 $src_dir/hw/xfree86/os-support/linux/lnx_platform.c \
1184 $src_dir/hw/xfree86/os-support/shared/VTsw_usl.c \
1185 $src_dir/hw/xfree86/os-support/shared/posix_tty.c \
1186 $src_dir/hw/xfree86/os-support/shared/vidmem.c \
1187 $src_dir/hw/xfree86/os-support/shared/sigio.c \
1188 $src_dir/hw/xfree86/os-support/linux/lnx_acpi.c \
1189 $src_dir/hw/xfree86/os-support/linux/lnx_apm.c \
1190 $src_dir/hw/xfree86/os-support/linux/lnx_agp.c \
1191 "
1192 mkdir -p $build_dir/hw/xfree86/os-support/linux
1193 for f in $hw_xfree86_os_support_linux_c_files
1194 do
1195 hw_xfree86_os_support_linux_obj=$build_dir/hw/xfree86/os-support/linux/$(basename $f .c).o
1196 hw_xfree86_os_support_linux_objs="$hw_xfree86_os_support_linux_objs $hw_xfree86_os_support_linux_obj"
1197
1198 $cc $cppflags \
1199 -DHAVE_XORG_CONFIG_H \
1200 -DHAVE_ACPI -DHAVE_APM \
1201 -DHAVE_SYSV_IPC \
1202 -I$src_dir/hw/xfree86/os-support \
1203 -I$src_dir/hw/xfree86/common \
1204 $f -o $hw_xfree86_os_support_linux_obj &
1205 done
1206 #===================================================================================================
1207 hw_xfree86_os_support_misc_c_files="\
1208 $src_dir/hw/xfree86/os-support/misc/SlowBcopy.c \
1209 "
1210 mkdir -p $build_dir/hw/xfree86/os-support/misc
1211 for f in $hw_xfree86_os_support_misc_c_files
1212 do
1213 hw_xfree86_os_support_misc_obj=$build_dir/hw/xfree86/os-support/misc/$(basename $f .c).o
1214 hw_xfree86_os_support_misc_objs="$hw_xfree86_os_support_misc_objs $hw_xfree86_os_support_misc_obj"
1215
1216 $cc $cppflags \
1217 -DHAVE_XORG_CONFIG_H \
1218 -I$src_dir/hw/xfree86/os-support \
1219 -I$src_dir/hw/xfree86/common \
1220 $f -o $hw_xfree86_os_support_misc_obj &
1221 done
1222 #===================================================================================================
1223 hw_xfree86_parser_c_files="\
1224 $src_dir/hw/xfree86/parser/Device.c \
1225 $src_dir/hw/xfree86/parser/Files.c \
1226 $src_dir/hw/xfree86/parser/Flags.c \
1227 $src_dir/hw/xfree86/parser/Input.c \
1228 $src_dir/hw/xfree86/parser/InputClass.c \
1229 $src_dir/hw/xfree86/parser/OutputClass.c \
1230 $src_dir/hw/xfree86/parser/Layout.c \
1231 $src_dir/hw/xfree86/parser/Module.c \
1232 $src_dir/hw/xfree86/parser/Video.c \
1233 $src_dir/hw/xfree86/parser/Monitor.c \
1234 $src_dir/hw/xfree86/parser/Pointer.c \
1235 $src_dir/hw/xfree86/parser/Screen.c \
1236 $src_dir/hw/xfree86/parser/Vendor.c \
1237 $src_dir/hw/xfree86/parser/read.c \
1238 $src_dir/hw/xfree86/parser/scan.c \
1239 $src_dir/hw/xfree86/parser/write.c \
1240 $src_dir/hw/xfree86/parser/DRI.c \
1241 $src_dir/hw/xfree86/parser/Extensions.c \
1242 "
1243 mkdir -p $build_dir/hw/xfree86/parser
1244 for f in $hw_xfree86_parser_c_files
1245 do
1246 hw_xfree86_parser_obj=$build_dir/hw/xfree86/parser/$(basename $f .c).o
1247 hw_xfree86_parser_objs="$hw_xfree86_parser_objs $hw_xfree86_parser_obj"
1248
1249 $cc $cppflags \
1250 -DHAVE_XORG_CONFIG_H \
1251 -DDATADIR=\"$datadir\" \
1252 -I$src_dir/hw/xfree86/parser \
1253 -I$src_dir/hw/xfree86/common \
1254 $f -o $hw_xfree86_parser_obj &
1255 done
1256 #===================================================================================================
1257 hw_xfree86_ramdac_c_files="\
1258 $src_dir/hw/xfree86/ramdac/xf86CursorRD.c \
1259 $src_dir/hw/xfree86/ramdac/xf86HWCurs.c \
1260 "
1261 mkdir -p $build_dir/hw/xfree86/ramdac
1262 for f in $hw_xfree86_ramdac_c_files
1263 do
1264 hw_xfree86_ramdac_obj=$build_dir/hw/xfree86/ramdac/$(basename $f .c).o
1265 hw_xfree86_ramdac_objs="$hw_xfree86_ramdac_objs $hw_xfree86_ramdac_obj"
1266
1267 $cc $cppflags \
1268 -DHAVE_XORG_CONFIG_H \
1269 -I$src_dir/hw/xfree86/os-support \
1270 -I$src_dir/hw/xfree86/common \
1271 $f -o $hw_xfree86_ramdac_obj &
1272 done
1273 #===================================================================================================
1274 (hw_xfree86_vgahw_c_files="\
1275 $src_dir/hw/xfree86/vgahw/vgaHW.c \
1276 $src_dir/hw/xfree86/vgahw/vgaHWmodule.c \
1277 "
1278 mkdir -p $build_dir/hw/xfree86/vgahw
1279 for f in $hw_xfree86_vgahw_c_files
1280 do
1281 hw_xfree86_vgahw_obj=$build_dir/hw/xfree86/vgahw/$(basename $f .c).o
1282 hw_xfree86_vgahw_objs="$hw_xfree86_vgahw_objs $hw_xfree86_vgahw_obj"
1283
1284 $cc $cppflags \
1285 -DHAVE_XORG_CONFIG_H \
1286 -I$src_dir/hw/xfree86/os-support/bus \
1287 -I$src_dir/hw/xfree86/os-support \
1288 -I$src_dir/hw/xfree86/i2c \
1289 -I$src_dir/hw/xfree86/ddc \
1290 -I$src_dir/hw/xfree86/common \
1291 $f -o $hw_xfree86_vgahw_obj &
1292 done
1293 #---------------------------------------------------------------------------------------------------
1294 wait
1295 mkdir -p $build_dir/install_root$defaultmodulepath
1296 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1297 module_name=libvgahw.so
1298 eval $module_ccld_prolog_tmpl \
1299 $module_ccld_epilog_tmpl \
1300 $hw_xfree86_vgahw_objs \
1301 $libpciaccess_ldflags \
1302 -o $build_dir/install_root$defaultmodulepath/$module_name) &
1303 #===================================================================================================
1304 hw_xfree86_loader_c_files="\
1305 $src_dir/hw/xfree86/loader/loader.c \
1306 $src_dir/hw/xfree86/loader/loadmod.c \
1307 "
1308 mkdir -p $build_dir/hw/xfree86/loader
1309 for f in $hw_xfree86_loader_c_files
1310 do
1311 hw_xfree86_loader_obj=$build_dir/hw/xfree86/loader/$(basename $f .c).o
1312 hw_xfree86_loader_objs="$hw_xfree86_loader_objs $hw_xfree86_loader_obj"
1313
1314 $cc $cppflags \
1315 -DHAVE_XORG_CONFIG_H \
1316 -I$src_dir/hw/xfree86/common \
1317 $f -o $hw_xfree86_loader_obj &
1318 done
1319 #===================================================================================================
1320 hw_xfree86_modes_c_files="\
1321 $src_dir/hw/xfree86/modes/xf86Crtc.c \
1322 $src_dir/hw/xfree86/modes/xf86Cursors.c \
1323 $src_dir/hw/xfree86/modes/xf86gtf.c \
1324 $src_dir/hw/xfree86/modes/xf86EdidModes.c \
1325 $src_dir/hw/xfree86/modes/xf86Modes.c \
1326 $src_dir/hw/xfree86/modes/xf86RandR12.c \
1327 $src_dir/hw/xfree86/modes/xf86Rotate.c \
1328 "
1329 mkdir -p $build_dir/hw/xfree86/modes
1330 for f in $hw_xfree86_modes_c_files
1331 do
1332 hw_xfree86_modes_obj=$build_dir/hw/xfree86/modes/$(basename $f .c).o
1333 hw_xfree86_modes_objs="$hw_xfree86_modes_objs $hw_xfree86_modes_obj"
1334
1335 $cc $cppflags \
1336 -DHAVE_XORG_CONFIG_H \
1337 -I$src_dir/hw/xfree86/ramdac \
1338 -I$src_dir/hw/xfree86/ddc \
1339 -I$src_dir/hw/xfree86/i2c \
1340 -I$src_dir/hw/xfree86/parser \
1341 -I$src_dir/hw/xfree86/common \
1342 $f -o $hw_xfree86_modes_obj &
1343 done
1344 #===================================================================================================
1345 hw_xfree86_dri_c_files="\
1346 $src_dir/hw/xfree86/dri/dri.c \
1347 $src_dir/hw/xfree86/dri/xf86dri.c \
1348 "
1349 mkdir -p $build_dir/hw/xfree86/dri
1350 for f in $hw_xfree86_dri_c_files
1351 do
1352 hw_xfree86_dri_obj=$build_dir/hw/xfree86/dri/$(basename $f .c).o
1353 hw_xfree86_dri_objs="$hw_xfree86_dri_objs $hw_xfree86_dri_obj"
1354
1355 $cc $cppflags \
1356 -DHAVE_XORG_CONFIG_H \
1357 -I$src_dir/hw/xfree86/os-support \
1358 -I$src_dir/hw/xfree86/i2c \
1359 -I$src_dir/hw/xfree86/ramdac \
1360 -I$src_dir/hw/xfree86/ddc \
1361 -I$src_dir/hw/xfree86/modes \
1362 -I$src_dir/hw/xfree86/parser \
1363 -I$src_dir/hw/xfree86/common \
1364 $f -o $hw_xfree86_dri_obj &
1365 done
1366 #===================================================================================================
1367 hw_xfree86_dri2_c_files="\
1368 $src_dir/hw/xfree86/dri2/dri2.c \
1369 $src_dir/hw/xfree86/dri2/dri2ext.c \
1370 "
1371 mkdir -p $build_dir/hw/xfree86/dri2
1372 for f in $hw_xfree86_dri2_c_files
1373 do
1374 hw_xfree86_dri2_obj=$build_dir/hw/xfree86/dri2/$(basename $f .c).o
1375 hw_xfree86_dri2_objs="$hw_xfree86_dri2_objs $hw_xfree86_dri2_obj"
1376
1377 $cc $cppflags \
1378 -DHAVE_XORG_CONFIG_H \
1379 -I$src_dir/hw/xfree86/dri2 \
1380 -I$src_dir/hw/xfree86/common \
1381 $f -o $hw_xfree86_dri2_obj &
1382 done
1383 #===================================================================================================
1384 mkdir -p $build_dir/hw/xfree86
1385 PWD_SAVED=$(pwd)
1386 cd $build_dir/hw/xfree86
1387 CPP="$cpp" AWK="$awk" /bin/sh $src_dir/hw/xfree86/sdksyms.sh \
1388 "$src_dir" \
1389 -isystem /nyan/glibc/current/include \
1390 -isystem /nyan/linux-headers/current/include \
1391 -I$src_dir/hw/xfree86/dri2 \
1392 -I$src_dir/hw/xfree86/dri \
1393 -I$src_dir/hw/xfree86/ramdac \
1394 -I$src_dir/hw/xfree86/modes \
1395 -I$src_dir/hw/xfree86/parser \
1396 -I$src_dir/hw/xfree86/ddc \
1397 -I$src_dir/hw/xfree86/i2c \
1398 -I$src_dir/hw/xfree86/os-support/bus \
1399 -I$src_dir/hw/xfree86/os-support \
1400 -I$src_dir/hw/xfree86/common \
1401 -I$src_dir/dri3 \
1402 $cppflags -DHAVE_XORG_CONFIG_H
1403 cd $PWD_SAVED
1404 hw_xfree86_c_files="\
1405 $build_dir/hw/xfree86/sdksyms.c \
1406 "
1407 for f in $hw_xfree86_c_files
1408 do
1409 hw_xfree86_obj=$build_dir/hw/xfree86/$(basename $f .c).o
1410 hw_xfree86_objs="$hw_xfree86_objs $hw_xfree86_obj"
1411
1412 $cc $cppflags \
1413 -DHAVE_XORG_CONFIG_H \
1414 -I$src_dir/hw/xfree86/dri2 \
1415 -I$src_dir/hw/xfree86/dri \
1416 -I$src_dir/hw/xfree86/ramdac \
1417 -I$src_dir/hw/xfree86/modes \
1418 -I$src_dir/hw/xfree86/parser \
1419 -I$src_dir/hw/xfree86/ddc \
1420 -I$src_dir/hw/xfree86/i2c \
1421 -I$src_dir/hw/xfree86/os-support/bus \
1422 -I$src_dir/hw/xfree86/os-support \
1423 -I$src_dir/hw/xfree86/common \
1424 -I$src_dir/dri3 \
1425 $f -o $hw_xfree86_obj &
1426 done
1427 #===================================================================================================
1428 hw_xfree86_dixmods_c_files="\
1429 $src_dir/mi/miinitext.c \
1430 "
1431 mkdir -p $build_dir/hw/xfree86/dixmods
1432 for f in $hw_xfree86_dixmods_c_files
1433 do
1434 hw_xfree86_dixmods_obj=$build_dir/hw/xfree86/dixmods/$(basename $f .c).o
1435 hw_xfree86_dixmods_objs="$hw_xfree86_dixmods_objs $hw_xfree86_dixmods_obj"
1436
1437 $cc $cppflags \
1438 -DHAVE_XORG_CONFIG_H \
1439 -I$src_dir/hw/xfree86/common \
1440 $f -o $hw_xfree86_dixmods_obj &
1441 done
1442 #===================================================================================================
1443 hw_xfree86_i2c_c_files="\
1444 $src_dir/hw/xfree86/i2c/xf86i2c.c \
1445 "
1446 mkdir -p $build_dir/hw/xfree86/i2c
1447 for f in $hw_xfree86_i2c_c_files
1448 do
1449 hw_xfree86_i2c_obj=$build_dir/hw/xfree86/i2c/$(basename $f .c).o
1450 hw_xfree86_i2c_objs="$hw_xfree86_i2c_objs $hw_xfree86_i2c_obj"
1451
1452 $cc $cppflags \
1453 -DHAVE_XORG_CONFIG_H \
1454 -I$src_dir/hw/xfree86/os-support \
1455 -I$src_dir/hw/xfree86/common \
1456 $f -o $hw_xfree86_i2c_obj &
1457 done
1458 #===================================================================================================
1459 hw_xfree86_xkb_c_files="\
1460 $src_dir/hw/xfree86/xkb/xkbVT.c \
1461 $src_dir/hw/xfree86/xkb/xkbPrivate.c \
1462 $src_dir/hw/xfree86/xkb/xkbKillSrv.c \
1463 "
1464 mkdir -p $build_dir/hw/xfree86/xkb
1465 for f in $hw_xfree86_xkb_c_files
1466 do
1467 hw_xfree86_xkb_obj=$build_dir/hw/xfree86/xkb/$(basename $f .c).o
1468 hw_xfree86_xkb_objs="$hw_xfree86_xkb_objs $hw_xfree86_xkb_obj"
1469
1470 $cc $cppflags \
1471 -DHAVE_XORG_CONFIG_H \
1472 -I$src_dir/hw/xfree86/common \
1473 $f -o $hw_xfree86_xkb_obj &
1474 done
1475 #===================================================================================================
1476 wait
1477 mkdir -p $build_dir/install_root/$projectroot/bin
1478 $xorg_ccld_prolog \
1479 $dix_objs \
1480 $hw_xfree86_loader_objs \
1481 $hw_xfree86_common_objs \
1482 $config_objs \
1483 $hw_xfree86_os_support_bus_objs \
1484 $hw_xfree86_os_support_linux_objs \
1485 $hw_xfree86_os_support_misc_objs \
1486 $hw_xfree86_parser_objs \
1487 $hw_xfree86_dixmods_objs \
1488 $hw_xfree86_modes_objs \
1489 $hw_xfree86_ramdac_objs \
1490 $hw_xfree86_ddc_objs \
1491 $hw_xfree86_i2c_objs \
1492 $composite_objs \
1493 $xfixes_objs \
1494 $xext_objs \
1495 $dbe_objs \
1496 $record_objs \
1497 $randr_objs \
1498 $render_objs \
1499 $damageext_objs \
1500 $present_objs \
1501 $miext_damage_objs \
1502 $xi_objs \
1503 $xkb_objs \
1504 $hw_xfree86_xkb_objs \
1505 $hw_xfree86_dri_objs \
1506 $hw_xfree86_dri2_objs \
1507 $dri3_objs \
1508 $glxvnd_objs \
1509 $fb_objs \
1510 $miext_sync_objs \
1511 $mi_objs \
1512 $os_objs \
1513 $xext_vidmod_objs \
1514 $xorg_ccld_epilog \
1515 $pixman_ldflags \
1516 $libpciaccess_ldflags \
1517 $libxfont2_ldflags \
1518 $libdrm_ldflags \
1519 $libxshmfence_ldflags \
1520 $libudev_ldflags \
1521 $libxcvt_ldflags \
1522 $libxau_ldflags \
1523 $ssl_ldflags \
1524 -lm -ldl -lpthread \
1525 \
1526 -o $build_dir/install_root$projectroot/bin/Xorg \
1527 $build_dir/hw/xfree86/sdksyms.o
1528 #===================================================================================================
1529 (hw_xfree86_dixmods_glxmodule_c_files="\
1530 $src_dir/hw/xfree86/dixmods/glxmodule.c
1531 "
1532 mkdir -p $build_dir/hw/xfree86/dixmods
1533 for f in $hw_xfree86_dixmods_glxmodule_c_files
1534 do
1535 hw_xfree86_dixmods_glxmodule_obj=$build_dir/hw/xfree86/dixmods/$(basename $f .c).o
1536 hw_xfree86_dixmods_glxmodule_objs="$hw_xfree86_dixmods_glxmodule_objs $hw_xfree86_dixmods_glxmodule_obj"
1537
1538 $cc $cppflags \
1539 -DHAVE_XORG_CONFIG_H \
1540 -I$src_dir/hw/xfree86/common \
1541 -I$src_dir/glx \
1542 $f -o $hw_xfree86_dixmods_glxmodule_obj &
1543 done
1544 #---------------------------------------------------------------------------------------------------
1545 wait
1546 mkdir -p $build_dir/install_root$defaultmodulepath/extensions
1547 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1548 module_name=libglx.so
1549 eval $module_ccld_prolog_tmpl \
1550 $glxdri_objs \
1551 $glx_objs \
1552 $module_ccld_epilog_tmpl \
1553 $hw_xfree86_dixmods_glxmodule_objs \
1554 $mesa_gl_ldflags \
1555 -ldl \
1556 -o $build_dir/install_root$defaultmodulepath/extensions/$module_name) &
1557 #===================================================================================================
1558 (hw_xfree86_dixmods_libwfb_c_files="\
1559 $src_dir/hw/xfree86/dixmods/fbmodule.c
1560 "
1561 mkdir -p $build_dir/hw/xfree86/dixmods
1562 for f in $hw_xfree86_dixmods_libwfb_c_files
1563 do
1564 hw_xfree86_dixmods_libwfb_obj=$build_dir/hw/xfree86/dixmods/$(basename $f .c).o
1565 hw_xfree86_dixmods_libwfb_objs="$hw_xfree86_dixmods_libwfb_objs $hw_xfree86_dixmods_libwfb_obj"
1566
1567 $cc $cppflags \
1568 -DHAVE_XORG_CONFIG_H \
1569 -DFB_ACCESS_WRAPPER \
1570 -I$src_dir/hw/xfree86/common \
1571 $f -o $hw_xfree86_dixmods_libwfb_obj &
1572 done
1573 #---------------------------------------------------------------------------------------------------
1574 wait
1575 mkdir -p $build_dir/install_root$defaultmodulepath
1576 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1577 module_name=libwfb.so
1578 eval $module_ccld_prolog_tmpl \
1579 $fbw_objs \
1580 $module_ccld_epilog_tmpl \
1581 $hw_xfree86_dixmods_libwfb_objs \
1582 $pixman_ldflags \
1583 -o $build_dir/install_root$defaultmodulepath/$module_name) &
1584 #===================================================================================================
1585 (hw_xfree86_dixmods_libshadow_c_files="\
1586 $src_dir/hw/xfree86/dixmods/shmodule.c
1587 "
1588 mkdir -p $build_dir/hw/xfree86/dixmods
1589 for f in $hw_xfree86_dixmods_libshadow_c_files
1590 do
1591 hw_xfree86_dixmods_libshadow_obj=$build_dir/hw/xfree86/dixmods/$(basename $f .c).o
1592 hw_xfree86_dixmods_libshadow_objs="$hw_xfree86_dixmods_libshadow_objs $hw_xfree86_dixmods_libshadow_obj"
1593
1594 $cc $cppflags \
1595 -DHAVE_XORG_CONFIG_H \
1596 -I$src_dir/hw/xfree86/common \
1597 $f -o $hw_xfree86_dixmods_libshadow_obj &
1598 done
1599 #---------------------------------------------------------------------------------------------------
1600 wait
1601 mkdir -p $build_dir/install_root$defaultmodulepath
1602 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1603 module_name=libshadow.so
1604 eval $module_ccld_prolog_tmpl \
1605 $miext_shadow_objs \
1606 $module_ccld_epilog_tmpl \
1607 $hw_xfree86_dixmods_libshadow_objs \
1608 -o $build_dir/install_root$defaultmodulepath/$module_name) &
1609 #===================================================================================================
1610 (hw_xfree86_fbdevhw_c_files="\
1611 $src_dir/hw/xfree86/fbdevhw/fbdevhw.c
1612 "
1613 mkdir -p $build_dir/hw/xfree86/fbdevhw
1614 for f in $hw_xfree86_fbdevhw_c_files
1615 do
1616 hw_xfree86_fbdevhw_obj=$build_dir/hw/xfree86/fbdevhw/$(basename $f .c).o
1617 hw_xfree86_fbdevhw_objs="$hw_xfree86_fbdevhw_objs $hw_xfree86_fbdevhw_obj"
1618
1619 $cc $cppflags \
1620 -DHAVE_XORG_CONFIG_H \
1621 -I$src_dir/hw/xfree86/os-support/bus \
1622 -I$src_dir/hw/xfree86/os-support \
1623 -I$src_dir/hw/xfree86/parser \
1624 -I$src_dir/hw/xfree86/ddc \
1625 -I$src_dir/hw/xfree86/modes \
1626 -I$src_dir/hw/xfree86/common \
1627 $f -o $hw_xfree86_fbdevhw_obj &
1628 done
1629 #---------------------------------------------------------------------------------------------------
1630 wait
1631 mkdir -p $build_dir/install_root$defaultmodulepath
1632 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1633 module_name=libfbdevhw.so
1634 eval $module_ccld_prolog_tmpl \
1635 $module_ccld_epilog_tmpl \
1636 $hw_xfree86_fbdevhw_objs \
1637 -o $build_dir/install_root$defaultmodulepath/$module_name) &
1638 #===================================================================================================
1639 (hw_xfree86_shadowfb_libshadowfb_c_files="\
1640 $src_dir/hw/xfree86/shadowfb/sfbmodule.c
1641 $src_dir/hw/xfree86/shadowfb/shadowfb.c
1642 "
1643 mkdir -p $build_dir/hw/xfree86/shadowfb
1644 for f in $hw_xfree86_shadowfb_libshadowfb_c_files
1645 do
1646 hw_xfree86_shadowfb_libshadowfb_obj=$build_dir/hw/xfree86/shadowfb/$(basename $f .c).o
1647 hw_xfree86_shadowfb_libshadowfb_objs="$hw_xfree86_shadowfb_libshadowfb_objs $hw_xfree86_shadowfb_libshadowfb_obj"
1648
1649 $cc $cppflags \
1650 -DHAVE_XORG_CONFIG_H \
1651 -I$src_dir/hw/xfree86/common \
1652 $f -o $hw_xfree86_shadowfb_libshadowfb_obj &
1653 done
1654 #---------------------------------------------------------------------------------------------------
1655 wait
1656 mkdir -p $build_dir/install_root$defaultmodulepath
1657 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1658 module_name=libshadowfb.so
1659 eval $module_ccld_prolog_tmpl \
1660 $module_ccld_epilog_tmpl \
1661 $hw_xfree86_shadowfb_libshadowfb_objs \
1662 -o $build_dir/install_root$defaultmodulepath/$module_name) &
1663 #===================================================================================================
1664 (hw_xfree86_exa_libexa_c_files="\
1665 $src_dir/hw/xfree86/exa/examodule.c
1666 "
1667 mkdir -p $build_dir/hw/xfree86/exa
1668 for f in $hw_xfree86_exa_libexa_c_files
1669 do
1670 hw_xfree86_exa_libexa_obj=$build_dir/hw/xfree86/exa/$(basename $f .c).o
1671 hw_xfree86_exa_libexa_objs="$hw_xfree86_exa_libexa_objs $hw_xfree86_exa_libexa_obj"
1672
1673 $cc $cppflags \
1674 -DHAVE_XORG_CONFIG_H \
1675 -I$src_dir/hw/xfree86/common \
1676 -I$src_dir/exa \
1677 $f -o $hw_xfree86_exa_libexa_obj &
1678 done
1679 #---------------------------------------------------------------------------------------------------
1680 wait
1681 mkdir -p $build_dir/install_root$defaultmodulepath
1682 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1683 module_name=libexa.so
1684 eval $module_ccld_prolog_tmpl \
1685 $exa_objs \
1686 $module_ccld_epilog_tmpl \
1687 $hw_xfree86_exa_libexa_objs \
1688 $pixman_ldflags \
1689 -o $build_dir/install_root$defaultmodulepath/$module_name) &
1690 #===================================================================================================
1691 (glamor_libglamoregl_c_files="\
1692 $src_dir/glamor/glamor_egl.c \
1693 $src_dir/glamor/glamor_eglmodule.c \
1694 $src_dir/hw/xfree86/glamor_egl/glamor_xf86_xv.c \
1695 "
1696 mkdir -p $build_dir/glamor
1697 for f in $glamor_libglamoregl_c_files
1698 do
1699 glamor_libglamoregl_obj=$build_dir/glamor/$(basename $f .c).o
1700 glamor_libglamoregl_objs="$glamor_libglamoregl_objs $glamor_libglamoregl_obj"
1701
1702 $cc $cppflags \
1703 -DHAVE_XORG_CONFIG_H \
1704 -I$src_dir/hw/xfree86/common \
1705 -I$src_dir/glamor \
1706 -I$src_dir/dri3 \
1707 $f -o $glamor_libglamoregl_obj &
1708 done
1709 #---------------------------------------------------------------------------------------------------
1710 wait
1711 mkdir -p $build_dir/install_root$defaultmodulepath
1712 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1713 module_name=libglamoregl.so
1714 eval $module_ccld_prolog_tmpl \
1715 $glamor_objs \
1716 $module_ccld_epilog_tmpl \
1717 $glamor_libglamoregl_objs \
1718 $libepoxy_ldflags \
1719 $pixman_ldflags \
1720 $mesa_gbm_ldflags \
1721 -lm \
1722 -o $build_dir/install_root$defaultmodulepath/$module_name) &
1723 #===================================================================================================
1724 (hw_xfree86_drivers_modesetting_c_files="\
1725 $src_dir/hw/xfree86/drivers/modesetting/dri2.c \
1726 $src_dir/hw/xfree86/drivers/modesetting/driver.c \
1727 $src_dir/hw/xfree86/drivers/modesetting/drmmode_display.c \
1728 $src_dir/hw/xfree86/drivers/modesetting/dumb_bo.c \
1729 $src_dir/hw/xfree86/drivers/modesetting/present.c \
1730 $src_dir/hw/xfree86/drivers/modesetting/vblank.c \
1731 $src_dir/hw/xfree86/drivers/modesetting/pageflip.c \
1732 "
1733 mkdir -p $build_dir/hw/xfree86/drivers/modesetting
1734 for f in $hw_xfree86_drivers_modesetting_c_files
1735 do
1736 hw_xfree86_drivers_modesetting_obj=$build_dir/hw/xfree86/drivers/modesetting/$(basename $f .c).o
1737 hw_xfree86_drivers_modesetting_objs="$hw_xfree86_drivers_modesetting_objs $hw_xfree86_drivers_modesetting_obj"
1738
1739 $cc $cppflags \
1740 -DHAVE_XORG_CONFIG_H \
1741 -I$src_dir/hw/xfree86/dri2 \
1742 -I$src_dir/hw/xfree86/i2c \
1743 -I$src_dir/hw/xfree86/ramdac \
1744 -I$src_dir/hw/xfree86/parser \
1745 -I$src_dir/hw/xfree86/ddc \
1746 -I$src_dir/hw/xfree86/modes \
1747 -I$src_dir/hw/xfree86/os-support/bus \
1748 -I$src_dir/hw/xfree86/os-support \
1749 -I$src_dir/hw/xfree86/common \
1750 -I$src_dir/glamor \
1751 $f -o $hw_xfree86_drivers_modesetting_obj &
1752 done
1753 #---------------------------------------------------------------------------------------------------
1754 wait
1755 mkdir -p $build_dir/install_root$defaultmodulepath/drivers
1756 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1757 module_name=modesetting_drv.so
1758 eval $module_ccld_prolog_tmpl \
1759 $module_ccld_epilog_tmpl \
1760 $hw_xfree86_drivers_modesetting_objs \
1761 $libudev_ldflags \
1762 $mesa_gbm_ldflags \
1763 $libdrm_ldflags \
1764 -o $build_dir/install_root$defaultmodulepath/drivers/$module_name) &
1765 #===================================================================================================
1766 (hw_xfree86_drivers_inputtest_c_files="\
1767 $src_dir/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c \
1768 "
1769 mkdir -p $build_dir/hw/xfree86/drivers/inputtest
1770 for f in $hw_xfree86_drivers_inputtest_c_files
1771 do
1772 hw_xfree86_drivers_inputtest_obj=$build_dir/hw/xfree86/drivers/inputtest/$(basename $f .c).o
1773 hw_xfree86_drivers_inputtest_objs="$hw_xfree86_drivers_inputtest_objs $hw_xfree86_drivers_inputtest_obj"
1774
1775 $cc $cppflags \
1776 -DHAVE_XORG_CONFIG_H \
1777 -I$src_dir/hw/xfree86/common \
1778 $f -o $hw_xfree86_drivers_inputtest_obj &
1779 done
1780 #---------------------------------------------------------------------------------------------------
1781 wait
1782 mkdir -p $build_dir/install_root$defaultmodulepath/input
1783 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1784 module_name=inputtest_drv.so
1785 eval $module_ccld_prolog_tmpl \
1786 $module_ccld_epilog_tmpl \
1787 $hw_xfree86_drivers_inputtest_objs \
1788 -lpthread \
1789 -o $build_dir/install_root$defaultmodulepath/input/$module_name) &
1790 #===================================================================================================
1791 mkdir -p $build_dir/install_root$xkmoutputdir &
1792 #---------------------------------------------------------------------------------------------------
1793 mkdir -p $build_dir/install_root$defaultlogdir &
1794 #---------------------------------------------------------------------------------------------------
1795 mkdir -p $build_dir/install_root$datadir/X11/xorg.conf.d &
1796 #---------------------------------------------------------------------------------------------------
1797 mkdir -p $build_dir/install_root$projectroot/include/xorg
1798 cp -f $src_dir/composite/compositeext.h $build_dir/install_root$projectroot/include/xorg/compositeext.h &
1799 cp -f $src_dir/present/present.h $build_dir/install_root$projectroot/include/xorg/present.h &
1800 cp -f $src_dir/present/presentext.h $build_dir/install_root$projectroot/include/xorg/presentext.h &
1801 cp -f $src_dir/include/XIstubs.h $build_dir/install_root$projectroot/include/xorg/XIstubs.h &
1802 cp -f $src_dir/include/Xprintf.h $build_dir/install_root$projectroot/include/xorg/Xprintf.h &
1803 cp -f $src_dir/include/callback.h $build_dir/install_root$projectroot/include/xorg/callback.h &
1804 cp -f $src_dir/include/client.h $build_dir/install_root$projectroot/include/xorg/client.h &
1805 cp -f $src_dir/include/closestr.h $build_dir/install_root$projectroot/include/xorg/closestr.h &
1806 cp -f $src_dir/include/closure.h $build_dir/install_root$projectroot/include/xorg/closure.h &
1807 cp -f $src_dir/include/colormap.h $build_dir/install_root$projectroot/include/xorg/colormap.h &
1808 cp -f $src_dir/include/colormapst.h $build_dir/install_root$projectroot/include/xorg/colormapst.h &
1809 cp -f $src_dir/include/cursor.h $build_dir/install_root$projectroot/include/xorg/cursor.h &
1810 cp -f $src_dir/include/cursorstr.h $build_dir/install_root$projectroot/include/xorg/cursorstr.h &
1811 cp -f $src_dir/include/displaymode.h $build_dir/install_root$projectroot/include/xorg/displaymode.h &
1812 cp -f $src_dir/include/dix.h $build_dir/install_root$projectroot/include/xorg/dix.h &
1813 cp -f $src_dir/include/dixaccess.h $build_dir/install_root$projectroot/include/xorg/dixaccess.h &
1814 cp -f $src_dir/include/dixevents.h $build_dir/install_root$projectroot/include/xorg/dixevents.h &
1815 cp -f $src_dir/include/dixfont.h $build_dir/install_root$projectroot/include/xorg/dixfont.h &
1816 cp -f $src_dir/include/dixfontstr.h $build_dir/install_root$projectroot/include/xorg/dixfontstr.h &
1817 cp -f $src_dir/include/dixgrabs.h $build_dir/install_root$projectroot/include/xorg/dixgrabs.h &
1818 cp -f $src_dir/include/dixstruct.h $build_dir/install_root$projectroot/include/xorg/dixstruct.h &
1819 cp -f $src_dir/include/exevents.h $build_dir/install_root$projectroot/include/xorg/exevents.h &
1820 cp -f $src_dir/include/extension.h $build_dir/install_root$projectroot/include/xorg/extension.h &
1821 cp -f $src_dir/include/extinit.h $build_dir/install_root$projectroot/include/xorg/extinit.h &
1822 cp -f $src_dir/include/extnsionst.h $build_dir/install_root$projectroot/include/xorg/extnsionst.h &
1823 cp -f $src_dir/include/events.h $build_dir/install_root$projectroot/include/xorg/events.h &
1824 cp -f $src_dir/include/fourcc.h $build_dir/install_root$projectroot/include/xorg/fourcc.h &
1825 cp -f $src_dir/include/gc.h $build_dir/install_root$projectroot/include/xorg/gc.h &
1826 cp -f $src_dir/include/gcstruct.h $build_dir/install_root$projectroot/include/xorg/gcstruct.h &
1827 cp -f $src_dir/include/globals.h $build_dir/install_root$projectroot/include/xorg/globals.h &
1828 cp -f $src_dir/include/glx_extinit.h $build_dir/install_root$projectroot/include/xorg/glx_extinit.h &
1829 cp -f $src_dir/include/glxvndabi.h $build_dir/install_root$projectroot/include/xorg/glxvndabi.h &
1830 cp -f $src_dir/include/hotplug.h $build_dir/install_root$projectroot/include/xorg/hotplug.h &
1831 cp -f $src_dir/include/input.h $build_dir/install_root$projectroot/include/xorg/input.h &
1832 cp -f $src_dir/include/inputstr.h $build_dir/install_root$projectroot/include/xorg/inputstr.h &
1833 cp -f $src_dir/include/list.h $build_dir/install_root$projectroot/include/xorg/list.h &
1834 cp -f $src_dir/include/misc.h $build_dir/install_root$projectroot/include/xorg/misc.h &
1835 cp -f $src_dir/include/miscstruct.h $build_dir/install_root$projectroot/include/xorg/miscstruct.h &
1836 cp -f $src_dir/include/nonsdk_extinit.h $build_dir/install_root$projectroot/include/xorg/nonsdk_extinit.h &
1837 cp -f $src_dir/include/opaque.h $build_dir/install_root$projectroot/include/xorg/opaque.h &
1838 cp -f $src_dir/include/optionstr.h $build_dir/install_root$projectroot/include/xorg/optionstr.h &
1839 cp -f $src_dir/include/os.h $build_dir/install_root$projectroot/include/xorg/os.h &
1840 cp -f $src_dir/include/pixmap.h $build_dir/install_root$projectroot/include/xorg/pixmap.h &
1841 cp -f $src_dir/include/pixmapstr.h $build_dir/install_root$projectroot/include/xorg/pixmapstr.h &
1842 cp -f $src_dir/include/privates.h $build_dir/install_root$projectroot/include/xorg/privates.h &
1843 cp -f $src_dir/include/property.h $build_dir/install_root$projectroot/include/xorg/property.h &
1844 cp -f $src_dir/include/propertyst.h $build_dir/install_root$projectroot/include/xorg/propertyst.h &
1845 cp -f $src_dir/include/ptrveloc.h $build_dir/install_root$projectroot/include/xorg/ptrveloc.h &
1846 cp -f $src_dir/include/region.h $build_dir/install_root$projectroot/include/xorg/region.h &
1847 cp -f $src_dir/include/regionstr.h $build_dir/install_root$projectroot/include/xorg/regionstr.h &
1848 cp -f $src_dir/include/registry.h $build_dir/install_root$projectroot/include/xorg/registry.h &
1849 cp -f $src_dir/include/resource.h $build_dir/install_root$projectroot/include/xorg/resource.h &
1850 cp -f $src_dir/include/rgb.h $build_dir/install_root$projectroot/include/xorg/rgb.h &
1851 cp -f $src_dir/include/screenint.h $build_dir/install_root$projectroot/include/xorg/screenint.h &
1852 cp -f $src_dir/include/scrnintstr.h $build_dir/install_root$projectroot/include/xorg/scrnintstr.h &
1853 cp -f $src_dir/include/selection.h $build_dir/install_root$projectroot/include/xorg/selection.h &
1854 cp -f $src_dir/include/servermd.h $build_dir/install_root$projectroot/include/xorg/servermd.h &
1855 cp -f $src_dir/include/validate.h $build_dir/install_root$projectroot/include/xorg/validate.h &
1856 cp -f $src_dir/include/window.h $build_dir/install_root$projectroot/include/xorg/window.h &
1857 cp -f $src_dir/include/windowstr.h $build_dir/install_root$projectroot/include/xorg/windowstr.h &
1858 cp -f $src_dir/include/xkbfile.h $build_dir/install_root$projectroot/include/xorg/xkbfile.h &
1859 cp -f $src_dir/include/xkbrules.h $build_dir/install_root$projectroot/include/xorg/xkbrules.h &
1860 cp -f $src_dir/include/xkbsrv.h $build_dir/install_root$projectroot/include/xorg/xkbsrv.h &
1861 cp -f $src_dir/include/xkbstr.h $build_dir/install_root$projectroot/include/xorg/xkbstr.h &
1862 cp -f $src_dir/include/xserver-properties.h $build_dir/install_root$projectroot/include/xorg/xserver-properties.h &
1863 cp -f $src_dir/include/xserver_poll.h $build_dir/install_root$projectroot/include/xorg/xserver_poll.h &
1864 cp -f $src_dir/miext/damage/damage.h $build_dir/install_root$projectroot/include/xorg/damage.h &
1865 cp -f $src_dir/miext/damage/damagestr.h $build_dir/install_root$projectroot/include/xorg/damagestr.h &
1866 cp -f $src_dir/miext/shadow/shadow.h $build_dir/install_root$projectroot/include/xorg/shadow.h &
1867 cp -f $src_dir/miext/sync/misync.h $build_dir/install_root$projectroot/include/xorg/misync.h &
1868 cp -f $src_dir/miext/sync/misyncfd.h $build_dir/install_root$projectroot/include/xorg/misyncfd.h &
1869 cp -f $src_dir/miext/sync/misyncshm.h $build_dir/install_root$projectroot/include/xorg/misyncshm.h &
1870 cp -f $src_dir/miext/sync/misyncstr.h $build_dir/install_root$projectroot/include/xorg/misyncstr.h &
1871 cp -f $src_dir/dbe/dbestruct.h $build_dir/install_root$projectroot/include/xorg/dbestruct.h &
1872 cp -f $src_dir/dri3/dri3.h $build_dir/install_root$projectroot/include/xorg/dri3.h &
1873 cp -f $src_dir/exa/exa.h $build_dir/install_root$projectroot/include/xorg/exa.h &
1874 cp -f $src_dir/fb/fb.h $build_dir/install_root$projectroot/include/xorg/fb.h &
1875 cp -f $src_dir/fb/fboverlay.h $build_dir/install_root$projectroot/include/xorg/fboverlay.h &
1876 cp -f $src_dir/fb/fbpict.h $build_dir/install_root$projectroot/include/xorg/fbpict.h &
1877 cp -f $src_dir/fb/fbrop.h $build_dir/install_root$projectroot/include/xorg/fbrop.h &
1878 cp -f $src_dir/fb/wfbrename.h $build_dir/install_root$projectroot/include/xorg/wfbrename.h &
1879 cp -f $src_dir/Xext/geext.h $build_dir/install_root$projectroot/include/xorg/geext.h &
1880 cp -f $src_dir/Xext/geint.h $build_dir/install_root$projectroot/include/xorg/geint.h &
1881 cp -f $src_dir/Xext/panoramiX.h $build_dir/install_root$projectroot/include/xorg/panoramiX.h &
1882 cp -f $src_dir/Xext/panoramiXsrv.h $build_dir/install_root$projectroot/include/xorg/panoramiXsrv.h &
1883 cp -f $src_dir/Xext/shmint.h $build_dir/install_root$projectroot/include/xorg/shmint.h &
1884 cp -f $src_dir/Xext/syncsdk.h $build_dir/install_root$projectroot/include/xorg/syncsdk.h &
1885 cp -f $src_dir/Xext/xace.h $build_dir/install_root$projectroot/include/xorg/xace.h &
1886 cp -f $src_dir/Xext/xacestr.h $build_dir/install_root$projectroot/include/xorg/xacestr.h &
1887 cp -f $src_dir/Xext/xvdix.h $build_dir/install_root$projectroot/include/xorg/xvdix.h &
1888 cp -f $src_dir/Xext/xvmcext.h $build_dir/install_root$projectroot/include/xorg/xvmcext.h &
1889 cp -f $src_dir/glamor/glamor.h $build_dir/install_root$projectroot/include/xorg/glamor.h &
1890 cp -f $src_dir/render/glyphstr.h $build_dir/install_root$projectroot/include/xorg/glyphstr.h &
1891 cp -f $src_dir/render/mipict.h $build_dir/install_root$projectroot/include/xorg/mipict.h &
1892 cp -f $src_dir/render/picture.h $build_dir/install_root$projectroot/include/xorg/picture.h &
1893 cp -f $src_dir/render/picturestr.h $build_dir/install_root$projectroot/include/xorg/picturestr.h &
1894 cp -f $src_dir/mi/mi.h $build_dir/install_root$projectroot/include/xorg/mi.h &
1895 cp -f $src_dir/mi/micmap.h $build_dir/install_root$projectroot/include/xorg/micmap.h &
1896 cp -f $src_dir/mi/micoord.h $build_dir/install_root$projectroot/include/xorg/micoord.h &
1897 cp -f $src_dir/mi/migc.h $build_dir/install_root$projectroot/include/xorg/migc.h &
1898 cp -f $src_dir/mi/miline.h $build_dir/install_root$projectroot/include/xorg/miline.h &
1899 cp -f $src_dir/mi/mioverlay.h $build_dir/install_root$projectroot/include/xorg/mioverlay.h &
1900 cp -f $src_dir/mi/mipointer.h $build_dir/install_root$projectroot/include/xorg/mipointer.h &
1901 cp -f $src_dir/mi/mipointrst.h $build_dir/install_root$projectroot/include/xorg/mipointrst.h &
1902 cp -f $src_dir/mi/mistruct.h $build_dir/install_root$projectroot/include/xorg/mistruct.h &
1903 cp -f $src_dir/mi/mizerarc.h $build_dir/install_root$projectroot/include/xorg/mizerarc.h &
1904 cp -f $src_dir/randr/randrstr.h $build_dir/install_root$projectroot/include/xorg/randrstr.h &
1905 cp -f $src_dir/randr/rrtransform.h $build_dir/install_root$projectroot/include/xorg/rrtransform.h &
1906 cp -f $src_dir/glx/vndserver.h $build_dir/install_root$projectroot/include/xorg/vndserver.h &
1907 cp -f $src_dir/hw/xfree86/common/compiler.h $build_dir/install_root$projectroot/include/xorg/compiler.h &
1908 cp -f $src_dir/hw/xfree86/common/xaarop.h $build_dir/install_root$projectroot/include/xorg/xaarop.h &
1909 cp -f $src_dir/hw/xfree86/common/xf86.h $build_dir/install_root$projectroot/include/xorg/xf86.h &
1910 cp -f $src_dir/hw/xfree86/common/xf86MatchDrivers.h $build_dir/install_root$projectroot/include/xorg/xf86MatchDrivers.h &
1911 cp -f $src_dir/hw/xfree86/common/xf86Module.h $build_dir/install_root$projectroot/include/xorg/xf86Module.h &
1912 cp -f $src_dir/hw/xfree86/common/xf86Opt.h $build_dir/install_root$projectroot/include/xorg/xf86Opt.h &
1913 cp -f $src_dir/hw/xfree86/common/xf86Optionstr.h $build_dir/install_root$projectroot/include/xorg/xf86Optionstr.h &
1914 cp -f $src_dir/hw/xfree86/common/xf86PciInfo.h $build_dir/install_root$projectroot/include/xorg/xf86PciInfo.h &
1915 cp -f $src_dir/hw/xfree86/common/xf86Priv.h $build_dir/install_root$projectroot/include/xorg/xf86Priv.h &
1916 cp -f $src_dir/hw/xfree86/common/xf86Privstr.h $build_dir/install_root$projectroot/include/xorg/xf86Privstr.h &
1917 cp -f $src_dir/hw/xfree86/common/xf86VGAarbiter.h $build_dir/install_root$projectroot/include/xorg/xf86VGAarbiter.h &
1918 cp -f $src_dir/hw/xfree86/common/xf86Xinput.h $build_dir/install_root$projectroot/include/xorg/xf86Xinput.h &
1919 cp -f $src_dir/hw/xfree86/common/xf86cmap.h $build_dir/install_root$projectroot/include/xorg/xf86cmap.h &
1920 cp -f $src_dir/hw/xfree86/common/xf86fbman.h $build_dir/install_root$projectroot/include/xorg/xf86fbman.h &
1921 cp -f $src_dir/hw/xfree86/common/xf86platformBus.h $build_dir/install_root$projectroot/include/xorg/xf86platformBus.h &
1922 cp -f $src_dir/hw/xfree86/common/xf86sbusBus.h $build_dir/install_root$projectroot/include/xorg/xf86sbusBus.h &
1923 cp -f $src_dir/hw/xfree86/common/xf86str.h $build_dir/install_root$projectroot/include/xorg/xf86str.h &
1924 cp -f $src_dir/hw/xfree86/common/xf86xv.h $build_dir/install_root$projectroot/include/xorg/xf86xv.h &
1925 cp -f $src_dir/hw/xfree86/common/xf86xvmc.h $build_dir/install_root$projectroot/include/xorg/xf86xvmc.h &
1926 cp -f $src_dir/hw/xfree86/common/xf86xvpriv.h $build_dir/install_root$projectroot/include/xorg/xf86xvpriv.h &
1927 cp -f $src_dir/hw/xfree86/common/xisb.h $build_dir/install_root$projectroot/include/xorg/xisb.h &
1928 cp -f $src_dir/hw/xfree86/common/xorgVersion.h $build_dir/install_root$projectroot/include/xorg/xorgVersion.h &
1929 cp -f $src_dir/hw/xfree86/ddc/edid.h $build_dir/install_root$projectroot/include/xorg/edid.h &
1930 cp -f $src_dir/hw/xfree86/ddc/xf86DDC.h $build_dir/install_root$projectroot/include/xorg/xf86DDC.h &
1931 cp -f $src_dir/hw/xfree86/dri/dri.h $build_dir/install_root$projectroot/include/xorg/dri.h &
1932 cp -f $src_dir/hw/xfree86/dri/dristruct.h $build_dir/install_root$projectroot/include/xorg/dristruct.h &
1933 cp -f $src_dir/hw/xfree86/dri/sarea.h $build_dir/install_root$projectroot/include/xorg/sarea.h &
1934 cp -f $src_dir/hw/xfree86/dri2/dri2.h $build_dir/install_root$projectroot/include/xorg/dri2.h &
1935 cp -f $src_dir/hw/xfree86/drivers/inputtest/xf86-input-inputtest-protocol.h $build_dir/install_root$projectroot/include/xorg/xf86-input-inputtest-protocol.h &
1936 cp -f $src_dir/hw/xfree86/fbdevhw/fbdevhw.h $build_dir/install_root$projectroot/include/xorg/fbdevhw.h &
1937 cp -f $src_dir/hw/xfree86/i2c/i2c_def.h $build_dir/install_root$projectroot/include/xorg/i2c_def.h &
1938 cp -f $src_dir/hw/xfree86/i2c/xf86i2c.h $build_dir/install_root$projectroot/include/xorg/xf86i2c.h &
1939 cp -f $src_dir/hw/xfree86/int10/vbe.h $build_dir/install_root$projectroot/include/xorg/vbe.h &
1940 cp -f $src_dir/hw/xfree86/int10/vbeModes.h $build_dir/install_root$projectroot/include/xorg/vbeModes.h &
1941 cp -f $src_dir/hw/xfree86/int10/xf86int10.h $build_dir/install_root$projectroot/include/xorg/xf86int10.h &
1942 cp -f $src_dir/hw/xfree86/modes/xf86Crtc.h $build_dir/install_root$projectroot/include/xorg/xf86Crtc.h &
1943 cp -f $src_dir/hw/xfree86/modes/xf86Modes.h $build_dir/install_root$projectroot/include/xorg/xf86Modes.h &
1944 cp -f $src_dir/hw/xfree86/modes/xf86RandR12.h $build_dir/install_root$projectroot/include/xorg/xf86RandR12.h &
1945 cp -f $src_dir/hw/xfree86/os-support/xf86_OSlib.h $build_dir/install_root$projectroot/include/xorg/xf86_OSlib.h &
1946 cp -f $src_dir/hw/xfree86/os-support/xf86_OSproc.h $build_dir/install_root$projectroot/include/xorg/xf86_OSproc.h &
1947 cp -f $src_dir/hw/xfree86/os-support/bus/xf86Pci.h $build_dir/install_root$projectroot/include/xorg/xf86Pci.h &
1948 cp -f $src_dir/hw/xfree86/parser/xf86Optrec.h $build_dir/install_root$projectroot/include/xorg/xf86Optrec.h &
1949 cp -f $src_dir/hw/xfree86/parser/xf86Parser.h $build_dir/install_root$projectroot/include/xorg/xf86Parser.h &
1950 cp -f $src_dir/hw/xfree86/ramdac/xf86Cursor.h $build_dir/install_root$projectroot/include/xorg/xf86Cursor.h &
1951 cp -f $src_dir/hw/xfree86/shadowfb/shadowfb.h $build_dir/install_root$projectroot/include/xorg/shadowfb.h &
1952 cp -f $src_dir/hw/xfree86/vgahw/vgaHW.h $build_dir/install_root$projectroot/include/xorg/vgaHW.h &
1953 #---------------------------------------------------------------------------------------------------
1954 sed -e "s:@defaultfontdir@:$defaultfontdir:g" \
1955 -e "s:@version_0@:$version_0:g" \
1956 -e "s:@version_1@:$version_1:g" \
1957 -e "s:@version_2@:$version_2:g" \
1958 <$src_dir/contrib/xorg-server.h.in \
1959 >$build_dir/install_root$projectroot/include/xorg/xorg-server.h &
1960 #---------------------------------------------------------------------------------------------------
1961 mkdir -p $build_dir/install_root$defaultlibrarypath/pkgconfig
1962 sed -e "s:@projectroot@:$projectroot:g" \
1963 -e "s:@defaultmodulepath@:$defaultmodulepath:g" \
1964 -e "s:@sysconfigdir@:$datadir/X11/xorg.conf.d:g" \
1965 -e "s:@version_0@:$version_0:g" \
1966 -e "s:@version_1@:$version_1:g" \
1967 -e "s:@version_2@:$version_2:g" \
1968 -e "s:@version_3@:$version_3:g" \
1969 <$src_dir/contrib/xorg-server.pc.in \
1970 >$build_dir/install_root$defaultlibrarypath/pkgconfig/xorg-server.pc &
1971 #---------------------------------------------------------------------------------------------------
1972 # INFO: our configured version of xorg does not use the registry hence no 'protocol.txt'
1973 wait
File builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/version-config.h.in added (mode: 100644) (index 0000000..0befec4)
1 #ifndef VERSION_CONFIG_H
2 #define VERSION_CONFIG_H
3
4 /* Vendor man version */
5 #define VENDOR_MAN_VERSION "Version @version_0@.@version_1@.@version_2@.@version_3@"
6
7 /* Vendor name */
8 #define VENDOR_NAME "The X.Org Foundation"
9
10 /* Vendor release */
11 #define VENDOR_RELEASE ((10000000) + ((@version_0@) * 100000) + ((@version_1@) * 1000) + @version_2@)
12
13 #endif /* VERSION_CONFIG_H */
14
File builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/xkb-config.h.in added (mode: 100644) (index 0000000..75b5a9f)
1 #ifndef _XKB_CONFIG_H_
2 #define _XKB_CONFIG_H_
3
4 /* Default set of XKB rules. */
5 #define XKB_DFLT_RULES "evdev"
6
7 /* Default XKB model. */
8 #define XKB_DFLT_MODEL "pc105"
9
10 /* Default XKB layout. */
11 #define XKB_DFLT_LAYOUT "us"
12
13 /* Default XKB variant. */
14 #define XKB_DFLT_VARIANT ""
15
16 /* Default XKB options. */
17 #define XKB_DFLT_OPTIONS ""
18
19 /* Path to XKB definitions. */
20 #define XKB_BASE_DIRECTORY "@xkbbasedir@"
21
22 /* Path to xkbcomp. */
23 #define XKB_BIN_DIRECTORY "@xkbbindir@"
24
25 /* XKB output dir for compiled keymaps. */
26 #define XKM_OUTPUT_DIR "@xkmoutputdir@"
27
28 #endif /* _XKB_CONFIG_H_ */
File builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/xorg-config.h.in added (mode: 100644) (index 0000000..e1c7a65)
1 #ifndef _XORG_CONFIG_H_
2 #define _XORG_CONFIG_H_
3
4 #include <dix-config.h>
5 #include <xkb-config.h>
6
7 /* Building Xorg server. */
8 #define XORGSERVER 1
9
10 /* Current X.Org version. */
11 #ifndef XORG_VERSION_CURRENT
12 #define XORG_VERSION_CURRENT ((10000000) + ((@version_0@) * 100000) + ((@version_1@) * 1000) + @version_3@)
13 #endif
14
15 /* Name of X server. */
16 #define __XSERVERNAME__ "Xorg"
17
18 /* URL to go to for support. */
19 #define __VENDORDWEBSUPPORT__ "http://wiki.x.org"
20
21 /* Built-in output drivers. */
22 /* #undef DRIVERS */
23
24 /* Built-in input drivers. */
25 /* #undef IDRIVERS */
26
27 /* Path to configuration file. */
28 #define XF86CONFIGFILE "xorg.conf"
29
30 /* Path to configuration file. */
31 #define XCONFIGFILE "xorg.conf"
32
33 /* Name of configuration directory. */
34 #define XCONFIGDIR "xorg.conf.d"
35
36 /* Path to loadable modules. */
37 #define DEFAULT_MODULE_PATH "@defaultmodulepath@"
38
39 /* Path to installed libraries. */
40 #define DEFAULT_LIBRARY_PATH "@defaultlibrarypath@"
41
42 /* Default log location */
43 #define DEFAULT_LOGDIR "@defaultlogdir@"
44
45 /* Default logfile prefix */
46 #define DEFAULT_LOGPREFIX "Xorg."
47
48 /* Default XDG_DATA dir under HOME */
49 #define DEFAULT_XDG_DATA_HOME ".local/share"
50
51 /* Default log dir under XDG_DATA_HOME */
52 #define DEFAULT_XDG_DATA_HOME_LOGDIR "xorg"
53
54 /* Building DRI-capable DDX. */
55 #define XF86DRI 1
56
57 /* Build DRI2 extension */
58 #define DRI2 1
59
60 /* Define to 1 if you have the <stropts.h> header file. */
61 /* #undef HAVE_STROPTS_H */
62
63 /* Define to 1 if you have the <sys/kd.h> header file. */
64 /* #undef HAVE_SYS_KD_H */
65
66 /* Define to 1 if you have the <sys/vt.h> header file. */
67 /* #undef HAVE_SYS_VT_H */
68
69 /* Define to 1 if you have the `walkcontext' function (used on Solaris for
70 xorg_backtrace in hw/xfree86/common/xf86Events.c */
71 /* #undef HAVE_WALKCONTEXT */
72
73 /* Define to 1 if unsigned long is 64 bits. */
74 #define _XSERVER64 1
75
76 /* Building vgahw module */
77 #define WITH_VGAHW 1
78
79 /* NetBSD PIO alpha IO */
80 /* #undef USE_ALPHA_PIO */
81
82 /* BSD AMD64 iopl */
83 /* #undef USE_AMD64_IOPL */
84
85 /* BSD /dev/io */
86 /* #undef USE_DEV_IO */
87
88 /* BSD i386 iopl */
89 /* #undef USE_I386_IOPL */
90
91 /* System is BSD-like */
92 /* #undef CSRG_BASED */
93
94 /* System has PC console */
95 /* #undef PCCONS_SUPPORT */
96
97 /* System has PCVT console */
98 /* #undef PCVT_SUPPORT */
99
100 /* System has syscons console */
101 /* #undef SYSCONS_SUPPORT */
102
103 /* System has wscons console */
104 /* #undef WSCONS_SUPPORT */
105
106 /* System has /dev/xf86 aperture driver */
107 /* #undef HAS_APERTURE_DRV */
108
109 /* Has backtrace support */
110 #define HAVE_BACKTRACE 1
111
112 /* Name of the period field in struct kbd_repeat */
113 /* #undef LNX_KBD_PERIOD_NAME */
114
115 /* Have execinfo.h */
116 #define HAVE_EXECINFO_H 1
117
118 /* Define to 1 if you have the <sys/mkdev.h> header file. */
119 /* #undef HAVE_SYS_MKDEV_H */
120
121 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
122 #define HAVE_SYS_SYSMACROS_H 1
123
124 /* Path to text files containing PCI IDs */
125 #define PCI_TXT_IDS_PATH ""
126
127 /* Build with libdrm support */
128 #define WITH_LIBDRM 1
129
130 /* Use libpciaccess */
131 #define XSERVER_LIBPCIACCESS 1
132
133 /* Have setugid */
134 /* #undef HAVE_ISSETUGID */
135
136 /* Have getresuid */
137 #define HAVE_GETRESUID 1
138
139 /* Have X server platform bus support */
140 #define XSERVER_PLATFORM_BUS 1
141
142 /* Define to 1 if you have the `seteuid' function. */
143 #define HAVE_SETEUID 1
144
145 /* Fallback input driver if the assigned driver fails */
146 #define FALLBACK_INPUT_DRIVER "libinput"
147
148 #endif /* _XORG_CONFIG_H_ */
File builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/xorg-server.h.in added (mode: 100644) (index 0000000..398d0f2)
1 /* xorg-server.h.in -*- c -*-
2 *
3 * This file is the template file for the xorg-server.h file which gets
4 * installed as part of the SDK. The #defines in this file overlap
5 * with those from config.h, but only for those options that we want
6 * to export to external modules. Boilerplate autotool #defines such
7 * as HAVE_STUFF and PACKAGE_NAME is kept in config.h
8 *
9 * It is still possible to update config.h.in using autoheader, since
10 * autoheader only creates a .h.in file for the first
11 * AM_CONFIG_HEADER() line, and thus does not overwrite this file.
12 *
13 * However, it should be kept in sync with this file.
14 */
15
16 #ifndef _XORG_SERVER_H_
17 #define _XORG_SERVER_H_
18
19 #ifdef HAVE_XORG_CONFIG_H
20 #error Include xorg-config.h when building the X server
21 #endif
22
23 /* Support BigRequests extension */
24 #define BIGREQS 1
25
26 /* Default font path */
27 #define COMPILEDDEFAULTFONTPATH "@defaultfontdir@/misc/,@defaultfontdir@/TTF/,@defaultfontdir@/OTF/,@defaultfontdir@/Type1/,@defaultfontdir@/100dpi/,@defaultfontdir@/75dpi/"
28
29 /* Support Composite Extension */
30 #define COMPOSITE 1
31
32 /* Build DPMS extension */
33 #define DPMSExtension 1
34
35 /* Build DRI3 extension */
36 #define DRI3 1
37
38 /* Build GLX extension */
39 #define GLXEXT 1
40
41 /* Support XDM-AUTH*-1 */
42 /* #undef HASXDMAUTH */
43
44 /* Support SHM */
45 #define HAS_SHM 1
46
47 /* Define to 1 if you have the `reallocarray' function. */
48 #define HAVE_REALLOCARRAY 1
49
50 /* Define to 1 if you have the `strcasecmp' function. */
51 #define HAVE_STRCASECMP 1
52
53 /* Define to 1 if you have the `strcasestr' function. */
54 #define HAVE_STRCASESTR 1
55
56 /* Define to 1 if you have the `strlcat' function. */
57 /* #undef HAVE_STRLCAT */
58
59 /* Define to 1 if you have the `strlcpy' function. */
60 /* #undef HAVE_STRLCPY */
61
62 /* Define to 1 if you have the `strncasecmp' function. */
63 #define HAVE_STRNCASECMP 1
64
65 /* Define to 1 if you have the `strndup' function. */
66 #define HAVE_STRNDUP 1
67
68 /* Support IPv6 for TCP connections */
69 #define IPv6 1
70
71 /* Support MIT-SHM Extension */
72 #define MITSHM 1
73
74 /* Internal define for Xinerama */
75 #define PANORAMIX 1
76
77 /* Support Present extension */
78 #define PRESENT 1
79
80 /* Support RANDR extension */
81 #define RANDR 1
82
83 /* Support RENDER extension */
84 #define RENDER 1
85
86 /* Support X resource extension */
87 #define RES 1
88
89 /* Support MIT-SCREEN-SAVER extension */
90 #define SCREENSAVER 1
91
92 /* Support SHAPE extension */
93 #define SHAPE 1
94
95 /* Define to 1 on systems derived from System V Release 4 */
96 /* #undef SVR4 */
97
98 /* Support TCP socket connections */
99 #define TCPCONN 1
100
101 /* Support UNIX socket connections */
102 #define UNIXCONN 1
103
104 /* Support XCMisc extension */
105 #define XCMISC 1
106
107 /* Support Xdmcp */
108 /* #undef XDMCP */
109
110 /* Build XFree86 BigFont extension */
111 /* #undef XF86BIGFONT */
112
113 /* Support XFree86 Video Mode extension */
114 #define XF86VIDMODE 1
115
116 /* Build XDGA support */
117 /* #undef XFreeXDGA */
118
119 /* Support Xinerama extension */
120 #define XINERAMA 1
121
122 /* Support X Input extension */
123 #define XINPUT 1
124
125 /* XKB default rules */
126 #define XKB_DFLT_RULES "evdev"
127
128 /* Build DRI extension */
129 #define XF86DRI 1
130
131 /* Build DRI2 extension */
132 #define DRI2 1
133
134 /* Build Xorg server */
135 #define XORGSERVER 1
136
137 /* Current Xorg version */
138 #define XORG_VERSION_CURRENT ((10000000) + ((@version_0@) * 100000) + ((@version_1@) * 1000) + @version_2@)
139
140 /* Build Xv Extension */
141 #define XvExtension 1
142
143 /* Build XvMC Extension */
144 #define XvMCExtension 1
145
146 /* Support XSync extension */
147 #define XSYNC 1
148
149 /* Support XTest extension */
150 #define XTEST 1
151
152 /* Support Xv Extension */
153 #define XV 1
154
155 /* Vendor name */
156 #define XVENDORNAME "The X.Org Foundation"
157
158 /* BSD-compliant source */
159 /* #undef _BSD_SOURCE */
160
161 /* POSIX-compliant source */
162 /* #undef _POSIX_SOURCE */
163
164 /* X/Open-compliant source */
165 /* #undef _XOPEN_SOURCE */
166
167 /* Vendor web address for support */
168 #define __VENDORDWEBSUPPORT__ "http://wiki.x.org"
169
170 /* Location of configuration file */
171 #define XCONFIGFILE "xorg.conf"
172
173 /* Name of X server */
174 #define __XSERVERNAME__ "Xorg"
175
176 /* Building vgahw module */
177 #define WITH_VGAHW 1
178
179 /* System is BSD-like */
180 /* #undef CSRG_BASED */
181
182 /* System has PC console */
183 /* #undef PCCONS_SUPPORT */
184
185 /* System has PCVT console */
186 /* #undef PCVT_SUPPORT */
187
188 /* System has syscons console */
189 /* #undef SYSCONS_SUPPORT */
190
191 /* System has wscons console */
192 /* #undef WSCONS_SUPPORT */
193
194 /* Loadable XFree86 server awesomeness */
195 #define XFree86LOADER
196
197 /* Use libpciaccess */
198 #define XSERVER_LIBPCIACCESS 1
199
200 /* X Access Control Extension */
201 #define XACE 1
202
203 /* Have X server platform bus support */
204 #define XSERVER_PLATFORM_BUS 1
205
206 #ifdef _LP64
207 #define _XSERVER64 1
208 #endif
209
210 /* Have support for X shared memory fence library (xshmfence) */
211 #define HAVE_XSHMFENCE 1
212
213 /* Use XTrans FD passing support */
214 #define XTRANS_SEND_FDS 1
215
216 /* Ask fontsproto to make font path element names const */
217 #define FONT_PATH_ELEMENT_NAME_CONST 1
218
219 /* byte order */
220 #define X_BYTE_ORDER X_LITTLE_ENDIAN
221
222 #endif /* _XORG_SERVER_H_ */
File builders/xserver-sh-f37d11cd96ba15b40a497d4d7bdd14a77ea9b476/contrib/xorg-server.pc.in added (mode: 100644) (index 0000000..bddc144)
1 prefix=@projectroot@
2 exec_prefix=${prefix}
3 libdir=${exec_prefix}/lib
4 includedir=${prefix}/include
5 datarootdir=${prefix}/share
6 moduledir=@defaultmodulepath@
7 sdkdir=${prefix}/include/xorg
8 sysconfigdir=@sysconfigdir@
9
10 abi_ansic=0.4
11 abi_videodrv=25.2
12 abi_xinput=24.4
13 abi_extension=10.0
14
15 Name: xorg-server
16 Description: Modular X.Org X Server
17 Version: @version_0@.@version_1@.@version_2@.@version_3@
18 Requires.private: xproto >= 7.0.31 randrproto >= 1.6.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3.99.1 kbproto >= 1.0.3 fontsproto >= 2.1.3 pixman-1 >= 0.27.2 libxcvt videoproto scrnsaverproto >= 1.1 resourceproto >= 1.2.0 xf86driproto >= 2.1.0 glproto >= 1.4.17 dri >= 7.8.0 dri2proto >= 2.8 dri3proto >= 1.2 presentproto >= 1.2 xineramaproto pciaccess >= 0.12.901
19 Cflags: -I${sdkdir} -fvisibility=hidden
20 Libs: -L${libdir}
File builders/xserver-sh/builder.sh added (mode: 100644) (index 0000000..07c52cb)
1 src_name=xserver
2 git_url0=git://anongit.freedesktop.org/xorg/$src_name
3
4 pkg_dir=$pkgs_dir_root/$pkg_name
5 src_dir=$src_dir_root/$src_name
6 rm -Rf $pkg_dir
7 mkdir -p $pkgs_dir_root
8 cp -r $src_dir $pkg_dir
9 #-------------------------------------------------------------------------------
10 cd $pkg_dir
11
12 if test x$git_commit != x; then
13 /nyan/git/current/bin/git checkout --force $git_commit
14 /nyan/git/current/bin/git reset --hard
15 fi
16 # copy the canonical lean build scripts
17 cp -r $nyan_root/builders/$pkg_name/contrib .
18 #-------------------------------------------------------------------------------
19 build_dir=$builds_dir_root/$pkg_name
20 rm -Rf $build_dir
21 mkdir -p $build_dir
22 cd $build_dir
23 #-------------------------------------------------------------------------------
24 # create the local configuration file, carefull libxcvt is tcc compiled and
25 # needs internal tcc libs
26 cat >$build_dir/local_conf.sh <<EOF
27 cc='/nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/x86_64-nyan2-linux-gnu-gcc \
28 -static-libgcc \
29 -isystem /nyan/glibc/current/include \
30 -isystem /nyan/linux-headers/current/include \
31 -fvisibility=hidden \
32 -fno-strict-aliasing \
33 -O2 -pipe -fPIC -DPIC -std=c99 \
34 -c \
35 '
36 xorg_ccld_prolog='/nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/x86_64-nyan2-linux-gnu-gcc \
37 -Wl,--no-undefined \
38 -static-libgcc \
39 -fPIC \
40 -B/nyan/glibc/current/lib \
41 -Wl,-s \
42 -Wl,--export-dynamic \
43 -Wl,--start-group \
44 '
45 xorg_ccld_epilog='\
46 -Wl,--end-group \
47 '
48 module_ccld_prolog_tmpl='/nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/x86_64-nyan2-linux-gnu-gcc \
49 -shared \
50 -Wl,-soname -Wl,\$module_name \
51 -static-libgcc \
52 -fPIC \
53 -B/nyan/glibc/current/lib \
54 -Wl,-s \
55 -Wl,--whole-archive \
56 -Wl,--start-group \
57 '
58 module_ccld_epilog_tmpl='\
59 -Wl,--end-group \
60 -Wl,--no-whole-archive \
61 '
62
63 cpp='/nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/x86_64-nyan2-linux-gnu-gcc -E'
64 awk='/nyan/busybox/current/bin/awk'
65 xorgproto_cppflags='\
66 -I/nyan/xorgproto/current/include/X11/dri \
67 -I/nyan/xorgproto/current/include \
68 '
69 xtrans_cppflags=-I/nyan/xtrans/current/include
70 libxcvt_cppflags=-I/nyan/libxcvt/current/include
71 libxcvt_ldflags='-L/nyan/libxcvt/current/lib -lxcvt -L/nyan/toolchains/binutils-2.36.1-tinycc-0378168c1318352bf13f24f210a23aa2fbeb1895/current/lib/tcc -ltcc1'
72 mesa_gl_cppflags=-I/nyan/mesa-gl/current/include
73 mesa_gl_ldflags='-L/nyan/mesa-gl/current/lib -lGL'
74 mesa_gbm_ldflags='-L/nyan/mesa-gl/current/lib -lgbm'
75 libxkbfile_cppflags=-I/nyan/libxkbfile/current/include
76 pixman_cppflags=-I/nyan/pixman/current/include/pixman-1
77 pixman_ldflags='-L/nyan/pixman/current/lib -lpixman-1'
78 libx11_cppflags=-I/nyan/libX11/current/include
79 libxcb_cppflags=-I/nyan/libxcb/current/include
80 libxau_cppflags=-I/nyan/libXau/current/include
81 libxau_ldflags='-L/nyan/libXau/current/lib -lXau'
82 libxfont2_cppflags=-I/nyan/libXfont2/current/include
83 libxfont2_ldflags='-L/nyan/libXfont2/current/lib -lXfont2'
84 libfontenc_cppflags=-I/nyan/libfontenc/current/include
85 freetype_cppflags=-I/nyan/freetype/current/include/freetype2
86 zlib_cppflags=-I/nyan/zlib/current/include
87 libpng_cppflags=-I/nyan/libpng/current/include/libpng16
88 libxshmfence_cppflags=-I/nyan/libxshmfence/current/include
89 libxshmfence_ldflags='-L/nyan/libxshmfence/current/lib -lxshmfence'
90 ssl_cppflags=-I/nyan/libressl/current/include
91 ssl_ldflags='-L/nyan/libressl/current/lib -lssl -lcrypto'
92 libdrm_cppflags='-I/nyan/drm/current/include/libdrm -I/nyan/drm/current/include'
93 libdrm_ldflags='-L/nyan/drm/current/lib -ldrm'
94 libepoxy_cppflags=-I/nyan/libepoxy/current/include
95 libepoxy_ldflags='-L/nyan/libepoxy/current/lib -lepoxy'
96 libudev_cppflags=-I/nyan/mudev/current/include
97 libudev_ldflags='-L/nyan/mudev/current/lib -ludev'
98 libpciaccess_cppflags=-I/nyan/libpciaccess/current/include
99 libpciaccess_ldflags='-L/nyan/libpciaccess/current/lib -lpciaccess'
100
101 sysconfdir=/nyan/xserver/current/etc
102 miscconfigpath=/nyan/xserver/current/lib/xorg
103 defaultfontdir=/share/fonts
104 dridriverpath=/nyan/mesa-gl/current/lib/dri
105 projectroot=/nyan/xserver/current
106 xkbbasedir=/share/X11/xkb
107 xkbbindir=/nyan/xkbcomp/current/bin
108 xkmoutputdir=/share/X11/xkb/compiled/
109 # the external drivers (input/gpu) must be installed there
110 defaultmodulepath=/lib/xorg/modules
111 defaultlibrarypath=/nyan/xserver/current/lib
112 defaultlogdir=/nyan/xserver/current/var/log
113 datadir=/share
114 EOF
115 #-------------------------------------------------------------------------------
116 $pkg_dir/contrib/linux-glibc.sh
117 #-------------------------------------------------------------------------------
118
119 rm -Rf /nyan/$src_name/$slot
120 mkdir -p /nyan/$src_name/$slot
121 cp -rpf $build_dir/install_root/nyan/$src_name/current/* /nyan/$src_name/$slot
122 # We copy the "shared" directory hierarchies with their files into the isolated
123 # installation directory.
124 cp -rpf $build_dir/install_root/lib /nyan/$src_name/$slot
125 # actually the /share/X11/xkb stuff will be from xkeyboard-config, we will
126 # only check for the "compiled" directory to be there
127 cp -rpf $build_dir/install_root/share /nyan/$src_name/$slot
128 # We create/check the required shared directory hierarchies with their files
129 # below.
130 modules_dirs="\
131 drivers \
132 extensions \
133 input \
134 "
135 for d in $modules_dirs
136 do
137 if test ! -e /lib/xorg/modules/$d; then
138 mkdir -p /lib/xorg/modules/$d
139 fi
140 done
141 modules="\
142 drivers/modesetting_drv.so \
143 extensions/libglx.so \
144 input/inputtest_drv.so \
145 libexa.so \
146 libfbdevhw.so \
147 libglamoregl.so \
148 libint10.so \
149 libshadow.so \
150 libshadowfb.so
151 libvgahw.so \
152 libwfb.so \
153 "
154 for m in $modules
155 do
156 if test ! -e /lib/xorg/modules/$m; then
157 ln -sTf /nyan/$src_name/current/lib/xorg/modules/$m \
158 /lib/xorg/modules/$m
159 fi
160 done
161 # xorg would not run without the "compiled" dir, have not checked recently if it is still the case though
162 data_dirs="\
163 /share/x11/xkb/compiled \
164 /share/X11/xorg.conf.d \
165 "
166 for d in $data_dirs
167 do
168 if test ! -e $d; then
169 mkdir -p $d
170 fi
171 done
172
173 # here we install the obsolete GNU autotools m4 macros, still used be xf86-video-amdgpu and xf86-input-evdev
174 # (should migrate them to using our own build scripts)
175 mkdir -p /nyan/$src_name/$slot/share/aclocal
176 cp -f $pkg_dir/xorg-server.m4 /nyan/$src_name/$slot/share/aclocal
177
178 rm -Rf $build_dir $pkg_dir
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/nyanlinux

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/nyanlinux

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/nyanlinux

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main