-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
2591 lines (2233 loc) · 105 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Makefile generated by imake - do not edit!
# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XdotOrg: xc/config/cf/Imake.tmpl,v 1.9 2005/01/24 06:37:31 daniels Exp $
#
#
#
#
# $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
# ----------------------------------------------------------------------
all::
.SUFFIXES: .i
# $XdotOrg: xc/config/cf/Imake.cf,v 1.7 2005/03/02 11:20:29 gisburn Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
# $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
# $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
# ----------------------------------------------------------------------
# platform-specific configuration parameters - edit linux.cf to change
# $XdotOrg: xc/config/cf/linux.cf,v 1.24 2005/03/06 01:05:00 branden Exp $
# platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# platform: $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi Exp $
# operating system: Linux 4.15.0-45-generic x86_64 [ELF] (4.15.0)
# libc: (6.27.0)
# binutils: (230)
# $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
# $XdotOrg: xc/config/cf/xorg.cf,v 1.44 2005/01/27 03:50:46 ajax Exp $
# $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
XORG_VERSION_CURRENT = (((7) * 10000000) + ((7) * 100000) + ((0) * 1000) + 0)
RELEASE_VERSION = RELEASE-1
AFB_DEFS = -DUSE_AFB
DRIVERSDKDIR = $(USRLIBDIR)/Server
DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
XF86SRC = $(SERVERSRC)/hw/xfree86
XF86COMSRC = $(XF86SRC)/common
XF86PARSERSRC = $(XF86SRC)/parser
XF86OSSRC = $(XF86SRC)/os-support
XF86DRIVERSRC = $(XF86SRC)/drivers
DRIVERSRC = $(XF86DRIVERSRC)
XFREE86DOCDIR = $(DOCDIR)
XFREE86PSDOCDIR = $(DOCPSDIR)
XFREE86PDFDOCDIR = $(DOCPDFDIR)
XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
# $Xorg: xf86.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
# $XFree86: xc/config/cf/xf86.rules,v 3.34tsi Exp $
SELINUX_LDFLAGS =
SELINUX_INCLUDES = -I/usr/include/selinux
SELINUX_CFLAGS = -DHAVE_SELINUX
SELINUX_LIBS = -lselinux
# ----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
# ---------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
# rules: $XdotOrg: xc/config/cf/Imake.rules,v 1.8 2005/02/01 22:27:00 ajax Exp $
#
#
#
#
# rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
.PHONY: all interfaces install install.man install.lib install.sdk depend includes cleandir
_NULLCMD_ = @ echo -n
X_BYTE_ORDER = X_LITTLE_ENDIAN
GLIDE2INCDIR =
GLIDE3INCDIR = /usr/include/glide3
GLIDE3LIBNAME = glide3
TKLIBNAME = tk8.4
TKLIBDIR = /usr/lib
TCLLIBNAME = tcl8.4
TCLIBDIR = /usr/lib
PATHSEP = /
SHELL = /bin/sh -e
TOP = .
CURRENT_DIR = .
IMAKE = imake
DEPEND = gccmakedep
MKDIRHIER = mkdir -p
REVPATH = revpath
EXPORTLISTGEN =
RMAN = /usr/bin/rman
RMANBASENAME = rman
RMANOPTIONS =
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/util
INCROOT = /usr/include
USRLIBDIR = /usr/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/share/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)$(MANSECT)
SYSCALLMANDIR = $(MANSOURCEPATH)$(SYSCALLMANSECT)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSECT)
DRIVERMANDIR = $(MANSOURCEPATH)4
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSECT)
GAMEMANDIR = $(MANSOURCEPATH)$(GAMEMANSECT)
MISCMANDIR = $(MANSOURCEPATH)7
ADMMANDIR = $(MANSOURCEPATH)$(ADMMANSECT)
ICONDIR = "/usr/share/icons"
XCURSORPATH = "~/.icons:/usr/share/icons:/usr/share/pixmaps"
DRIVERMANDIR = $(MANSOURCEPATH)4
LOGDIRECTORY = $(VARDIR)/log
VARRUNDIR = $(VARDIR)/run
VARDBDIR = $(VARDIR)/lib
AR = ar clq
# Nice try but useless: make will inherit BOOTSTRAPCFLAGS
# from top Makefile
BOOTSTRAPCFLAGS =
CC = gcc
AS = gcc -c -x assembler
.SUFFIXES: .cc
CXX = c++
CXXFILT = c++filt
CXXLIB = -lstdc++
CXXDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CXXDEPENDINCLUDES =
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXSTD_DEFINES = -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(CXXPROJECT_DEFINES)
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
COMPRESS = compress
GZIPCMD = gzip -n
CPP = cpp $(STD_CPP_DEFINES)
RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -E $(STD_CPP_DEFINES)
INSTALL = install
INSTALLFLAGS = -c
LD = gcc -nostdlib
LEX = flex -l
M4 = m4
M4FLAGS =
LEXLIB = -lfl
YACC = bison -y
CCYACC = bison -y
LINT = lint
LINTLIBFLAG = -C
LINTOPTS = -axz
LN = ln -s
MAKE = make
MV = mv -f
CP = cp
RANLIB = ranlib
RANLIBINSTFLAGS =
RM = rm -f
PERL = perl
PERLOPTS =
PERLENVSETUP = env LC_ALL=C
MANSECT = 1
SYSCALLMANSECT = 2
LIBMANSECT = 3
DRIVERMANSECT = 4
FILEMANSECT = 5
GAMEMANSECT = 6
MISCMANSECT = 7
ADMMANSECT = 8
MANSRCSECT = s
MANNEWSECT = n
PROJECTMANSUFFIX = x
MANSUFFIX = $(MANSECT)$(PROJECTMANSUFFIX)
SYSCALLMANSUFFIX = $(SYSCALLMANSECT)$(PROJECTMANSUFFIX)
LIBMANSUFFIX = $(LIBMANSECT)$(PROJECTMANSUFFIX)
DRIVERMANSUFFIX = 4x
FILEMANSUFFIX = $(FILEMANSECT)$(PROJECTMANSUFFIX)
GAMEMANSUFFIX = $(GAMEMANSECT)$(PROJECTMANSUFFIX)
MISCMANSUFFIX = 7x
ADMMANSUFFIX = $(ADMMANSECT)$(PROJECTMANSUFFIX)
ADMINMANSUFFIX = 8
MANSRCSUFFIX = man
MANNEWSUFFIX = _man
MANDEFS = -D__apploaddir__=$(XAPPLOADDIR) -D__filemansuffix__=$(FILEMANSECT)$(PROJECTMANSUFFIX) -D__osfilemansuffix__=$(FILEMANSECT) -D__libmansuffix__=$(LIBMANSECT)$(PROJECTMANSUFFIX) -D__oslibmansuffix__=$(LIBMANSECT) -D__mansuffix__=$(MANSECT)$(PROJECTMANSUFFIX) -D__osmansuffix__=$(MANSECT) -D__syscallmansuffix__=$(SYSCALLMANSECT)$(PROJECTMANSUFFIX) -D__ossysmansuffix__=$(SYSCALLMANSECT) -D__gamemansuffix__=$(GAMEMANSECT)$(PROJECTMANSUFFIX) -D__osgamemansuffix__=$(GAMEMANSECT) -D__miscmansuffix__=$(MISCMANSECT)$(PROJECTMANSUFFIX) -D__osmiscmansuffix__=$(MISCMANSECT) -D__admmansuffix__=$(ADMMANSECT)$(PROJECTMANSUFFIX) -D__osadmmansuffix__=$(ADMMANSECT) -D__miscmansuffix__=$(MISCMANSECT)$(PROJECTMANSUFFIX) -D__osmiscmansuffix__=$(MISCMANSECT) -D__drivermansuffix__=$(DRIVERMANSECT)$(PROJECTMANSUFFIX) -D__osdrivermansuffix__=$(DRIVERMANSECT) -D__adminmansuffix__=$(ADMINMANSUFFIX) -D__projectroot__=$(PROJECTROOT) -D__xconfigfile__=$(XCONFIGFILE) -D__xconfigdir__=$(XCONFIGDIR) -D__xlogfile__=$(XLOGFILE) -D__xservername__=$(XSERVERNAME) -D__appmansuffix__=$(MANSECT)$(PROJECTMANSUFFIX) $(XORGMANDEFS) $(VENDORMANDEFS)
COMPRESSMANCMD = gzip -n
TROFF = groff -Tps
NROFF = nroff
MSMACROS = -ms
MANMACROS = -man
TBL = tbl
EQN = eqn
NEQN = neqn
COL = col
COLFLAGS = -b
MODCC = gcc
MODCPP = cpp
MODCFLAGS = $(CFLAGS)
MODAS = gcc -c -x assembler
MODASFLAGS =
MODLD = gcc -nostdlib
MODLDFLAGS =
MODLDCOMBINEFLAGS = -r
MODAR = ar clq
MODRANLIB = ranlib
DVIPS = dvips
LATEX = latex
STD_INCLUDES =
STD_CPP_OPTIONS = -traditional
STD_CPP_DEFINES = -traditional -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(PROJECT_DEFINES)
STD_DEFINES = -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(PROJECT_DEFINES)
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES =
TAGS = ctags
PARALLELMFLAGS =
SHAREDCODEDEF =
SHLIBDEF =
SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
NOSTDLIB = -nostdlib
POSTNOSTDLIB = -Wl,-Bstatic -lgcc -Wl,-Bdynamic
PICFLAGS = -fPIC
CXXPICFLAGS = -fPIC
PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
INSTPGMFLAGS =
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4711
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -m 4711
PROJECTROOT = /usr
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CCOPTIONS =
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = $(INSTALLED_LIBS)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
CCLINK = $(CC)
CXXLINK = $(CXX)
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
DEPEND_DEFINES =
# Not sure this belongs here
TKLIBDIR = /usr/lib
TKINCDIR = /usr/include
TKLIBNAME = tk8.4
TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
TCLLIBDIR = /usr/lib
TCLINCDIR = /usr/include
TCLLIBNAME = tcl8.4
TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
MACROFILE = linux.cf
RM_CMD = $(RM)
IMAKE_DEFINES =
IMAKE_WARNINGS = -Wundef
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/X11.tmpl $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) $(IRULESRC)/xfree86.cf $(IRULESRC)/xf86.rules $(IRULESRC)/xorgsite.def $(IRULESRC)/host.def $(EXTRA_ICONFIGFILES)
# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XdotOrg: xc/config/cf/X11.tmpl,v 1.52 2005/09/22 23:54:18 alanc Exp $
# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
XORGRELSTRING = `echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANNAME = X Version 11
STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
FCHOWN_DEFINES = -DHAS_FCHOWN
# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules
XTOP = $(TOP)
BINDIR = /usr/bin
BUILDINCROOT = $(TOP)/exports
BUILDINCDIR = $(BUILDINCROOT)/include
BUILDINCTOP = ../..
BUILDLIBDIR = $(TOP)/exports/lib
BUILDLIBTOP = ../..
BUILDBINDIR = $(TOP)/exports/bin
BUILDBINTOP = ../..
BUILDMODULEDIR = $(BUILDLIBDIR)/modules
BUILDI18NDIR = $(BUILDLIBDIR)/locale
BUILDMODULETOP = $(BUILDLIBTOP)/..
XBUILDINCROOT = $(XTOP)/exports
XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
XBUILDINCTOP = ../../..
XBUILDBINDIR = $(XBUILDINCROOT)/bin
INCDIR = $(INCROOT)
ADMDIR = /usr/adm
LIBDIR = /usr/lib/X11
SHAREDIR = /usr/share/X11
LIBEXECDIR = /usr/libexec
MODULEDIR = $(USRLIBDIR)/modules
TOP_X_INCLUDES =
XBINDIR = $(PROJECTROOT)/bin
INSTSRCDIR = /usr/src
ETCX11DIR = /etc/X11
CONFDIR = $(ETCX11DIR)
DOCDIR = $(LIBDIR)/doc
DOCHTMLDIR = $(DOCDIR)/html
DOCPSDIR = $(DOCDIR)/PostScript
DOCPDFDIR = $(DOCDIR)/PDF
FONTDIR = ${datarootdir}/fonts/X11
FONTROOTDIR = ${datarootdir}/fonts/X11
ENCODINGSDIR = ${FONTROOTDIR}/encodings
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
XDMVARDIR = $(VARLIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
XSMDIR = $(LIBDIR)/xsm
NLSDIR = $(LIBDIR)/nls
XLOCALEDIR = $(LIBDIR)/locale
LBXPROXYDIR = $(LIBDIR)/lbxproxy
PROXYMANAGERDIR = $(LIBDIR)/proxymngr
XPRINTDIR = $(LIBDIR)/xserver
XAPPLOADDIR = /etc/X11/app-defaults
FONTCFLAGS = -t
INSTAPPFLAGS = $(INSTDATFLAGS)
RGB = $(XBINDIR)/rgb
FONTC = $(XBINDIR)/bdftopcf
MKFONTSCALE = $(XBINDIR)/mkfontscale
MKFONTDIR = $(XBINDIR)/mkfontdir
MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
UCS2ANY = $(XBINDIR)/ucs2any
BDFTRUNCATE = $(XBINDIR)/bdftruncate
UCSMAPPREFIX = $(FONTDIR)/util/map-
XCURSORGEN = $(XBINDIR)/xcursorgen
HTMLINDEXCMD = HtmlIndexCmd
DOCUTILSRC = $(XTOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
XDOCMACROS = $(DOCUTILSRC)/macros.t
XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
PROGRAMSRC = $(TOP)/programs
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
ENCODINGSSRC = $(FONTSRC)/encodings
INCLUDESRC = $(BUILDINCROOT)/include
XINCLUDESRC = $(INCLUDESRC)/X11
SERVERSRC = $(XTOP)/programs/Xserver
CONTRIBSRC = $(XTOP)/../contrib
UNSUPPORTEDSRC = $(XTOP)/unsupported
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/programs/rgb
BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
FONTSERVERSRC = $(PROGRAMSRC)/xfs
FONTINCSRC = $(XTOP)/include/fonts
EXTINCSRC = $(XTOP)/include/extensions
FTSOURCEDIR = FreeTypeSrcDir
DRMSRCDIR = $(TOP)/extras/drm
MESASRCDIR = $(TOP)/extras/Mesa
OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
PSWRAPSRC = $(XTOP)/config/pswrap
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) -DIPv6
XTRANS_FAILDEFINES = -DFAIL_HARD
VENDORMANNAME = X.Org
VENDORMANVERSION = `echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANDEFS = -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
VENDORNAME = The X.Org Foundation
VENDORNAMESHORT = X.Org
VENDORWEBSUPPORT = http://wiki.X.Org
VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
XKBDEFRULES = xorg
XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
XCONFIGFILE = xorg.conf
XCONFIGDIR = $(LIBDIR)
XLOGFILE = Xorg
XSERVERNAME = Xorg
XENVLIBDIR = $(USRLIBDIR)
CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) XLOCALEDIR=$(BUILDLIBDIR)/locale
# $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $
XLIBSRC = $(LIBSRC)/X11
SOXLIBREV = 6.2
DEPXONLYLIB =
XONLYLIB = -lX11
LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
DEPXLIBONLY = $(DEPXONLYLIB)
XLIBONLY = $(XONLYLIB)
LINTXONLYLIB = $(LINTXONLY)
XEXTLIBSRC = $(LIBSRC)/Xext
SOXEXTREV = 6.4
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
XSSLIBSRC = $(LIBSRC)/Xss
SOXSSREV = 1.0
DEPXSSLIB =
XSSLIB = -lXss
LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
SOXXF86MISCREV = 1.1
DEPXXF86MISCLIB =
XXF86MISCLIB = -lXxf86misc
LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
SOXXF86VMREV = 1.0
DEPXXF86VMLIB =
XXF86VMLIB = -lXxf86vm
LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
SOXXF86DGAREV = 1.0
DEPXXF86DGALIB =
XXF86DGALIB = -lXxf86dga
LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
SOXXF86RUSHREV = 1.0
DEPXXF86RUSHLIB =
XXF86RUSHLIB = -lXxf86rush
LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
XVLIBSRC = $(LIBSRC)/Xv
SOXVREV = 1.0
DEPXVLIB =
XVLIB = -lXv
LINTXV = $(LINTLIBDIR)/llib-lXv.ln
XVMCLIBSRC = $(LIBSRC)/XvMC
SOXVMCREV = 1.0
DEPXVMCLIB =
XVMCLIB = -lXvMC
LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
XINERAMALIBSRC = $(LIBSRC)/Xinerama
SOXINERAMAREV = 1.0
DEPXINERAMALIB =
XINERAMALIB = -lXinerama
LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
XRESLIBSRC = $(LIBSRC)/XRes
SOXRESREV = 1.0
DEPXRESLIB =
XRESLIB = -lXRes
LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
DMXLIBSRC = $(LIBSRC)/dmx
SODMXREV = 1.0
DEPDMXLIB =
DMXLIB = -ldmx
LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
DPSLIBSRC = $(LIBSRC)/dps
DEPDPSLIB = $(USRLIBDIR)/libdps.a
DPSLIB = -ldps
LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
DPSTKLIBSRC = $(LIBSRC)/dpstk
DEPDPSTKLIB = $(USRLIBDIR)/libdpstk.a
DPSTKLIB = -ldpstk
LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
PSRESLIBSRC = $(LIBSRC)/psres
DEPPSRESLIB = $(USRLIBDIR)/libpsres.a
PSRESLIB = -lpsres
LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
GLULIBSRC = $(LIBSRC)/GLU
SOGLUREV = 1.3
DEPGLULIB =
GLULIB = -lGLU
LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
GLXLIBSRC = $(LIBSRC)/GL
SOGLREV = 1.2
DEPGLXLIB =
GLXLIB = -lGL
LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
GLWIDGETSRC = $(LIBSRC)/GLw
DEPGLWLIB = $(USRLIBDIR)/libGLw.a
GLWLIB = -lGLw
LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
XRENDERDIR = /usr
XRENDERLIBDIR = /usr/lib
XRENDERINCDIR = /usr/include
XRENDERLIB = -L$(XRENDERLIBDIR) -lXrender
DEPXRENDERLIB =
XRENDERINCLUDES = -I$(XRENDERINCDIR)
XRANDRLIBSRC = $(LIBSRC)/Xrandr
SOXRANDRREV = 2.0
DEPXRANDRLIB =
XRANDRLIB = -lXrandr
LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
XFIXESLIBSRC = $(LIBSRC)/Xfixes
SOXFIXESREV = 3.0
DEPXFIXESLIB =
XFIXESLIB = -lXfixes
LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
XDAMAGELIBSRC = $(LIBSRC)/Xdamage
SOXDAMAGEREV = 1.0
DEPXDAMAGELIB =
XDAMAGELIB = -lXdamage
LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
SOXCOMPOSITEREV = 1.0
DEPXCOMPOSITELIB =
XCOMPOSITELIB = -lXcomposite
LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
XEVIELIBSRC = $(LIBSRC)/Xevie
SOXEVIEREV = 1.0
DEPXEVIELIB =
XEVIELIB = -lXevie
LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
XCURSORDIR = /usr
XCURSORLIBDIR = /usr/lib
XCURSORINCDIR = /usr/include
XCURSORLIB = -L$(XCURSORLIBDIR) -lXcursor
XCURSORINCLUDES=-I$(XCURSORINCDIR) $(XRENDERINCLUDES)
APPLEWMLIBSRC = $(LIBSRC)/apple
DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
APPLEWMLIB = -lAppleWM
LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
WINDOWSWMLIBSRC = $(LIBSRC)/windows
DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
WINDOWSWMLIB = -lWindowsWM
LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
DEPXFONTCACHELIB = $(USRLIBDIR)/libXfontcache.a
XFONTCACHELIB = -lXfontcache
LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
XAUTHSRC = $(LIBSRC)/Xau
SOXAUTHREV = 6.0
DEPXAUTHLIB =
XAUTHLIB = -lXau
LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
SOXDMCPREV = 6.0
DEPXDMCPLIB =
XDMCPLIB = -lXdmcp
LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
XMUSRC = $(LIBSRC)/Xmu
SOXMUREV = 6.2
DEPXMULIB =
XMULIB = -lXmu
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
XMUUSRC = $(LIBSRC)/Xmuu
SOXMUUREV = 1.0
DEPXMUULIB =
XMUULIB = -lXmuu
LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
OLDXLIBSRC = $(LIBSRC)/oldX
DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
OLDXLIB = -loldX
LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
XPLIBSRC = $(LIBSRC)/Xp
SOXPREV = 6.2
DEPXPLIB =
XPLIB = -lXp
LINTXP = $(LINTLIBDIR)/llib-lXp.ln
TOOLKITSRC = $(LIBSRC)/Xt
SOXTREV = 6.0
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
XALIBSRC = $(LIBSRC)/Xa
SOXAREV = 1.0
DEPXALIB =
XALIB = -lXa
LINTXA = $(LINTLIBDIR)/llib-lXa.ln
AWIDGETSRC = $(LIBSRC)/Xaw
SOXAWREV = 8.0
DEPXAWLIB =
XAWLIB = -lXaw
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
AWIDGET7SRC = $(LIBSRC)/Xaw7
SOXAW7REV = 7.0
DEPXAW7LIB =
XAW7LIB = -lXaw
LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
AWIDGET6SRC = $(LIBSRC)/Xaw6
SOXAW6REV = 6.1
DEPXAW6LIB =
XAW6LIB = -lXaw
LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
XILIBSRC = $(LIBSRC)/Xi
SOXINPUTREV = 6.0
DEPXILIB =
XILIB = -lXi
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
XTESTLIBSRC = $(LIBSRC)/Xtst
SOXTESTREV = 6.1
DEPXTESTLIB =
XTESTLIB = -lXtst
LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
ICESRC = $(LIBSRC)/ICE
SOICEREV = 6.4
DEPICELIB =
ICELIB = -lICE
LINTICE = $(LINTLIBDIR)/llib-lICE.ln
SMSRC = $(LIBSRC)/SM
SOSMREV = 6.0
DEPSMLIB =
SMLIB = -lSM
LINTSM = $(LINTLIBDIR)/llib-lSM.ln
XKEYSRC = $(LIBSRC)/Xkey
SOXKEYREV = 6.0
DEPXKEYLIB =
XKEYLIB = -lXkey
LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
FSLIBSRC = $(LIBSRC)/FS
SOFSREV = 6.0
DEPFSLIB =
FSLIB = -lFS
LINTFS = $(LINTLIBDIR)/llib-lFS.ln
FONTLIBSRC = $(LIBSRC)/font
DEPFONTLIB = $(USRLIBDIR)/libXfont.a
FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
#
DEPXFONTLIB = $(USRLIBDIR)/libXfont.a
XFONTLIB = -lXfont
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
FONTSTUBLIB = -lfntstubs
LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
FONTENCLIBSRC = $(LIBSRC)/fontenc
DEPXFONTENCLIB = $(USRLIBDIR)/libfontenc.a
XFONTENCLIB = -lfontenc
LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
XPMLIBSRC = $(LIBSRC)/Xpm
SOXPMREV = 4.11
DEPXPMLIB =
XPMLIB = -lXpm
LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
FREETYPE2DIR = /usr
FREETYPE2LIBDIR = /usr/lib
FREETYPE2INCDIR = /usr/include
FREETYPE2LIB = -lfreetype
FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
FREETYPE2DEFINES = -DFREETYPE2
EXPATLIBSRC = $(LIBSRC)/expat
SOEXPATREV = 0.4
DEPEXPATLIB =
EXPATLIB = -lexpat
LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
EXPATDIR = /usr
EXPATLIBDIR = /usr/lib
EXPATINCDIR = /usr/include
EXPATINCLUDES =
EXPATLIB = -lexpat
EXPATDEFINES = -DEXPAT
XFTDIR = /usr
XFTLIBDIR = /usr/lib
XFTINCDIR = /usr/include
XFTLIB = -L$(XFTLIBDIR) -lXft
XFTINCLUDES= -I$(XFTINCDIR) $(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES) $(XRENDERINCLUDES)
FONTCONFIGDIR = /usr
FONTCONFIGLIBDIR = /usr/lib
FONTCONFIGINCDIR = /usr/include
FONTCONFIGBINDIR = /usr/bin
FONTCONFIGLIB = -lfontconfig
FONTCONFIGINCLUDES =
FCCACHE = $(FONTCONFIGBINDIR)/fc-cache
FONTCONFIGDEFINES = -DFONTCONFIG
LIBPNGINCDIR = /usr/include
LIBPNGINC=
LIBPNGDIR = /usr
LIBPNGLIBDIR = /usr/lib
LIBPNGINCDIR = /usr/include
LIBPNGLIB = -lpng
XKBFILELIBSRC = $(LIBSRC)/xkbfile
SOXKBFILEREV = 1.0
DEPXKBFILELIB =
XKBFILELIB = -lxkbfile
LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
XKBCOMPCMD = $(XBINDIR)/xkbcomp
XKBUILIBSRC = $(LIBSRC)/xkbui
SOXKBUIREV = 1.0
DEPXKBUILIB =
XKBUILIB = -lxkbui
LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
EXTRAXAWREQS =
EXTRAXAWCLIENTDEPLIBS =
EXTRAXAWCLIENTLIBS =