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.
20 if test -f $build_dir/local_conf.sh
; then
21 .
$build_dir/local_conf.sh
24 #===================================================================================================
25 if test "${sysconfdir-unset}" = unset; then
28 #===================================================================================================
29 if test "${defaultfontdir-unset}" = unset; then
30 defaultfontdir
='/usr/share/fonts'
32 #===================================================================================================
33 if test "${miscconfigdir-unset}" = unset; then
34 miscconfigdir
='/usr/lib/xorg'
36 #===================================================================================================
37 if test "${dridriverpath-unset}" = unset; then
38 dridriverpath
='/usr/lib/dri'
40 #===================================================================================================
41 if test "${projectroot-unset}" = unset; then
44 #===================================================================================================
45 if test "${xkbbasedir-unset}" = unset; then
46 xkbbasedir
='/usr/share/X11/xkb'
48 #===================================================================================================
49 if test "${xkbbindir-unset}" = unset; then
52 #===================================================================================================
53 if test "${xkmoutputdir-unset}" = unset; then
54 xkmoutputdir
='/usr/share/X11xkb/compiled/'
56 #===================================================================================================
57 if test "${defaultmodulepath-unset}" = unset; then
58 defaultmodulepath
='/usr/lib/xorg/modules'
60 #===================================================================================================
61 if test "${defaultlibrarypath-unset}" = unset; then
62 defaultlibrarypath
='/usr/lib'
64 #===================================================================================================
65 if test "${defaultlogdir-unset}" = unset; then
66 defaultlogdir
='/var/log'
68 #===================================================================================================
69 if test "${datadir-unset}" = unset; then
72 #===================================================================================================
73 if test "${cpp-unset}" = unset; then
76 #===================================================================================================
77 if test "${cc-unset}" = unset; then
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
86 if test "${xorg_ccld_epilog-unset}" = unset; then
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
94 if test "${module_ccld_epilog_tmpl-unset}" = unset; then
95 module_ccld_epilog_tmpl
=
97 #===================================================================================================
98 if test "${awk-unset}" = unset; then
101 #===================================================================================================
102 if test "${xorgproto_cppflags-unset}" = unset; then
105 #===================================================================================================
106 if test "${xtrans_cppflags-unset}" = unset; then
109 #===================================================================================================
110 if test "${libxcvt_cppflags-unset}" = unset; then
113 if test "${libxcvt_ldflags-unset}" = unset; then
116 #===================================================================================================
117 if test "${mesa_gl_cppflags-unset}" = unset; then
120 if test "${mesa_gl_ldflags-unset}" = unset; then
123 if test "${mesa_gbm_ldflags-unset}" = unset; then
126 #===================================================================================================
127 if test "${libxkbfile_cppflags-unset}" = unset; then
130 #===================================================================================================
131 if test "${pixman_cppflags-unset}" = unset; then
134 if test "${pixman_ldflags-unset}" = unset; then
137 #===================================================================================================
138 # why? we are server side
139 if test "${libX11_cppflags-unset}" = unset; then
142 #===================================================================================================
143 # why? we are server side
144 if test "${libxcb_cppflags-unset}" = unset; then
147 #===================================================================================================
149 if test "${libxau_cppflags-unset}" = unset; then
152 if test "${libxau_ldflags-unset}" = unset; then
155 #===================================================================================================
157 if test "${libxfont2_cppflags-unset}" = unset; then
160 if test "${libxfont2_ldflags-unset}" = unset; then
163 #===================================================================================================
164 if test "${libfontenc_cppflags-unset}" = unset; then
167 #===================================================================================================
168 if test "${freetype_cppflags-unset}" = unset; then
171 #===================================================================================================
172 if test "${zlib_cppflags-unset}" = unset; then
175 #===================================================================================================
176 if test "${libpng_cppflags-unset}" = unset; then
179 #===================================================================================================
180 if test "${libxshmfence_cppflags-unset}" = unset; then
181 libxshmfence_cppflags
=
183 if test "${libxshmfence_ldflags-unset}" = unset; then
184 libxshmfence_ldflags
=
186 #===================================================================================================
187 if test "${ssl_cppflags-unset}" = unset; then
190 if test "${ssl_ldflags-unset}" = unset; then
193 #===================================================================================================
194 if test "${libdrm_cppflags-unset}" = unset; then
197 if test "${libdrm_ldflags-unset}" = unset; then
200 #===================================================================================================
201 if test "${libepoxy_cppflags-unset}" = unset; then
204 if test "${libepoxy_ldflags-unset}" = unset; then
207 #===================================================================================================
208 if test "${libudev_cppflags-unset}" = unset; then
211 if test "${libudev_ldflags-unset}" = unset; then
214 #===================================================================================================
215 if test "${libpciaccess_cppflags-unset}" = unset; then
216 libpciaccess_cppflags
=
218 if test "${libpciaccess_ldflags-unset}" = unset; then
219 libpciaccess_ldflags
=
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 #===================================================================================================
253 -DHAS_STICKY_DIR_BIT \
257 -DHAVE_DIX_CONFIG_H \
258 -DHAVE_MODESETTING_DRIVER \
263 $xorgproto_cppflags \
270 $libxfont2_cppflags \
271 $libfontenc_cppflags \
275 $libxshmfence_cppflags \
277 $libxkbfile_cppflags \
282 $libpciaccess_cppflags \
285 -I$build_dir/include \
288 -I$src_dir/composite \
289 -I$src_dir/damageext \
293 -I$src_dir/miext/sync \
294 -I$src_dir/miext/shadow \
295 -I$src_dir/miext/damage \
302 #===================================================================================================
304 $src_dir/dix/atom.c \
305 $src_dir/dix/colormap.c \
306 $src_dir/dix/cursor.c \
307 $src_dir/dix/devices.c \
308 $src_dir/dix/dispatch.c \
309 $src_dir/dix/dixfonts.c \
310 $src_dir/dix/events.c \
311 $src_dir/dix/main.c \
312 $src_dir/dix/dixutils.c \
313 $src_dir/dix/enterleave.c \
314 $src_dir/dix/eventconvert.c \
315 $src_dir/dix/extension.c \
317 $src_dir/dix/getevents.c \
318 $src_dir/dix/gestures.c \
319 $src_dir/dix/globals.c \
320 $src_dir/dix/glyphcurs.c \
321 $src_dir/dix/grabs.c \
322 $src_dir/dix/initatoms.c \
323 $src_dir/dix/inpututils.c \
324 $src_dir/dix/pixmap.c \
325 $src_dir/dix/privates.c \
326 $src_dir/dix/property.c \
327 $src_dir/dix/ptrveloc.c \
328 $src_dir/dix/region.c \
329 $src_dir/dix/registry.c \
330 $src_dir/dix/resource.c \
331 $src_dir/dix/selection.c \
332 $src_dir/dix/swaprep.c \
333 $src_dir/dix/swapreq.c \
334 $src_dir/dix/tables.c \
335 $src_dir/dix/touch.c \
336 $src_dir/dix/window.c \
338 $src_dir/dix/stubmain.c \
340 mkdir
-p $build_dir/dix
341 for f
in $dix_c_files
343 dix_obj
=$build_dir/dix
/$
(basename $f .c
).o
344 dix_objs
="$dix_objs $dix_obj"
346 $cc $cppflags $f -o $dix_obj &
348 #===================================================================================================
350 $src_dir/fb/fballpriv.c \
351 $src_dir/fb/fbarc.c \
352 $src_dir/fb/fbbits.c \
353 $src_dir/fb/fbblt.c \
354 $src_dir/fb/fbbltone.c \
355 $src_dir/fb/fbcmap_mi.c \
356 $src_dir/fb/fbcopy.c \
357 $src_dir/fb/fbfill.c \
358 $src_dir/fb/fbfillrect.c \
359 $src_dir/fb/fbfillsp.c \
361 $src_dir/fb/fbgetsp.c \
362 $src_dir/fb/fbglyph.c \
363 $src_dir/fb/fbimage.c \
364 $src_dir/fb/fbline.c \
365 $src_dir/fb/fboverlay.c \
366 $src_dir/fb/fbpict.c \
367 $src_dir/fb/fbpixmap.c \
368 $src_dir/fb/fbpoint.c \
369 $src_dir/fb/fbpush.c \
370 $src_dir/fb/fbscreen.c \
371 $src_dir/fb/fbseg.c \
372 $src_dir/fb/fbsetsp.c \
373 $src_dir/fb/fbsolid.c \
374 $src_dir/fb/fbtrap.c \
375 $src_dir/fb/fbutil.c \
376 $src_dir/fb/fbwindow.c \
378 mkdir
-p $build_dir/fb
381 fb_obj
=$build_dir/fb
/fb_$
(basename $f .c
).o
382 fbw_obj
=$build_dir/fb
/fbw_$
(basename $f .c
).o
383 fb_objs
="$fb_objs $fb_obj"
384 fbw_objs
="$fbw_objs $fbw_obj"
386 $cc $cppflags $f -o $fb_obj &
388 $cc $cppflags -DFB_ACCESS_WRAPPER $f -o $fbw_obj &
390 #===================================================================================================
392 $src_dir/mi/miarc.c \
393 $src_dir/mi/mibitblt.c \
394 $src_dir/mi/micmap.c \
395 $src_dir/mi/micopy.c \
396 $src_dir/mi/midash.c \
397 $src_dir/mi/midispcur.c \
399 $src_dir/mi/miexpose.c \
400 $src_dir/mi/mifillarc.c \
401 $src_dir/mi/mifillrct.c \
403 $src_dir/mi/miglblt.c \
404 $src_dir/mi/mioverlay.c \
405 $src_dir/mi/mipointer.c \
406 $src_dir/mi/mipoly.c \
407 $src_dir/mi/mipolypnt.c \
408 $src_dir/mi/mipolyrect.c \
409 $src_dir/mi/mipolyseg.c \
410 $src_dir/mi/mipolytext.c \
411 $src_dir/mi/mipushpxl.c \
412 $src_dir/mi/miscrinit.c \
413 $src_dir/mi/misprite.c \
414 $src_dir/mi/mivaltree.c \
415 $src_dir/mi/miwideline.c \
416 $src_dir/mi/miwindow.c \
417 $src_dir/mi/mizerarc.c \
418 $src_dir/mi/mizerclip.c \
419 $src_dir/mi/mizerline.c \
421 mkdir
-p $build_dir/mi
424 mi_obj
=$build_dir/mi
/$
(basename $f .c
).o
425 mi_objs
="$mi_objs $mi_obj"
427 $cc $cppflags $f -o $mi_obj &
429 #===================================================================================================
431 $src_dir/Xext/bigreq.c \
432 $src_dir/Xext/geext.c \
433 $src_dir/Xext/shape.c \
434 $src_dir/Xext/sync.c \
435 $src_dir/Xext/xcmisc.c \
436 $src_dir/Xext/xtest.c \
437 $src_dir/Xext/shm.c \
438 $src_dir/Xext/xvmain.c \
439 $src_dir/Xext/xvdisp.c \
440 $src_dir/Xext/xvmc.c \
441 $src_dir/Xext/xres.c \
442 $src_dir/Xext/saver.c \
443 $src_dir/Xext/panoramiX.c \
444 $src_dir/Xext/panoramiXprocs.c \
445 $src_dir/Xext/panoramiXSwap.c \
446 $src_dir/Xext/xace.c \
447 $src_dir/Xext/dpms.c \
448 $src_dir/Xext/hashtable.c \
449 $src_dir/Xext/sleepuntil.c \
451 mkdir
-p $build_dir/xext
452 for f
in $xext_c_files
454 xext_obj
=$build_dir/xext
/$
(basename $f .c
).o
455 xext_objs
="$xext_objs $xext_obj"
457 $cc $cppflags $f -o $xext_obj &
459 #---------------------------------------------------------------------------------------------------
460 xext_vidmod_c_files
="\
461 $src_dir/Xext/vidmode.c \
463 for f
in $xext_vidmod_c_files
465 xext_vidmod_obj
=$build_dir/xext
/$
(basename $f .c
).o
466 xext_vidmod_objs
="$xext_vidmod_objs $xext_vidmod_obj"
468 $cc $cppflags $f -o $xext_vidmod_obj &
470 #===================================================================================================
471 miext_sync_c_files
="\
472 $src_dir/miext/sync/misync.c \
473 $src_dir/miext/sync/misyncfd.c \
474 $src_dir/miext/sync/misyncshm.c \
476 mkdir
-p $build_dir/miext
/sync
477 for f
in $miext_sync_c_files
479 miext_sync_obj
=$build_dir/miext
/sync
/$
(basename $f .c
).o
480 miext_sync_objs
="$miext_sync_objs $miext_sync_obj"
482 $cc $cppflags $f -o $miext_sync_obj &
484 #===================================================================================================
485 miext_damage_c_files
="\
486 $src_dir/miext/damage/damage.c \
488 mkdir
-p $build_dir/miext
/damage
489 for f
in $miext_damage_c_files
491 miext_damage_obj
=$build_dir/miext
/damage
/$
(basename $f .c
).o
492 miext_damage_objs
="$miext_damage_objs $miext_damage_obj"
494 $cc $cppflags $f -o $miext_damage_obj &
496 #===================================================================================================
497 miext_shadow_c_files
="\
498 $src_dir/miext/shadow/shadow.c \
499 $src_dir/miext/shadow/sh3224.c \
500 $src_dir/miext/shadow/shafb4.c \
501 $src_dir/miext/shadow/shafb8.c \
502 $src_dir/miext/shadow/shiplan2p4.c \
503 $src_dir/miext/shadow/shiplan2p8.c \
504 $src_dir/miext/shadow/shpacked.c \
505 $src_dir/miext/shadow/shplanar8.c \
506 $src_dir/miext/shadow/shplanar.c \
507 $src_dir/miext/shadow/shrot16pack_180.c \
508 $src_dir/miext/shadow/shrot16pack_270.c \
509 $src_dir/miext/shadow/shrot16pack_270YX.c \
510 $src_dir/miext/shadow/shrot16pack_90.c \
511 $src_dir/miext/shadow/shrot16pack_90YX.c \
512 $src_dir/miext/shadow/shrot16pack.c \
513 $src_dir/miext/shadow/shrot32pack_180.c \
514 $src_dir/miext/shadow/shrot32pack_270.c \
515 $src_dir/miext/shadow/shrot32pack_90.c \
516 $src_dir/miext/shadow/shrot32pack.c \
517 $src_dir/miext/shadow/shrot8pack_180.c \
518 $src_dir/miext/shadow/shrot8pack_270.c \
519 $src_dir/miext/shadow/shrot8pack_90.c \
520 $src_dir/miext/shadow/shrot8pack.c \
521 $src_dir/miext/shadow/shrotate.c \
523 mkdir
-p $build_dir/miext
/shadow
524 for f
in $miext_shadow_c_files
526 miext_shadow_obj
=$build_dir/miext
/shadow
/$
(basename $f .c
).o
527 miext_shadow_objs
="$miext_shadow_objs $miext_shadow_obj"
529 $cc $cppflags $f -o $miext_shadow_obj &
531 #===================================================================================================
532 miext_rootless_c_files
="\
533 $src_dir/miext/rootless/rootlessCommon.c \
534 $src_dir/miext/rootless/rootlessGC.c \
535 $src_dir/miext/rootless/rootlessScreen.c \
536 $src_dir/miext/rootless/rootlessValTree.c \
537 $src_dir/miext/rootless/rootlessWindow.c \
539 mkdir
-p $build_dir/miext
/rootless
540 for f
in $miext_rootless_c_files
542 miext_rootless_obj
=$build_dir/miext
/rootless
/$
(basename $f .c
).o
543 miext_rootless_objs
="$miext_rootless_objs $miext_rootless_obj"
545 $cc $cppflags $f -o $miext_rootless_obj &
547 #===================================================================================================
549 $src_dir/os/WaitFor.c \
550 $src_dir/os/access.c \
552 $src_dir/os/backtrace.c \
553 $src_dir/os/client.c \
554 $src_dir/os/connection.c \
555 $src_dir/os/inputthread.c \
557 $src_dir/os/mitauth.c \
558 $src_dir/os/oscolor.c \
559 $src_dir/os/osinit.c \
560 $src_dir/os/ospoll.c \
561 $src_dir/os/utils.c \
562 $src_dir/os/xdmauth.c \
563 $src_dir/os/xsha1.c \
564 $src_dir/os/xstrans.c \
565 $src_dir/os/xprintf.c \
567 $src_dir/os/busfault.c \
568 $src_dir/os/strlcat.c \
569 $src_dir/os/strlcpy.c \
570 $src_dir/os/timingsafe_memcmp.c \
572 mkdir
-p $build_dir/os
575 os_obj
=$build_dir/os
/$
(basename $f .c
).o
576 os_objs
="$os_objs $os_obj"
578 $cc $cppflags $f -o $os_obj &
580 #===================================================================================================
582 $src_dir/randr/randr.c \
583 $src_dir/randr/rrcrtc.c \
584 $src_dir/randr/rrdispatch.c \
585 $src_dir/randr/rrinfo.c \
586 $src_dir/randr/rrlease.c \
587 $src_dir/randr/rrmode.c \
588 $src_dir/randr/rrmonitor.c \
589 $src_dir/randr/rroutput.c \
590 $src_dir/randr/rrpointer.c \
591 $src_dir/randr/rrproperty.c \
592 $src_dir/randr/rrprovider.c \
593 $src_dir/randr/rrproviderproperty.c \
594 $src_dir/randr/rrscreen.c \
595 $src_dir/randr/rrsdispatch.c \
596 $src_dir/randr/rrtransform.c \
597 $src_dir/randr/rrxinerama.c \
599 mkdir
-p $build_dir/randr
600 for f
in $randr_c_files
602 randr_obj
=$build_dir/randr
/$
(basename $f .c
).o
603 randr_objs
="$randr_objs $randr_obj"
605 $cc $cppflags $f -o $randr_obj &
607 #===================================================================================================
609 $src_dir/render/animcur.c \
610 $src_dir/render/filter.c \
611 $src_dir/render/glyph.c \
612 $src_dir/render/matrix.c \
613 $src_dir/render/miindex.c \
614 $src_dir/render/mipict.c \
615 $src_dir/render/mirect.c \
616 $src_dir/render/mitrap.c \
617 $src_dir/render/mitri.c \
618 $src_dir/render/picture.c \
619 $src_dir/render/render.c \
621 mkdir
-p $build_dir/render
622 for f
in $render_c_files
624 render_obj
=$build_dir/render
/$
(basename $f .c
).o
625 render_objs
="$render_objs $render_obj"
627 $cc $cppflags $f -o $render_obj &
629 #===================================================================================================
631 $src_dir/Xi/allowev.c \
632 $src_dir/Xi/chgdctl.c \
633 $src_dir/Xi/chgfctl.c \
634 $src_dir/Xi/chgkbd.c \
635 $src_dir/Xi/chgkmap.c \
636 $src_dir/Xi/chgprop.c \
637 $src_dir/Xi/chgptr.c \
638 $src_dir/Xi/closedev.c \
639 $src_dir/Xi/devbell.c \
640 $src_dir/Xi/exevents.c \
641 $src_dir/Xi/extinit.c \
642 $src_dir/Xi/getbmap.c \
643 $src_dir/Xi/getdctl.c \
644 $src_dir/Xi/getfctl.c \
645 $src_dir/Xi/getfocus.c \
646 $src_dir/Xi/getkmap.c \
647 $src_dir/Xi/getmmap.c \
648 $src_dir/Xi/getprop.c \
649 $src_dir/Xi/getselev.c \
650 $src_dir/Xi/getvers.c \
651 $src_dir/Xi/grabdev.c \
652 $src_dir/Xi/grabdevb.c \
653 $src_dir/Xi/grabdevk.c \
654 $src_dir/Xi/gtmotion.c \
655 $src_dir/Xi/listdev.c \
656 $src_dir/Xi/opendev.c \
657 $src_dir/Xi/queryst.c \
658 $src_dir/Xi/selectev.c \
659 $src_dir/Xi/sendexev.c \
660 $src_dir/Xi/setbmap.c \
661 $src_dir/Xi/setdval.c \
662 $src_dir/Xi/setfocus.c \
663 $src_dir/Xi/setmmap.c \
664 $src_dir/Xi/setmode.c \
665 $src_dir/Xi/ungrdev.c \
666 $src_dir/Xi/ungrdevb.c \
667 $src_dir/Xi/ungrdevk.c \
668 $src_dir/Xi/xiallowev.c \
669 $src_dir/Xi/xibarriers.c \
670 $src_dir/Xi/xichangecursor.c \
671 $src_dir/Xi/xichangehierarchy.c \
672 $src_dir/Xi/xigetclientpointer.c \
673 $src_dir/Xi/xigrabdev.c \
674 $src_dir/Xi/xipassivegrab.c \
675 $src_dir/Xi/xiproperty.c \
676 $src_dir/Xi/xiquerydevice.c \
677 $src_dir/Xi/xiquerypointer.c \
678 $src_dir/Xi/xiqueryversion.c \
679 $src_dir/Xi/xiselectev.c \
680 $src_dir/Xi/xisetclientpointer.c \
681 $src_dir/Xi/xisetdevfocus.c \
682 $src_dir/Xi/xiwarppointer.c \
684 mkdir
-p $build_dir/xi
687 xi_obj
=$build_dir/xi
/$
(basename $f .c
).o
688 xi_objs
="$xi_objs $xi_obj"
690 $cc $cppflags $f -o $xi_obj &
692 #---------------------------------------------------------------------------------------------------
694 $src_dir/Xi/stubs.c \
696 for f
in $xi_stubs_c_files
698 xi_stubs_obj
=$build_dir/xi
/$
(basename $f .c
).o
699 xi_stubs_objs
="$xi_stubs_objs $xi_stubs_obj"
701 $cc $cppflags $f -o $xi_stubs_obj &
703 #===================================================================================================
705 $src_dir/xkb/ddxBeep.c \
706 $src_dir/xkb/ddxCtrls.c \
707 $src_dir/xkb/ddxLEDs.c \
708 $src_dir/xkb/ddxLoad.c \
710 $src_dir/xkb/xkbUtils.c \
711 $src_dir/xkb/xkbEvents.c \
712 $src_dir/xkb/xkbAccessX.c \
713 $src_dir/xkb/xkbSwap.c \
714 $src_dir/xkb/xkbLEDs.c \
715 $src_dir/xkb/xkbInit.c \
716 $src_dir/xkb/xkbActions.c \
717 $src_dir/xkb/xkbPrKeyEv.c \
718 $src_dir/xkb/maprules.c \
719 $src_dir/xkb/xkmread.c \
720 $src_dir/xkb/xkbtext.c \
721 $src_dir/xkb/xkbfmisc.c \
722 $src_dir/xkb/xkbout.c \
723 $src_dir/xkb/XKBMisc.c \
724 $src_dir/xkb/XKBAlloc.c \
725 $src_dir/xkb/XKBGAlloc.c \
726 $src_dir/xkb/XKBMAlloc.c \
728 mkdir
-p $build_dir/xkb
729 for f
in $xkb_c_files
731 xkb_obj
=$build_dir/xkb
/$
(basename $f .c
).o
732 xkb_objs
="$xkb_objs $xkb_obj"
734 $cc $cppflags $f -o $xkb_obj &
736 #---------------------------------------------------------------------------------------------------
738 $src_dir/xkb/ddxVT.c \
739 $src_dir/xkb/ddxPrivate.c \
740 $src_dir/xkb/ddxKillSrv.c \
742 for f
in $xkb_stubs_c_files
744 xkb_stubs_obj
=$build_dir/xkb
/$
(basename $f .c
).o
745 xkb_stubs_objs
="$xkb_stubs_objs $xkb_stubs_obj"
747 $cc $cppflags $f -o $xkb_stubs_obj &
749 #===================================================================================================
752 $src_dir/dbe/midbe.c \
754 mkdir
-p $build_dir/dbe
755 for f
in $dbe_c_files
757 dbe_obj
=$build_dir/dbe
/$
(basename $f .c
).o
758 dbe_objs
="$dbe_objs $dbe_obj"
760 $cc $cppflags $f -o $dbe_obj &
762 #===================================================================================================
764 $src_dir/record/record.c \
765 $src_dir/record/set.c \
767 mkdir
-p $build_dir/record
768 for f
in $record_c_files
770 record_obj
=$build_dir/record
/$
(basename $f .c
).o
771 record_objs
="$record_objs $record_obj"
773 $cc $cppflags $f -o $record_obj &
775 #===================================================================================================
777 $src_dir/xfixes/xfixes.c \
778 $src_dir/xfixes/cursor.c \
779 $src_dir/xfixes/disconnect.c \
780 $src_dir/xfixes/region.c \
781 $src_dir/xfixes/saveset.c \
782 $src_dir/xfixes/select.c \
784 mkdir
-p $build_dir/xfixes
785 for f
in $xfixes_c_files
787 xfixes_obj
=$build_dir/xfixes
/$
(basename $f .c
).o
788 xfixes_objs
="$xfixes_objs $xfixes_obj"
790 $cc $cppflags $f -o $xfixes_obj &
792 #===================================================================================================
794 $src_dir/damageext/damageext.c \
796 mkdir
-p $build_dir/damageext
797 for f
in $damageext_c_files
799 damageext_obj
=$build_dir/damageext
/$
(basename $f .c
).o
800 damageext_objs
="$damageext_objs $damageext_obj"
802 $cc $cppflags $f -o $damageext_obj &
804 #===================================================================================================
806 $src_dir/composite/compalloc.c \
807 $src_dir/composite/compext.c \
808 $src_dir/composite/compinit.c \
809 $src_dir/composite/compoverlay.c \
810 $src_dir/composite/compwindow.c \
812 mkdir
-p $build_dir/composite
813 for f
in $composite_c_files
815 composite_obj
=$build_dir/composite
/$
(basename $f .c
).o
816 composite_objs
="$composite_objs $composite_obj"
818 $cc $cppflags $f -o $composite_obj &
820 #===================================================================================================
822 $src_dir/glx/indirect_dispatch.c \
823 $src_dir/glx/indirect_dispatch_swap.c \
824 $src_dir/glx/indirect_reqsize.c \
825 $src_dir/glx/indirect_size_get.c \
826 $src_dir/glx/indirect_table.c \
827 $src_dir/glx/clientinfo.c \
828 $src_dir/glx/createcontext.c \
829 $src_dir/glx/extension_string.c \
830 $src_dir/glx/indirect_util.c \
831 $src_dir/glx/indirect_program.c \
832 $src_dir/glx/indirect_texture_compression.c \
833 $src_dir/glx/glxcmds.c \
834 $src_dir/glx/glxcmdsswap.c \
835 $src_dir/glx/glxext.c \
836 $src_dir/glx/glxdriswrast.c \
837 $src_dir/glx/glxdricommon.c \
838 $src_dir/glx/glxscreens.c \
839 $src_dir/glx/render2.c \
840 $src_dir/glx/render2swap.c \
841 $src_dir/glx/renderpix.c \
842 $src_dir/glx/renderpixswap.c \
843 $src_dir/glx/rensize.c \
844 $src_dir/glx/single2.c \
845 $src_dir/glx/single2swap.c \
846 $src_dir/glx/singlepix.c \
847 $src_dir/glx/singlepixswap.c \
848 $src_dir/glx/singlesize.c \
849 $src_dir/glx/swap_interval.c \
850 $src_dir/glx/xfont.c \
852 mkdir
-p $build_dir/glx
853 for f
in $glx_c_files
855 glx_obj
=$build_dir/glx
/$
(basename $f .c
).o
856 glx_objs
="$glx_objs $glx_obj"
859 -I$src_dir/hw
/xfree86
/common \
860 -I$src_dir/hw
/xfree86
/dri2 \
862 -D__GLX_ALIGN64 $f -o $glx_obj &
864 #---------------------------------------------------------------------------------------------------
866 $src_dir/glx/glxdri2.c \
868 for f
in $glxdri_c_files
870 glxdri_obj
=$build_dir/glx
/$
(basename $f .c
).o
871 glxdri_objs
="$glxdri_objs $glxdri_obj"
874 -I$src_dir/hw
/xfree86
/common \
875 -I$src_dir/hw
/xfree86
/dri2 \
877 -D__GLX_ALIGN64 $f -o $glxdri_obj &
879 #---------------------------------------------------------------------------------------------------
881 $src_dir/glx/vndcmds.c \
882 $src_dir/glx/vndext.c \
883 $src_dir/glx/vndservermapping.c \
884 $src_dir/glx/vndservervendor.c \
886 for f
in $glxvnd_c_files
888 glxvnd_obj
=$build_dir/glx
/$
(basename $f .c
).o
889 glxvnd_objs
="$glxvnd_objs $glxvnd_obj"
892 -I$src_dir/hw
/xfree86
/common \
893 -I$src_dir/hw
/xfree86
/dri2 \
895 -D__GLX_ALIGN64 $f -o $glxvnd_obj &
897 #===================================================================================================
899 $src_dir/present/present.c \
900 $src_dir/present/present_event.c \
901 $src_dir/present/present_execute.c \
902 $src_dir/present/present_fake.c \
903 $src_dir/present/present_fence.c \
904 $src_dir/present/present_notify.c \
905 $src_dir/present/present_request.c \
906 $src_dir/present/present_scmd.c \
907 $src_dir/present/present_screen.c \
908 $src_dir/present/present_vblank.c \
910 mkdir
-p $build_dir/present
911 for f
in $present_c_files
913 present_obj
=$build_dir/present
/$
(basename $f .c
).o
914 present_objs
="$present_objs $present_obj"
916 $cc $cppflags $f -o $present_obj &
918 #===================================================================================================
920 $src_dir/dri3/dri3.c \
921 $src_dir/dri3/dri3_request.c \
922 $src_dir/dri3/dri3_screen.c \
924 mkdir
-p $build_dir/dri3
925 for f
in $dri3_c_files
927 dri3_obj
=$build_dir/dri
3/$
(basename $f .c
).o
928 dri3_objs
="$dri3_objs $dri3_obj"
930 $cc $cppflags $f -o $dri3_obj &
932 #===================================================================================================
935 $src_dir/exa/exa_classic.c \
936 $src_dir/exa/exa_migration_classic.c \
937 $src_dir/exa/exa_driver.c \
938 $src_dir/exa/exa_mixed.c \
939 $src_dir/exa/exa_migration_mixed.c \
940 $src_dir/exa/exa_accel.c \
941 $src_dir/exa/exa_glyphs.c \
942 $src_dir/exa/exa_offscreen.c \
943 $src_dir/exa/exa_render.c \
944 $src_dir/exa/exa_unaccel.c \
946 mkdir
-p $build_dir/exa
947 for f
in $exa_c_files
949 exa_obj
=$build_dir/exa
/$
(basename $f .c
).o
950 exa_objs
="$exa_objs $exa_obj"
952 $cc $cppflags $f -o $exa_obj &
954 #===================================================================================================
956 $src_dir/glamor/glamor.c \
957 $src_dir/glamor/glamor_copy.c \
958 $src_dir/glamor/glamor_core.c \
959 $src_dir/glamor/glamor_dash.c \
960 $src_dir/glamor/glamor_font.c \
961 $src_dir/glamor/glamor_composite_glyphs.c \
962 $src_dir/glamor/glamor_image.c \
963 $src_dir/glamor/glamor_lines.c \
964 $src_dir/glamor/glamor_segs.c \
965 $src_dir/glamor/glamor_render.c \
966 $src_dir/glamor/glamor_gradient.c \
967 $src_dir/glamor/glamor_prepare.c \
968 $src_dir/glamor/glamor_program.c \
969 $src_dir/glamor/glamor_rects.c \
970 $src_dir/glamor/glamor_spans.c \
971 $src_dir/glamor/glamor_text.c \
972 $src_dir/glamor/glamor_transfer.c \
973 $src_dir/glamor/glamor_transform.c \
974 $src_dir/glamor/glamor_trapezoid.c \
975 $src_dir/glamor/glamor_triangles.c \
976 $src_dir/glamor/glamor_addtraps.c \
977 $src_dir/glamor/glamor_glyphblt.c \
978 $src_dir/glamor/glamor_points.c \
979 $src_dir/glamor/glamor_pixmap.c \
980 $src_dir/glamor/glamor_largepixmap.c \
981 $src_dir/glamor/glamor_picture.c \
982 $src_dir/glamor/glamor_vbo.c \
983 $src_dir/glamor/glamor_window.c \
984 $src_dir/glamor/glamor_fbo.c \
985 $src_dir/glamor/glamor_compositerects.c \
986 $src_dir/glamor/glamor_utils.c \
987 $src_dir/glamor/glamor_sync.c \
988 $src_dir/glamor/glamor_xv.c \
990 # we ignore $src_dir/glamor/glamor_egl_stubs.c
992 mkdir
-p $build_dir/glamor
993 for f
in $glamor_c_files
995 glamor_obj
=$build_dir/glamor
/$
(basename $f .c
).o
996 glamor_objs
="$glamor_objs $glamor_obj"
998 $cc $cppflags $f -o $glamor_obj &
1000 #===================================================================================================
1002 $src_dir/config/config.c \
1003 $src_dir/config/udev.c \
1005 mkdir
-p $build_dir/config
1006 for f
in $config_c_files
1008 config_obj
=$build_dir/config
/$
(basename $f .c
).o
1009 config_objs
="$config_objs $config_obj"
1011 $cc $cppflags $f -o $config_obj &
1013 #===================================================================================================
1014 mkdir
-p $build_dir/include
1015 sed -e "s:@version_0@:$version_0:g" \
1016 -e "s:@version_1@:$version_1:g" \
1017 -e "s:@version_2@:$version_2:g" \
1018 -e "s:@version_3@:$version_3:g" \
1019 -e "s:@defaultmodulepath@:$defaultmodulepath:g" \
1020 -e "s:@defaultlibrarypath@:$defaultlibrarypath:g" \
1021 -e "s:@defaultlogdir@:$defaultlogdir:g" \
1022 <$src_dir/contrib
/xorg-config.h.
in \
1023 >$build_dir/include
/xorg-config.h
1024 #---------------------------------------------------------------------------------------------------
1025 mkdir
-p $build_dir/hw
/xfree86
/common
1027 cat $src_dir/hw
/xfree86
/common
/vesamodes
$src_dir/hw
/xfree86
/common
/extramodes | \
1028 LC_ALL
=C
$awk -f $src_dir/hw
/xfree86
/common
/modeline2c.
awk \
1029 > $build_dir/hw
/xfree86
/common
/xf86DefModeSet.c
1031 hw_xfree86_common_c_files
="\
1032 $build_dir/hw/xfree86/common/xf86DefModeSet.c \
1033 $src_dir/hw/xfree86/common/xf86Configure.c \
1034 $src_dir/hw/xfree86/common/xf86Bus.c \
1035 $src_dir/hw/xfree86/common/xf86Config.c \
1036 $src_dir/hw/xfree86/common/xf86Cursor.c \
1037 $src_dir/hw/xfree86/common/xf86DPMS.c \
1038 $src_dir/hw/xfree86/common/xf86Events.c \
1039 $src_dir/hw/xfree86/common/xf86Globals.c \
1040 $src_dir/hw/xfree86/common/xf86AutoConfig.c \
1041 $src_dir/hw/xfree86/common/xf86Option.c \
1042 $src_dir/hw/xfree86/common/xf86Init.c \
1043 $src_dir/hw/xfree86/common/xf86VidMode.c \
1044 $src_dir/hw/xfree86/common/xf86fbman.c \
1045 $src_dir/hw/xfree86/common/xf86cmap.c \
1046 $src_dir/hw/xfree86/common/xf86Helper.c \
1047 $src_dir/hw/xfree86/common/xf86PM.c \
1048 $src_dir/hw/xfree86/common/xf86Xinput.c \
1049 $src_dir/hw/xfree86/common/xisb.c \
1050 $src_dir/hw/xfree86/common/xf86Mode.c \
1051 $src_dir/hw/xfree86/common/xorgHelper.c \
1052 $src_dir/hw/xfree86/common/xf86Extensions.c \
1053 $src_dir/hw/xfree86/common/xf86xv.c \
1054 $src_dir/hw/xfree86/common/xf86xvmc.c \
1055 $src_dir/hw/xfree86/common/xf86fbBus.c \
1056 $src_dir/hw/xfree86/common/xf86noBus.c \
1057 $src_dir/hw/xfree86/common/xf86pciBus.c \
1058 $src_dir/hw/xfree86/common/xf86VGAarbiter.c \
1059 $src_dir/hw/xfree86/common/xf86platformBus.c \
1060 $src_dir/hw/xfree86/common/xf86RandR.c \
1062 for f
in $hw_xfree86_common_c_files
1064 hw_xfree86_common_obj
=$build_dir/hw
/xfree86
/common
/$
(basename $f .c
).o
1065 hw_xfree86_common_objs
="$hw_xfree86_common_objs $hw_xfree86_common_obj"
1068 -DHAVE_XORG_CONFIG_H -DHAVE_ACPI \
1069 -I$src_dir/hw
/xfree86
/os-support
/bus \
1070 -I$src_dir/hw
/xfree86
/os-support \
1071 -I$src_dir/hw
/xfree86
/parser \
1072 -I$src_dir/hw
/xfree86
/loader \
1073 -I$src_dir/hw
/xfree86
/ramdac \
1074 -I$src_dir/hw
/xfree86
/ddc \
1075 -I$src_dir/hw
/xfree86
/i2c \
1076 -I$src_dir/hw
/xfree86
/modes \
1077 -I$src_dir/hw
/xfree86
/common \
1078 $f -o $hw_xfree86_common_obj &
1080 #===================================================================================================
1081 hw_xfree86_ddc_c_files
="\
1082 $src_dir/hw/xfree86/ddc/ddc.c \
1083 $src_dir/hw/xfree86/ddc/interpret_edid.c \
1084 $src_dir/hw/xfree86/ddc/print_edid.c \
1085 $src_dir/hw/xfree86/ddc/ddcProperty.c \
1087 mkdir
-p $build_dir/hw
/xfree86
/ddc
1088 for f
in $hw_xfree86_ddc_c_files
1090 hw_xfree86_ddc_obj
=$build_dir/hw
/xfree86
/ddc
/$
(basename $f .c
).o
1091 hw_xfree86_ddc_objs
="$hw_xfree86_ddc_objs $hw_xfree86_ddc_obj"
1094 -DHAVE_XORG_CONFIG_H \
1095 -I$src_dir/hw
/xfree86
/os-support \
1096 -I$src_dir/hw
/xfree86
/i2c \
1097 -I$src_dir/hw
/xfree86
/common \
1098 $f -o $hw_xfree86_ddc_obj &
1100 #===================================================================================================
1101 hw_xfree86_x86emu_c_files
="\
1102 $src_dir/hw/xfree86/x86emu/debug.c \
1103 $src_dir/hw/xfree86/x86emu/decode.c \
1104 $src_dir/hw/xfree86/x86emu/fpu.c \
1105 $src_dir/hw/xfree86/x86emu/ops2.c \
1106 $src_dir/hw/xfree86/x86emu/ops.c \
1107 $src_dir/hw/xfree86/x86emu/prim_ops.c \
1108 $src_dir/hw/xfree86/x86emu/sys.c \
1110 mkdir
-p $build_dir/hw
/xfree86
/x86emu
1111 for f
in $hw_xfree86_x86emu_c_files
1113 hw_xfree86_x86emu_obj
=$build_dir/hw
/xfree86
/x86emu
/$
(basename $f .c
).o
1114 hw_xfree86_x86emu_objs
="$hw_xfree86_x86emu_objs $hw_xfree86_x86emu_obj"
1117 -DHAVE_XORG_CONFIG_H \
1118 -I$src_dir/hw
/xfree86
/x86emu \
1119 $f -o $hw_xfree86_x86emu_obj &
1121 #===================================================================================================
1122 (hw_xfree86_int10_c_files
="\
1123 $src_dir/hw/xfree86/int10/vbe.c \
1124 $src_dir/hw/xfree86/int10/vbeModes.c \
1125 $src_dir/hw/xfree86/int10/helper_exec.c \
1126 $src_dir/hw/xfree86/int10/xf86int10.c \
1127 $src_dir/hw/xfree86/int10/xf86int10module.c \
1128 $src_dir/hw/xfree86/int10/xf86x86emu.c \
1129 $src_dir/hw/xfree86/int10/generic.c \
1130 $src_dir/hw/xfree86/int10/x86emu.c \
1132 mkdir
-p $build_dir/hw
/xfree86
/int10
1133 for f
in $hw_xfree86_int10_c_files
1135 hw_xfree86_int10_obj
=$build_dir/hw
/xfree86
/int10
/$
(basename $f .c
).o
1136 hw_xfree86_int10_objs
="$hw_xfree86_int10_objs $hw_xfree86_int10_obj"
1139 -DHAVE_XORG_CONFIG_H \
1140 -D_PC -D_X86EMU -DNO_SYS_HEADERS \
1141 -I$src_dir/hw
/xfree86
/os-support
/bus \
1142 -I$src_dir/hw
/xfree86
/os-support \
1143 -I$src_dir/hw
/xfree86
/i2c \
1144 -I$src_dir/hw
/xfree86
/parser \
1145 -I$src_dir/hw
/xfree86
/ddc \
1146 -I$src_dir/hw
/xfree86
/modes \
1147 -I$src_dir/hw
/xfree86
/common \
1148 -I$src_dir/hw
/xfree86
/x86emu \
1149 -I$src_dir/hw
/xfree86
/int10 \
1150 -I$src_dir/hw
/xfree86
/helper_mem \
1151 $f -o $hw_xfree86_int10_obj &
1153 #---------------------------------------------------------------------------------------------------
1155 mkdir
-p $build_dir/install_root
$defaultmodulepath
1156 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1157 module_name
=libint10.so
1158 eval $module_ccld_prolog_tmpl \
1159 $module_ccld_epilog_tmpl \
1160 $hw_xfree86_int10_objs \
1161 $libpciaccess_ldflags \
1162 -o $build_dir/install_root
$defaultmodulepath/$module_name) &
1163 #===================================================================================================
1164 hw_xfree86_os_support_bus_c_files
="\
1165 $src_dir/hw/xfree86/os-support/bus/Pci.c \
1166 $src_dir/hw/xfree86/os-support/bus/nobus.c \
1168 mkdir
-p $build_dir/hw
/xfree86
/os-support
/bus
1169 for f
in $hw_xfree86_os_support_bus_c_files
1171 hw_xfree86_os_support_bus_obj
=$build_dir/hw
/xfree86
/os-support
/bus
/$
(basename $f .c
).o
1172 hw_xfree86_os_support_bus_objs
="$hw_xfree86_os_support_bus_objs $hw_xfree86_os_support_bus_obj"
1175 -DHAVE_XORG_CONFIG_H \
1176 $f -o $hw_xfree86_os_support_bus_obj &
1178 #===================================================================================================
1179 hw_xfree86_os_support_linux_c_files
="\
1180 $src_dir/hw/xfree86/os-support/linux/lnx_init.c \
1181 $src_dir/hw/xfree86/os-support/linux/lnx_video.c \
1182 $src_dir/hw/xfree86/os-support/linux/lnx_kmod.c \
1183 $src_dir/hw/xfree86/os-support/linux/lnx_bell.c \
1184 $src_dir/hw/xfree86/os-support/linux/lnx_platform.c \
1185 $src_dir/hw/xfree86/os-support/shared/VTsw_usl.c \
1186 $src_dir/hw/xfree86/os-support/shared/posix_tty.c \
1187 $src_dir/hw/xfree86/os-support/shared/vidmem.c \
1188 $src_dir/hw/xfree86/os-support/shared/sigio.c \
1189 $src_dir/hw/xfree86/os-support/linux/lnx_acpi.c \
1190 $src_dir/hw/xfree86/os-support/linux/lnx_apm.c \
1191 $src_dir/hw/xfree86/os-support/linux/lnx_agp.c \
1193 mkdir
-p $build_dir/hw
/xfree86
/os-support
/linux
1194 for f
in $hw_xfree86_os_support_linux_c_files
1196 hw_xfree86_os_support_linux_obj
=$build_dir/hw
/xfree86
/os-support
/linux
/$
(basename $f .c
).o
1197 hw_xfree86_os_support_linux_objs
="$hw_xfree86_os_support_linux_objs $hw_xfree86_os_support_linux_obj"
1200 -DHAVE_XORG_CONFIG_H \
1201 -DHAVE_ACPI -DHAVE_APM \
1203 -I$src_dir/hw
/xfree86
/os-support \
1204 -I$src_dir/hw
/xfree86
/common \
1205 $f -o $hw_xfree86_os_support_linux_obj &
1207 #===================================================================================================
1208 hw_xfree86_os_support_misc_c_files
="\
1209 $src_dir/hw/xfree86/os-support/misc/SlowBcopy.c \
1211 mkdir
-p $build_dir/hw
/xfree86
/os-support
/misc
1212 for f
in $hw_xfree86_os_support_misc_c_files
1214 hw_xfree86_os_support_misc_obj
=$build_dir/hw
/xfree86
/os-support
/misc
/$
(basename $f .c
).o
1215 hw_xfree86_os_support_misc_objs
="$hw_xfree86_os_support_misc_objs $hw_xfree86_os_support_misc_obj"
1218 -DHAVE_XORG_CONFIG_H \
1219 -I$src_dir/hw
/xfree86
/os-support \
1220 -I$src_dir/hw
/xfree86
/common \
1221 $f -o $hw_xfree86_os_support_misc_obj &
1223 #===================================================================================================
1224 hw_xfree86_parser_c_files
="\
1225 $src_dir/hw/xfree86/parser/Device.c \
1226 $src_dir/hw/xfree86/parser/Files.c \
1227 $src_dir/hw/xfree86/parser/Flags.c \
1228 $src_dir/hw/xfree86/parser/Input.c \
1229 $src_dir/hw/xfree86/parser/InputClass.c \
1230 $src_dir/hw/xfree86/parser/OutputClass.c \
1231 $src_dir/hw/xfree86/parser/Layout.c \
1232 $src_dir/hw/xfree86/parser/Module.c \
1233 $src_dir/hw/xfree86/parser/Video.c \
1234 $src_dir/hw/xfree86/parser/Monitor.c \
1235 $src_dir/hw/xfree86/parser/Pointer.c \
1236 $src_dir/hw/xfree86/parser/Screen.c \
1237 $src_dir/hw/xfree86/parser/Vendor.c \
1238 $src_dir/hw/xfree86/parser/read.c \
1239 $src_dir/hw/xfree86/parser/scan.c \
1240 $src_dir/hw/xfree86/parser/write.c \
1241 $src_dir/hw/xfree86/parser/DRI.c \
1242 $src_dir/hw/xfree86/parser/Extensions.c \
1244 mkdir
-p $build_dir/hw
/xfree86
/parser
1245 for f
in $hw_xfree86_parser_c_files
1247 hw_xfree86_parser_obj
=$build_dir/hw
/xfree86
/parser
/$
(basename $f .c
).o
1248 hw_xfree86_parser_objs
="$hw_xfree86_parser_objs $hw_xfree86_parser_obj"
1251 -DHAVE_XORG_CONFIG_H \
1252 -DDATADIR=\"$datadir\" \
1253 -I$src_dir/hw
/xfree86
/parser \
1254 -I$src_dir/hw
/xfree86
/common \
1255 $f -o $hw_xfree86_parser_obj &
1257 #===================================================================================================
1258 hw_xfree86_ramdac_c_files
="\
1259 $src_dir/hw/xfree86/ramdac/xf86CursorRD.c \
1260 $src_dir/hw/xfree86/ramdac/xf86HWCurs.c \
1262 mkdir
-p $build_dir/hw
/xfree86
/ramdac
1263 for f
in $hw_xfree86_ramdac_c_files
1265 hw_xfree86_ramdac_obj
=$build_dir/hw
/xfree86
/ramdac
/$
(basename $f .c
).o
1266 hw_xfree86_ramdac_objs
="$hw_xfree86_ramdac_objs $hw_xfree86_ramdac_obj"
1269 -DHAVE_XORG_CONFIG_H \
1270 -I$src_dir/hw
/xfree86
/os-support \
1271 -I$src_dir/hw
/xfree86
/common \
1272 $f -o $hw_xfree86_ramdac_obj &
1274 #===================================================================================================
1275 (hw_xfree86_vgahw_c_files
="\
1276 $src_dir/hw/xfree86/vgahw/vgaHW.c \
1277 $src_dir/hw/xfree86/vgahw/vgaHWmodule.c \
1279 mkdir
-p $build_dir/hw
/xfree86
/vgahw
1280 for f
in $hw_xfree86_vgahw_c_files
1282 hw_xfree86_vgahw_obj
=$build_dir/hw
/xfree86
/vgahw
/$
(basename $f .c
).o
1283 hw_xfree86_vgahw_objs
="$hw_xfree86_vgahw_objs $hw_xfree86_vgahw_obj"
1286 -DHAVE_XORG_CONFIG_H \
1287 -I$src_dir/hw
/xfree86
/os-support
/bus \
1288 -I$src_dir/hw
/xfree86
/os-support \
1289 -I$src_dir/hw
/xfree86
/i2c \
1290 -I$src_dir/hw
/xfree86
/ddc \
1291 -I$src_dir/hw
/xfree86
/common \
1292 $f -o $hw_xfree86_vgahw_obj &
1294 #---------------------------------------------------------------------------------------------------
1296 mkdir
-p $build_dir/install_root
$defaultmodulepath
1297 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1298 module_name
=libvgahw.so
1299 eval $module_ccld_prolog_tmpl \
1300 $module_ccld_epilog_tmpl \
1301 $hw_xfree86_vgahw_objs \
1302 $libpciaccess_ldflags \
1303 -o $build_dir/install_root
$defaultmodulepath/$module_name) &
1304 #===================================================================================================
1305 hw_xfree86_loader_c_files
="\
1306 $src_dir/hw/xfree86/loader/loader.c \
1307 $src_dir/hw/xfree86/loader/loadmod.c \
1309 mkdir
-p $build_dir/hw
/xfree86
/loader
1310 for f
in $hw_xfree86_loader_c_files
1312 hw_xfree86_loader_obj
=$build_dir/hw
/xfree86
/loader
/$
(basename $f .c
).o
1313 hw_xfree86_loader_objs
="$hw_xfree86_loader_objs $hw_xfree86_loader_obj"
1316 -DHAVE_XORG_CONFIG_H \
1317 -I$src_dir/hw
/xfree86
/common \
1318 $f -o $hw_xfree86_loader_obj &
1320 #===================================================================================================
1321 hw_xfree86_modes_c_files
="\
1322 $src_dir/hw/xfree86/modes/xf86Crtc.c \
1323 $src_dir/hw/xfree86/modes/xf86Cursors.c \
1324 $src_dir/hw/xfree86/modes/xf86gtf.c \
1325 $src_dir/hw/xfree86/modes/xf86EdidModes.c \
1326 $src_dir/hw/xfree86/modes/xf86Modes.c \
1327 $src_dir/hw/xfree86/modes/xf86RandR12.c \
1328 $src_dir/hw/xfree86/modes/xf86Rotate.c \
1330 mkdir
-p $build_dir/hw
/xfree86
/modes
1331 for f
in $hw_xfree86_modes_c_files
1333 hw_xfree86_modes_obj
=$build_dir/hw
/xfree86
/modes
/$
(basename $f .c
).o
1334 hw_xfree86_modes_objs
="$hw_xfree86_modes_objs $hw_xfree86_modes_obj"
1337 -DHAVE_XORG_CONFIG_H \
1338 -I$src_dir/hw
/xfree86
/ramdac \
1339 -I$src_dir/hw
/xfree86
/ddc \
1340 -I$src_dir/hw
/xfree86
/i2c \
1341 -I$src_dir/hw
/xfree86
/parser \
1342 -I$src_dir/hw
/xfree86
/common \
1343 $f -o $hw_xfree86_modes_obj &
1345 #===================================================================================================
1346 hw_xfree86_dri_c_files
="\
1347 $src_dir/hw/xfree86/dri/dri.c \
1348 $src_dir/hw/xfree86/dri/xf86dri.c \
1350 mkdir
-p $build_dir/hw
/xfree86
/dri
1351 for f
in $hw_xfree86_dri_c_files
1353 hw_xfree86_dri_obj
=$build_dir/hw
/xfree86
/dri
/$
(basename $f .c
).o
1354 hw_xfree86_dri_objs
="$hw_xfree86_dri_objs $hw_xfree86_dri_obj"
1357 -DHAVE_XORG_CONFIG_H \
1358 -I$src_dir/hw
/xfree86
/os-support \
1359 -I$src_dir/hw
/xfree86
/i2c \
1360 -I$src_dir/hw
/xfree86
/ramdac \
1361 -I$src_dir/hw
/xfree86
/ddc \
1362 -I$src_dir/hw
/xfree86
/modes \
1363 -I$src_dir/hw
/xfree86
/parser \
1364 -I$src_dir/hw
/xfree86
/common \
1365 $f -o $hw_xfree86_dri_obj &
1367 #===================================================================================================
1368 hw_xfree86_dri2_c_files
="\
1369 $src_dir/hw/xfree86/dri2/dri2.c \
1370 $src_dir/hw/xfree86/dri2/dri2ext.c \
1372 mkdir
-p $build_dir/hw
/xfree86
/dri2
1373 for f
in $hw_xfree86_dri2_c_files
1375 hw_xfree86_dri2_obj
=$build_dir/hw
/xfree86
/dri
2/$
(basename $f .c
).o
1376 hw_xfree86_dri2_objs
="$hw_xfree86_dri2_objs $hw_xfree86_dri2_obj"
1379 -DHAVE_XORG_CONFIG_H \
1380 -I$src_dir/hw
/xfree86
/dri2 \
1381 -I$src_dir/hw
/xfree86
/common \
1382 $f -o $hw_xfree86_dri2_obj &
1384 #===================================================================================================
1385 mkdir
-p $build_dir/hw
/xfree86
1387 cd $build_dir/hw
/xfree86
1388 CPP
="$cpp" AWK
="$awk" /bin
/sh
$src_dir/hw
/xfree86
/sdksyms.sh \
1390 -isystem /nyan
/glibc
/current
/include \
1391 -isystem /nyan
/linux-headers
/current
/include \
1392 -I$src_dir/hw
/xfree86
/dri2 \
1393 -I$src_dir/hw
/xfree86
/dri \
1394 -I$src_dir/hw
/xfree86
/ramdac \
1395 -I$src_dir/hw
/xfree86
/modes \
1396 -I$src_dir/hw
/xfree86
/parser \
1397 -I$src_dir/hw
/xfree86
/ddc \
1398 -I$src_dir/hw
/xfree86
/i2c \
1399 -I$src_dir/hw
/xfree86
/os-support
/bus \
1400 -I$src_dir/hw
/xfree86
/os-support \
1401 -I$src_dir/hw
/xfree86
/common \
1403 $cppflags -DHAVE_XORG_CONFIG_H
1405 hw_xfree86_c_files
="\
1406 $build_dir/hw/xfree86/sdksyms.c \
1408 for f
in $hw_xfree86_c_files
1410 hw_xfree86_obj
=$build_dir/hw
/xfree86
/$
(basename $f .c
).o
1411 hw_xfree86_objs
="$hw_xfree86_objs $hw_xfree86_obj"
1414 -DHAVE_XORG_CONFIG_H \
1415 -I$src_dir/hw
/xfree86
/dri2 \
1416 -I$src_dir/hw
/xfree86
/dri \
1417 -I$src_dir/hw
/xfree86
/ramdac \
1418 -I$src_dir/hw
/xfree86
/modes \
1419 -I$src_dir/hw
/xfree86
/parser \
1420 -I$src_dir/hw
/xfree86
/ddc \
1421 -I$src_dir/hw
/xfree86
/i2c \
1422 -I$src_dir/hw
/xfree86
/os-support
/bus \
1423 -I$src_dir/hw
/xfree86
/os-support \
1424 -I$src_dir/hw
/xfree86
/common \
1426 $f -o $hw_xfree86_obj &
1428 #===================================================================================================
1429 hw_xfree86_dixmods_c_files
="\
1430 $src_dir/mi/miinitext.c \
1432 mkdir
-p $build_dir/hw
/xfree86
/dixmods
1433 for f
in $hw_xfree86_dixmods_c_files
1435 hw_xfree86_dixmods_obj
=$build_dir/hw
/xfree86
/dixmods
/$
(basename $f .c
).o
1436 hw_xfree86_dixmods_objs
="$hw_xfree86_dixmods_objs $hw_xfree86_dixmods_obj"
1439 -DHAVE_XORG_CONFIG_H \
1440 -I$src_dir/hw
/xfree86
/common \
1441 $f -o $hw_xfree86_dixmods_obj &
1443 #===================================================================================================
1444 hw_xfree86_i2c_c_files
="\
1445 $src_dir/hw/xfree86/i2c/xf86i2c.c \
1447 mkdir
-p $build_dir/hw
/xfree86
/i2c
1448 for f
in $hw_xfree86_i2c_c_files
1450 hw_xfree86_i2c_obj
=$build_dir/hw
/xfree86
/i2c
/$
(basename $f .c
).o
1451 hw_xfree86_i2c_objs
="$hw_xfree86_i2c_objs $hw_xfree86_i2c_obj"
1454 -DHAVE_XORG_CONFIG_H \
1455 -I$src_dir/hw
/xfree86
/os-support \
1456 -I$src_dir/hw
/xfree86
/common \
1457 $f -o $hw_xfree86_i2c_obj &
1459 #===================================================================================================
1460 hw_xfree86_xkb_c_files
="\
1461 $src_dir/hw/xfree86/xkb/xkbVT.c \
1462 $src_dir/hw/xfree86/xkb/xkbPrivate.c \
1463 $src_dir/hw/xfree86/xkb/xkbKillSrv.c \
1465 mkdir
-p $build_dir/hw
/xfree86
/xkb
1466 for f
in $hw_xfree86_xkb_c_files
1468 hw_xfree86_xkb_obj
=$build_dir/hw
/xfree86
/xkb
/$
(basename $f .c
).o
1469 hw_xfree86_xkb_objs
="$hw_xfree86_xkb_objs $hw_xfree86_xkb_obj"
1472 -DHAVE_XORG_CONFIG_H \
1473 -I$src_dir/hw
/xfree86
/common \
1474 $f -o $hw_xfree86_xkb_obj &
1476 #===================================================================================================
1478 mkdir
-p $build_dir/install_root
/$projectroot/bin
1481 $hw_xfree86_loader_objs \
1482 $hw_xfree86_common_objs \
1484 $hw_xfree86_os_support_bus_objs \
1485 $hw_xfree86_os_support_linux_objs \
1486 $hw_xfree86_os_support_misc_objs \
1487 $hw_xfree86_parser_objs \
1488 $hw_xfree86_dixmods_objs \
1489 $hw_xfree86_modes_objs \
1490 $hw_xfree86_ramdac_objs \
1491 $hw_xfree86_ddc_objs \
1492 $hw_xfree86_i2c_objs \
1502 $miext_damage_objs \
1505 $hw_xfree86_xkb_objs \
1506 $hw_xfree86_dri_objs \
1507 $hw_xfree86_dri2_objs \
1517 $libpciaccess_ldflags \
1518 $libxfont2_ldflags \
1520 $libxshmfence_ldflags \
1525 -lm -ldl -lpthread \
1527 -o $build_dir/install_root
$projectroot/bin
/Xorg \
1528 $build_dir/hw
/xfree86
/sdksyms.o
1529 #===================================================================================================
1530 (hw_xfree86_dixmods_glxmodule_c_files
="\
1531 $src_dir/hw/xfree86/dixmods/glxmodule.c
1533 mkdir
-p $build_dir/hw
/xfree86
/dixmods
1534 for f
in $hw_xfree86_dixmods_glxmodule_c_files
1536 hw_xfree86_dixmods_glxmodule_obj
=$build_dir/hw
/xfree86
/dixmods
/$
(basename $f .c
).o
1537 hw_xfree86_dixmods_glxmodule_objs
="$hw_xfree86_dixmods_glxmodule_objs $hw_xfree86_dixmods_glxmodule_obj"
1540 -DHAVE_XORG_CONFIG_H \
1541 -I$src_dir/hw
/xfree86
/common \
1543 $f -o $hw_xfree86_dixmods_glxmodule_obj &
1545 #---------------------------------------------------------------------------------------------------
1547 mkdir
-p $build_dir/install_root
$defaultmodulepath/extensions
1548 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1549 module_name
=libglx.so
1550 eval $module_ccld_prolog_tmpl \
1553 $module_ccld_epilog_tmpl \
1554 $hw_xfree86_dixmods_glxmodule_objs \
1557 -o $build_dir/install_root
$defaultmodulepath/extensions
/$module_name) &
1558 #===================================================================================================
1559 (hw_xfree86_dixmods_libwfb_c_files
="\
1560 $src_dir/hw/xfree86/dixmods/fbmodule.c
1562 mkdir
-p $build_dir/hw
/xfree86
/dixmods
1563 for f
in $hw_xfree86_dixmods_libwfb_c_files
1565 hw_xfree86_dixmods_libwfb_obj
=$build_dir/hw
/xfree86
/dixmods
/$
(basename $f .c
).o
1566 hw_xfree86_dixmods_libwfb_objs
="$hw_xfree86_dixmods_libwfb_objs $hw_xfree86_dixmods_libwfb_obj"
1569 -DHAVE_XORG_CONFIG_H \
1570 -DFB_ACCESS_WRAPPER \
1571 -I$src_dir/hw
/xfree86
/common \
1572 $f -o $hw_xfree86_dixmods_libwfb_obj &
1574 #---------------------------------------------------------------------------------------------------
1576 mkdir
-p $build_dir/install_root
$defaultmodulepath
1577 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1578 module_name
=libwfb.so
1579 eval $module_ccld_prolog_tmpl \
1581 $module_ccld_epilog_tmpl \
1582 $hw_xfree86_dixmods_libwfb_objs \
1584 -o $build_dir/install_root
$defaultmodulepath/$module_name) &
1585 #===================================================================================================
1586 (hw_xfree86_dixmods_libshadow_c_files
="\
1587 $src_dir/hw/xfree86/dixmods/shmodule.c
1589 mkdir
-p $build_dir/hw
/xfree86
/dixmods
1590 for f
in $hw_xfree86_dixmods_libshadow_c_files
1592 hw_xfree86_dixmods_libshadow_obj
=$build_dir/hw
/xfree86
/dixmods
/$
(basename $f .c
).o
1593 hw_xfree86_dixmods_libshadow_objs
="$hw_xfree86_dixmods_libshadow_objs $hw_xfree86_dixmods_libshadow_obj"
1596 -DHAVE_XORG_CONFIG_H \
1597 -I$src_dir/hw
/xfree86
/common \
1598 $f -o $hw_xfree86_dixmods_libshadow_obj &
1600 #---------------------------------------------------------------------------------------------------
1602 mkdir
-p $build_dir/install_root
$defaultmodulepath
1603 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1604 module_name
=libshadow.so
1605 eval $module_ccld_prolog_tmpl \
1606 $miext_shadow_objs \
1607 $module_ccld_epilog_tmpl \
1608 $hw_xfree86_dixmods_libshadow_objs \
1609 -o $build_dir/install_root
$defaultmodulepath/$module_name) &
1610 #===================================================================================================
1611 (hw_xfree86_fbdevhw_c_files
="\
1612 $src_dir/hw/xfree86/fbdevhw/fbdevhw.c
1614 mkdir
-p $build_dir/hw
/xfree86
/fbdevhw
1615 for f
in $hw_xfree86_fbdevhw_c_files
1617 hw_xfree86_fbdevhw_obj
=$build_dir/hw
/xfree86
/fbdevhw
/$
(basename $f .c
).o
1618 hw_xfree86_fbdevhw_objs
="$hw_xfree86_fbdevhw_objs $hw_xfree86_fbdevhw_obj"
1621 -DHAVE_XORG_CONFIG_H \
1622 -I$src_dir/hw
/xfree86
/os-support
/bus \
1623 -I$src_dir/hw
/xfree86
/os-support \
1624 -I$src_dir/hw
/xfree86
/parser \
1625 -I$src_dir/hw
/xfree86
/ddc \
1626 -I$src_dir/hw
/xfree86
/modes \
1627 -I$src_dir/hw
/xfree86
/common \
1628 $f -o $hw_xfree86_fbdevhw_obj &
1630 #---------------------------------------------------------------------------------------------------
1632 mkdir
-p $build_dir/install_root
$defaultmodulepath
1633 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1634 module_name
=libfbdevhw.so
1635 eval $module_ccld_prolog_tmpl \
1636 $module_ccld_epilog_tmpl \
1637 $hw_xfree86_fbdevhw_objs \
1638 -o $build_dir/install_root
$defaultmodulepath/$module_name) &
1639 #===================================================================================================
1640 (hw_xfree86_shadowfb_libshadowfb_c_files
="\
1641 $src_dir/hw/xfree86/shadowfb/sfbmodule.c
1642 $src_dir/hw/xfree86/shadowfb/shadowfb.c
1644 mkdir
-p $build_dir/hw
/xfree86
/shadowfb
1645 for f
in $hw_xfree86_shadowfb_libshadowfb_c_files
1647 hw_xfree86_shadowfb_libshadowfb_obj
=$build_dir/hw
/xfree86
/shadowfb
/$
(basename $f .c
).o
1648 hw_xfree86_shadowfb_libshadowfb_objs
="$hw_xfree86_shadowfb_libshadowfb_objs $hw_xfree86_shadowfb_libshadowfb_obj"
1651 -DHAVE_XORG_CONFIG_H \
1652 -I$src_dir/hw
/xfree86
/common \
1653 $f -o $hw_xfree86_shadowfb_libshadowfb_obj &
1655 #---------------------------------------------------------------------------------------------------
1657 mkdir
-p $build_dir/install_root
$defaultmodulepath
1658 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1659 module_name
=libshadowfb.so
1660 eval $module_ccld_prolog_tmpl \
1661 $module_ccld_epilog_tmpl \
1662 $hw_xfree86_shadowfb_libshadowfb_objs \
1663 -o $build_dir/install_root
$defaultmodulepath/$module_name) &
1664 #===================================================================================================
1665 (hw_xfree86_exa_libexa_c_files
="\
1666 $src_dir/hw/xfree86/exa/examodule.c
1668 mkdir
-p $build_dir/hw
/xfree86
/exa
1669 for f
in $hw_xfree86_exa_libexa_c_files
1671 hw_xfree86_exa_libexa_obj
=$build_dir/hw
/xfree86
/exa
/$
(basename $f .c
).o
1672 hw_xfree86_exa_libexa_objs
="$hw_xfree86_exa_libexa_objs $hw_xfree86_exa_libexa_obj"
1675 -DHAVE_XORG_CONFIG_H \
1676 -I$src_dir/hw
/xfree86
/common \
1678 $f -o $hw_xfree86_exa_libexa_obj &
1680 #---------------------------------------------------------------------------------------------------
1682 mkdir
-p $build_dir/install_root
$defaultmodulepath
1683 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1684 module_name
=libexa.so
1685 eval $module_ccld_prolog_tmpl \
1687 $module_ccld_epilog_tmpl \
1688 $hw_xfree86_exa_libexa_objs \
1690 -o $build_dir/install_root
$defaultmodulepath/$module_name) &
1691 #===================================================================================================
1692 (glamor_libglamoregl_c_files
="\
1693 $src_dir/glamor/glamor_egl.c \
1694 $src_dir/glamor/glamor_eglmodule.c \
1695 $src_dir/hw/xfree86/glamor_egl/glamor_xf86_xv.c \
1697 mkdir
-p $build_dir/glamor
1698 for f
in $glamor_libglamoregl_c_files
1700 glamor_libglamoregl_obj
=$build_dir/glamor
/$
(basename $f .c
).o
1701 glamor_libglamoregl_objs
="$glamor_libglamoregl_objs $glamor_libglamoregl_obj"
1704 -DHAVE_XORG_CONFIG_H \
1705 -I$src_dir/hw
/xfree86
/common \
1708 $f -o $glamor_libglamoregl_obj &
1710 #---------------------------------------------------------------------------------------------------
1712 mkdir
-p $build_dir/install_root
$defaultmodulepath
1713 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1714 module_name
=libglamoregl.so
1715 eval $module_ccld_prolog_tmpl \
1717 $module_ccld_epilog_tmpl \
1718 $glamor_libglamoregl_objs \
1723 -o $build_dir/install_root
$defaultmodulepath/$module_name) &
1724 #===================================================================================================
1725 (hw_xfree86_drivers_modesetting_c_files
="\
1726 $src_dir/hw/xfree86/drivers/modesetting/dri2.c \
1727 $src_dir/hw/xfree86/drivers/modesetting/driver.c \
1728 $src_dir/hw/xfree86/drivers/modesetting/drmmode_display.c \
1729 $src_dir/hw/xfree86/drivers/modesetting/dumb_bo.c \
1730 $src_dir/hw/xfree86/drivers/modesetting/present.c \
1731 $src_dir/hw/xfree86/drivers/modesetting/vblank.c \
1732 $src_dir/hw/xfree86/drivers/modesetting/pageflip.c \
1734 mkdir
-p $build_dir/hw
/xfree86
/drivers
/modesetting
1735 for f
in $hw_xfree86_drivers_modesetting_c_files
1737 hw_xfree86_drivers_modesetting_obj
=$build_dir/hw
/xfree86
/drivers
/modesetting
/$
(basename $f .c
).o
1738 hw_xfree86_drivers_modesetting_objs
="$hw_xfree86_drivers_modesetting_objs $hw_xfree86_drivers_modesetting_obj"
1741 -DHAVE_XORG_CONFIG_H \
1742 -I$src_dir/hw
/xfree86
/dri2 \
1743 -I$src_dir/hw
/xfree86
/i2c \
1744 -I$src_dir/hw
/xfree86
/ramdac \
1745 -I$src_dir/hw
/xfree86
/parser \
1746 -I$src_dir/hw
/xfree86
/ddc \
1747 -I$src_dir/hw
/xfree86
/modes \
1748 -I$src_dir/hw
/xfree86
/os-support
/bus \
1749 -I$src_dir/hw
/xfree86
/os-support \
1750 -I$src_dir/hw
/xfree86
/common \
1752 $f -o $hw_xfree86_drivers_modesetting_obj &
1754 #---------------------------------------------------------------------------------------------------
1756 mkdir
-p $build_dir/install_root
$defaultmodulepath/drivers
1757 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1758 module_name
=modesetting_drv.so
1759 eval $module_ccld_prolog_tmpl \
1760 $module_ccld_epilog_tmpl \
1761 $hw_xfree86_drivers_modesetting_objs \
1765 -o $build_dir/install_root
$defaultmodulepath/drivers
/$module_name) &
1766 #===================================================================================================
1767 (hw_xfree86_drivers_inputtest_c_files
="\
1768 $src_dir/hw/xfree86/drivers/inputtest/xf86-input-inputtest.c \
1770 mkdir
-p $build_dir/hw
/xfree86
/drivers
/inputtest
1771 for f
in $hw_xfree86_drivers_inputtest_c_files
1773 hw_xfree86_drivers_inputtest_obj
=$build_dir/hw
/xfree86
/drivers
/inputtest
/$
(basename $f .c
).o
1774 hw_xfree86_drivers_inputtest_objs
="$hw_xfree86_drivers_inputtest_objs $hw_xfree86_drivers_inputtest_obj"
1777 -DHAVE_XORG_CONFIG_H \
1778 -I$src_dir/hw
/xfree86
/common \
1779 $f -o $hw_xfree86_drivers_inputtest_obj &
1781 #---------------------------------------------------------------------------------------------------
1783 mkdir
-p $build_dir/install_root
$defaultmodulepath/input
1784 # the prolog and epilog are templates expecting the variable "module_name" to be defined
1785 module_name
=inputtest_drv.so
1786 eval $module_ccld_prolog_tmpl \
1787 $module_ccld_epilog_tmpl \
1788 $hw_xfree86_drivers_inputtest_objs \
1790 -o $build_dir/install_root
$defaultmodulepath/input
/$module_name) &
1791 #===================================================================================================
1792 mkdir
-p $build_dir/install_root
$xkmoutputdir &
1793 #---------------------------------------------------------------------------------------------------
1794 mkdir
-p $build_dir/install_root
$defaultlogdir &
1795 #---------------------------------------------------------------------------------------------------
1796 mkdir
-p $build_dir/install_root
$datadir/X11
/xorg.conf.d
&
1797 #---------------------------------------------------------------------------------------------------
1798 mkdir
-p $build_dir/install_root
$projectroot/include
/xorg
1799 cp -f $src_dir/composite
/compositeext.h
$build_dir/install_root
$projectroot/include
/xorg
/compositeext.h
&
1800 cp -f $src_dir/present
/present.h
$build_dir/install_root
$projectroot/include
/xorg
/present.h
&
1801 cp -f $src_dir/present
/presentext.h
$build_dir/install_root
$projectroot/include
/xorg
/presentext.h
&
1802 cp -f $src_dir/include
/XIstubs.h
$build_dir/install_root
$projectroot/include
/xorg
/XIstubs.h
&
1803 cp -f $src_dir/include
/Xprintf.h
$build_dir/install_root
$projectroot/include
/xorg
/Xprintf.h
&
1804 cp -f $src_dir/include
/callback.h
$build_dir/install_root
$projectroot/include
/xorg
/callback.h
&
1805 cp -f $src_dir/include
/client.h
$build_dir/install_root
$projectroot/include
/xorg
/client.h
&
1806 cp -f $src_dir/include
/closestr.h
$build_dir/install_root
$projectroot/include
/xorg
/closestr.h
&
1807 cp -f $src_dir/include
/closure.h
$build_dir/install_root
$projectroot/include
/xorg
/closure.h
&
1808 cp -f $src_dir/include
/colormap.h
$build_dir/install_root
$projectroot/include
/xorg
/colormap.h
&
1809 cp -f $src_dir/include
/colormapst.h
$build_dir/install_root
$projectroot/include
/xorg
/colormapst.h
&
1810 cp -f $src_dir/include
/cursor.h
$build_dir/install_root
$projectroot/include
/xorg
/cursor.h
&
1811 cp -f $src_dir/include
/cursorstr.h
$build_dir/install_root
$projectroot/include
/xorg
/cursorstr.h
&
1812 cp -f $src_dir/include
/displaymode.h
$build_dir/install_root
$projectroot/include
/xorg
/displaymode.h
&
1813 cp -f $src_dir/include
/dix.h
$build_dir/install_root
$projectroot/include
/xorg
/dix.h
&
1814 cp -f $src_dir/include
/dixaccess.h
$build_dir/install_root
$projectroot/include
/xorg
/dixaccess.h
&
1815 cp -f $src_dir/include
/dixevents.h
$build_dir/install_root
$projectroot/include
/xorg
/dixevents.h
&
1816 cp -f $src_dir/include
/dixfont.h
$build_dir/install_root
$projectroot/include
/xorg
/dixfont.h
&
1817 cp -f $src_dir/include
/dixfontstr.h
$build_dir/install_root
$projectroot/include
/xorg
/dixfontstr.h
&
1818 cp -f $src_dir/include
/dixgrabs.h
$build_dir/install_root
$projectroot/include
/xorg
/dixgrabs.h
&
1819 cp -f $src_dir/include
/dixstruct.h
$build_dir/install_root
$projectroot/include
/xorg
/dixstruct.h
&
1820 cp -f $src_dir/include
/exevents.h
$build_dir/install_root
$projectroot/include
/xorg
/exevents.h
&
1821 cp -f $src_dir/include
/extension.h
$build_dir/install_root
$projectroot/include
/xorg
/extension.h
&
1822 cp -f $src_dir/include
/extinit.h
$build_dir/install_root
$projectroot/include
/xorg
/extinit.h
&
1823 cp -f $src_dir/include
/extnsionst.h
$build_dir/install_root
$projectroot/include
/xorg
/extnsionst.h
&
1824 cp -f $src_dir/include
/events.h
$build_dir/install_root
$projectroot/include
/xorg
/events.h
&
1825 cp -f $src_dir/include
/fourcc.h
$build_dir/install_root
$projectroot/include
/xorg
/fourcc.h
&
1826 cp -f $src_dir/include
/gc.h
$build_dir/install_root
$projectroot/include
/xorg
/gc.h
&
1827 cp -f $src_dir/include
/gcstruct.h
$build_dir/install_root
$projectroot/include
/xorg
/gcstruct.h
&
1828 cp -f $src_dir/include
/globals.h
$build_dir/install_root
$projectroot/include
/xorg
/globals.h
&
1829 cp -f $src_dir/include
/glx_extinit.h
$build_dir/install_root
$projectroot/include
/xorg
/glx_extinit.h
&
1830 cp -f $src_dir/include
/glxvndabi.h
$build_dir/install_root
$projectroot/include
/xorg
/glxvndabi.h
&
1831 cp -f $src_dir/include
/hotplug.h
$build_dir/install_root
$projectroot/include
/xorg
/hotplug.h
&
1832 cp -f $src_dir/include
/input.h
$build_dir/install_root
$projectroot/include
/xorg
/input.h
&
1833 cp -f $src_dir/include
/inputstr.h
$build_dir/install_root
$projectroot/include
/xorg
/inputstr.h
&
1834 cp -f $src_dir/include
/list.h
$build_dir/install_root
$projectroot/include
/xorg
/list.h
&
1835 cp -f $src_dir/include
/misc.h
$build_dir/install_root
$projectroot/include
/xorg
/misc.h
&
1836 cp -f $src_dir/include
/miscstruct.h
$build_dir/install_root
$projectroot/include
/xorg
/miscstruct.h
&
1837 cp -f $src_dir/include
/nonsdk_extinit.h
$build_dir/install_root
$projectroot/include
/xorg
/nonsdk_extinit.h
&
1838 cp -f $src_dir/include
/opaque.h
$build_dir/install_root
$projectroot/include
/xorg
/opaque.h
&
1839 cp -f $src_dir/include
/optionstr.h
$build_dir/install_root
$projectroot/include
/xorg
/optionstr.h
&
1840 cp -f $src_dir/include
/os.h
$build_dir/install_root
$projectroot/include
/xorg
/os.h
&
1841 cp -f $src_dir/include
/pixmap.h
$build_dir/install_root
$projectroot/include
/xorg
/pixmap.h
&
1842 cp -f $src_dir/include
/pixmapstr.h
$build_dir/install_root
$projectroot/include
/xorg
/pixmapstr.h
&
1843 cp -f $src_dir/include
/privates.h
$build_dir/install_root
$projectroot/include
/xorg
/privates.h
&
1844 cp -f $src_dir/include
/property.h
$build_dir/install_root
$projectroot/include
/xorg
/property.h
&
1845 cp -f $src_dir/include
/propertyst.h
$build_dir/install_root
$projectroot/include
/xorg
/propertyst.h
&
1846 cp -f $src_dir/include
/ptrveloc.h
$build_dir/install_root
$projectroot/include
/xorg
/ptrveloc.h
&
1847 cp -f $src_dir/include
/region.h
$build_dir/install_root
$projectroot/include
/xorg
/region.h
&
1848 cp -f $src_dir/include
/regionstr.h
$build_dir/install_root
$projectroot/include
/xorg
/regionstr.h
&
1849 cp -f $src_dir/include
/registry.h
$build_dir/install_root
$projectroot/include
/xorg
/registry.h
&
1850 cp -f $src_dir/include
/resource.h
$build_dir/install_root
$projectroot/include
/xorg
/resource.h
&
1851 cp -f $src_dir/include
/rgb.h
$build_dir/install_root
$projectroot/include
/xorg
/rgb.h
&
1852 cp -f $src_dir/include
/screenint.h
$build_dir/install_root
$projectroot/include
/xorg
/screenint.h
&
1853 cp -f $src_dir/include
/scrnintstr.h
$build_dir/install_root
$projectroot/include
/xorg
/scrnintstr.h
&
1854 cp -f $src_dir/include
/selection.h
$build_dir/install_root
$projectroot/include
/xorg
/selection.h
&
1855 cp -f $src_dir/include
/servermd.h
$build_dir/install_root
$projectroot/include
/xorg
/servermd.h
&
1856 cp -f $src_dir/include
/validate.h
$build_dir/install_root
$projectroot/include
/xorg
/validate.h
&
1857 cp -f $src_dir/include
/window.h
$build_dir/install_root
$projectroot/include
/xorg
/window.h
&
1858 cp -f $src_dir/include
/windowstr.h
$build_dir/install_root
$projectroot/include
/xorg
/windowstr.h
&
1859 cp -f $src_dir/include
/xkbfile.h
$build_dir/install_root
$projectroot/include
/xorg
/xkbfile.h
&
1860 cp -f $src_dir/include
/xkbrules.h
$build_dir/install_root
$projectroot/include
/xorg
/xkbrules.h
&
1861 cp -f $src_dir/include
/xkbsrv.h
$build_dir/install_root
$projectroot/include
/xorg
/xkbsrv.h
&
1862 cp -f $src_dir/include
/xkbstr.h
$build_dir/install_root
$projectroot/include
/xorg
/xkbstr.h
&
1863 cp -f $src_dir/include
/xserver-properties.h
$build_dir/install_root
$projectroot/include
/xorg
/xserver-properties.h
&
1864 cp -f $src_dir/include
/xserver_poll.h
$build_dir/install_root
$projectroot/include
/xorg
/xserver_poll.h
&
1865 cp -f $src_dir/miext
/damage
/damage.h
$build_dir/install_root
$projectroot/include
/xorg
/damage.h
&
1866 cp -f $src_dir/miext
/damage
/damagestr.h
$build_dir/install_root
$projectroot/include
/xorg
/damagestr.h
&
1867 cp -f $src_dir/miext
/shadow
/shadow.h
$build_dir/install_root
$projectroot/include
/xorg
/shadow.h
&
1868 cp -f $src_dir/miext
/sync
/misync.h
$build_dir/install_root
$projectroot/include
/xorg
/misync.h
&
1869 cp -f $src_dir/miext
/sync
/misyncfd.h
$build_dir/install_root
$projectroot/include
/xorg
/misyncfd.h
&
1870 cp -f $src_dir/miext
/sync
/misyncshm.h
$build_dir/install_root
$projectroot/include
/xorg
/misyncshm.h
&
1871 cp -f $src_dir/miext
/sync
/misyncstr.h
$build_dir/install_root
$projectroot/include
/xorg
/misyncstr.h
&
1872 cp -f $src_dir/dbe
/dbestruct.h
$build_dir/install_root
$projectroot/include
/xorg
/dbestruct.h
&
1873 cp -f $src_dir/dri
3/dri3.h
$build_dir/install_root
$projectroot/include
/xorg
/dri3.h
&
1874 cp -f $src_dir/exa
/exa.h
$build_dir/install_root
$projectroot/include
/xorg
/exa.h
&
1875 cp -f $src_dir/fb
/fb.h
$build_dir/install_root
$projectroot/include
/xorg
/fb.h
&
1876 cp -f $src_dir/fb
/fboverlay.h
$build_dir/install_root
$projectroot/include
/xorg
/fboverlay.h
&
1877 cp -f $src_dir/fb
/fbpict.h
$build_dir/install_root
$projectroot/include
/xorg
/fbpict.h
&
1878 cp -f $src_dir/fb
/fbrop.h
$build_dir/install_root
$projectroot/include
/xorg
/fbrop.h
&
1879 cp -f $src_dir/fb
/wfbrename.h
$build_dir/install_root
$projectroot/include
/xorg
/wfbrename.h
&
1880 cp -f $src_dir/Xext
/geext.h
$build_dir/install_root
$projectroot/include
/xorg
/geext.h
&
1881 cp -f $src_dir/Xext
/geint.h
$build_dir/install_root
$projectroot/include
/xorg
/geint.h
&
1882 cp -f $src_dir/Xext
/panoramiX.h
$build_dir/install_root
$projectroot/include
/xorg
/panoramiX.h
&
1883 cp -f $src_dir/Xext
/panoramiXsrv.h
$build_dir/install_root
$projectroot/include
/xorg
/panoramiXsrv.h
&
1884 cp -f $src_dir/Xext
/shmint.h
$build_dir/install_root
$projectroot/include
/xorg
/shmint.h
&
1885 cp -f $src_dir/Xext
/syncsdk.h
$build_dir/install_root
$projectroot/include
/xorg
/syncsdk.h
&
1886 cp -f $src_dir/Xext
/xace.h
$build_dir/install_root
$projectroot/include
/xorg
/xace.h
&
1887 cp -f $src_dir/Xext
/xacestr.h
$build_dir/install_root
$projectroot/include
/xorg
/xacestr.h
&
1888 cp -f $src_dir/Xext
/xvdix.h
$build_dir/install_root
$projectroot/include
/xorg
/xvdix.h
&
1889 cp -f $src_dir/Xext
/xvmcext.h
$build_dir/install_root
$projectroot/include
/xorg
/xvmcext.h
&
1890 cp -f $src_dir/glamor
/glamor.h
$build_dir/install_root
$projectroot/include
/xorg
/glamor.h
&
1891 cp -f $src_dir/render
/glyphstr.h
$build_dir/install_root
$projectroot/include
/xorg
/glyphstr.h
&
1892 cp -f $src_dir/render
/mipict.h
$build_dir/install_root
$projectroot/include
/xorg
/mipict.h
&
1893 cp -f $src_dir/render
/picture.h
$build_dir/install_root
$projectroot/include
/xorg
/picture.h
&
1894 cp -f $src_dir/render
/picturestr.h
$build_dir/install_root
$projectroot/include
/xorg
/picturestr.h
&
1895 cp -f $src_dir/mi
/mi.h
$build_dir/install_root
$projectroot/include
/xorg
/mi.h
&
1896 cp -f $src_dir/mi
/micmap.h
$build_dir/install_root
$projectroot/include
/xorg
/micmap.h
&
1897 cp -f $src_dir/mi
/micoord.h
$build_dir/install_root
$projectroot/include
/xorg
/micoord.h
&
1898 cp -f $src_dir/mi
/migc.h
$build_dir/install_root
$projectroot/include
/xorg
/migc.h
&
1899 cp -f $src_dir/mi
/miline.h
$build_dir/install_root
$projectroot/include
/xorg
/miline.h
&
1900 cp -f $src_dir/mi
/mioverlay.h
$build_dir/install_root
$projectroot/include
/xorg
/mioverlay.h
&
1901 cp -f $src_dir/mi
/mipointer.h
$build_dir/install_root
$projectroot/include
/xorg
/mipointer.h
&
1902 cp -f $src_dir/mi
/mipointrst.h
$build_dir/install_root
$projectroot/include
/xorg
/mipointrst.h
&
1903 cp -f $src_dir/mi
/mistruct.h
$build_dir/install_root
$projectroot/include
/xorg
/mistruct.h
&
1904 cp -f $src_dir/mi
/mizerarc.h
$build_dir/install_root
$projectroot/include
/xorg
/mizerarc.h
&
1905 cp -f $src_dir/randr
/randrstr.h
$build_dir/install_root
$projectroot/include
/xorg
/randrstr.h
&
1906 cp -f $src_dir/randr
/rrtransform.h
$build_dir/install_root
$projectroot/include
/xorg
/rrtransform.h
&
1907 cp -f $src_dir/glx
/vndserver.h
$build_dir/install_root
$projectroot/include
/xorg
/vndserver.h
&
1908 cp -f $src_dir/hw
/xfree86
/common
/compiler.h
$build_dir/install_root
$projectroot/include
/xorg
/compiler.h
&
1909 cp -f $src_dir/hw
/xfree86
/common
/xaarop.h
$build_dir/install_root
$projectroot/include
/xorg
/xaarop.h
&
1910 cp -f $src_dir/hw
/xfree86
/common
/xf86.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86.h
&
1911 cp -f $src_dir/hw
/xfree86
/common
/xf86MatchDrivers.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86MatchDrivers.h
&
1912 cp -f $src_dir/hw
/xfree86
/common
/xf86Module.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Module.h
&
1913 cp -f $src_dir/hw
/xfree86
/common
/xf86Opt.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Opt.h
&
1914 cp -f $src_dir/hw
/xfree86
/common
/xf86Optionstr.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Optionstr.h
&
1915 cp -f $src_dir/hw
/xfree86
/common
/xf86PciInfo.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86PciInfo.h
&
1916 cp -f $src_dir/hw
/xfree86
/common
/xf86Priv.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Priv.h
&
1917 cp -f $src_dir/hw
/xfree86
/common
/xf86Privstr.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Privstr.h
&
1918 cp -f $src_dir/hw
/xfree86
/common
/xf86VGAarbiter.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86VGAarbiter.h
&
1919 cp -f $src_dir/hw
/xfree86
/common
/xf86Xinput.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Xinput.h
&
1920 cp -f $src_dir/hw
/xfree86
/common
/xf86cmap.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86cmap.h
&
1921 cp -f $src_dir/hw
/xfree86
/common
/xf86fbman.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86fbman.h
&
1922 cp -f $src_dir/hw
/xfree86
/common
/xf86platformBus.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86platformBus.h
&
1923 cp -f $src_dir/hw
/xfree86
/common
/xf86sbusBus.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86sbusBus.h
&
1924 cp -f $src_dir/hw
/xfree86
/common
/xf86str.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86str.h
&
1925 cp -f $src_dir/hw
/xfree86
/common
/xf86xv.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86xv.h
&
1926 cp -f $src_dir/hw
/xfree86
/common
/xf86xvmc.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86xvmc.h
&
1927 cp -f $src_dir/hw
/xfree86
/common
/xf86xvpriv.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86xvpriv.h
&
1928 cp -f $src_dir/hw
/xfree86
/common
/xisb.h
$build_dir/install_root
$projectroot/include
/xorg
/xisb.h
&
1929 cp -f $src_dir/hw
/xfree86
/common
/xorgVersion.h
$build_dir/install_root
$projectroot/include
/xorg
/xorgVersion.h
&
1930 cp -f $src_dir/hw
/xfree86
/ddc
/edid.h
$build_dir/install_root
$projectroot/include
/xorg
/edid.h
&
1931 cp -f $src_dir/hw
/xfree86
/ddc
/xf86DDC.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86DDC.h
&
1932 cp -f $src_dir/hw
/xfree86
/dri
/dri.h
$build_dir/install_root
$projectroot/include
/xorg
/dri.h
&
1933 cp -f $src_dir/hw
/xfree86
/dri
/dristruct.h
$build_dir/install_root
$projectroot/include
/xorg
/dristruct.h
&
1934 cp -f $src_dir/hw
/xfree86
/dri
/sarea.h
$build_dir/install_root
$projectroot/include
/xorg
/sarea.h
&
1935 cp -f $src_dir/hw
/xfree86
/dri
2/dri2.h
$build_dir/install_root
$projectroot/include
/xorg
/dri2.h
&
1936 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
&
1937 cp -f $src_dir/hw
/xfree86
/fbdevhw
/fbdevhw.h
$build_dir/install_root
$projectroot/include
/xorg
/fbdevhw.h
&
1938 cp -f $src_dir/hw
/xfree86
/i2c
/i2c_def.h
$build_dir/install_root
$projectroot/include
/xorg
/i2c_def.h
&
1939 cp -f $src_dir/hw
/xfree86
/i2c
/xf86i2c.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86i2c.h
&
1940 cp -f $src_dir/hw
/xfree86
/int10
/vbe.h
$build_dir/install_root
$projectroot/include
/xorg
/vbe.h
&
1941 cp -f $src_dir/hw
/xfree86
/int10
/vbeModes.h
$build_dir/install_root
$projectroot/include
/xorg
/vbeModes.h
&
1942 cp -f $src_dir/hw
/xfree86
/int10
/xf86int10.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86int10.h
&
1943 cp -f $src_dir/hw
/xfree86
/modes
/xf86Crtc.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Crtc.h
&
1944 cp -f $src_dir/hw
/xfree86
/modes
/xf86Modes.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Modes.h
&
1945 cp -f $src_dir/hw
/xfree86
/modes
/xf86RandR12.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86RandR12.h
&
1946 cp -f $src_dir/hw
/xfree86
/os-support
/xf86_OSlib.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86_OSlib.h
&
1947 cp -f $src_dir/hw
/xfree86
/os-support
/xf86_OSproc.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86_OSproc.h
&
1948 cp -f $src_dir/hw
/xfree86
/os-support
/bus
/xf86Pci.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Pci.h
&
1949 cp -f $src_dir/hw
/xfree86
/parser
/xf86Optrec.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Optrec.h
&
1950 cp -f $src_dir/hw
/xfree86
/parser
/xf86Parser.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Parser.h
&
1951 cp -f $src_dir/hw
/xfree86
/ramdac
/xf86Cursor.h
$build_dir/install_root
$projectroot/include
/xorg
/xf86Cursor.h
&
1952 cp -f $src_dir/hw
/xfree86
/shadowfb
/shadowfb.h
$build_dir/install_root
$projectroot/include
/xorg
/shadowfb.h
&
1953 cp -f $src_dir/hw
/xfree86
/vgahw
/vgaHW.h
$build_dir/install_root
$projectroot/include
/xorg
/vgaHW.h
&
1954 #---------------------------------------------------------------------------------------------------
1955 sed -e "s:@defaultfontdir@:$defaultfontdir:g" \
1956 -e "s:@version_0@:$version_0:g" \
1957 -e "s:@version_1@:$version_1:g" \
1958 -e "s:@version_2@:$version_2:g" \
1959 <$src_dir/contrib
/xorg-server.h.
in \
1960 >$build_dir/install_root
$projectroot/include
/xorg
/xorg-server.h
&
1961 #---------------------------------------------------------------------------------------------------
1962 mkdir
-p $build_dir/install_root
$defaultlibrarypath/pkgconfig
1963 sed -e "s:@projectroot@:$projectroot:g" \
1964 -e "s:@defaultmodulepath@:$defaultmodulepath:g" \
1965 -e "s:@sysconfigdir@:$datadir/X11/xorg.conf.d:g" \
1966 -e "s:@version_0@:$version_0:g" \
1967 -e "s:@version_1@:$version_1:g" \
1968 -e "s:@version_2@:$version_2:g" \
1969 -e "s:@version_3@:$version_3:g" \
1970 <$src_dir/contrib
/xorg-server.pc.
in \
1971 >$build_dir/install_root
$defaultlibrarypath/pkgconfig
/xorg-server.pc
&
1972 #---------------------------------------------------------------------------------------------------
1973 # INFO: our configured version of xorg does not use the registry hence no 'protocol.txt'