/usr/lib/X11/config/usl.cf is in xutils-dev 1:7.7+3ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | XCOMM platform: $Xorg: usl.cf,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
XCOMM platform: $XFree86: xc/config/cf/usl.cf,v 3.22 2001/01/12 19:28:24 dawes Exp $
#ifndef OSName
# define OSName DefaultOSName
#endif
#ifndef OSMajorVersion
# define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
# define OSMinorVersion DefaultOSMinorVersion
#endif
#ifndef OSTeenyVersion
# define OSTeenyVersion DefaultOSTeenyVersion
#endif
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
#ifndef CcCmd
# define CcCmd /usr/ccs/bin/cc
#endif
#ifndef LexCmd
# define LexCmd /usr/ccs/bin/lex
#endif
#ifndef YaccCmd
# define YaccCmd /usr/ccs/bin/yacc
#endif
#ifndef MakeCmd
# define MakeCmd /usr/gnu/bin/gmake
#endif
#ifndef HasGcc2ForCplusplus
# ifndef CplusplusCmd
# define CplusplusCmd /usr/ccs/bin/CC
# endif
# ifndef CplusplusFilt
# define CplusplusFilt /usr/ccs/bin/c++filt
# endif
# ifndef CplusplusDependIncludes
# define CplusplusDependIncludes -I/usr/include/CC
# endif
#else
# ifndef CplusplusCmd
# define CplusplusCmd /usr/gnu/bin/g++
# endif
# ifndef CplusplusFilt
# define CplusplusFilt /usr/gnu/bin/c++filt
# endif
#endif
#ifndef LibraryCCOptions
# define LibraryCCOptions -D_REENTRANT -DFD_SETSIZE=16384
#endif
#define BootstrapCFlags /* none needed */
#define StandardDefines -DSVR4 -DSVR5 -Di386 -D__UNIXWARE__
#define NeedWidePrototypes YES
#ifdef HasGcc2
# define DefaultCCOptions GccWarningOptions
# ifndef CcCmd
# define CcCmd /usr/gnu/bin/gcc
# endif
# define DefaultCDebugFlags -O6 -fomit-frame-pointer -march=i586 -mcpu=i586
# ifndef OptimizedCDebugFlags
# define OptimizedCDebugFlags -O6 -fomit-frame-pointer -march=i586 -mcpu=i586
# endif
#else
# ifndef CcCmd
# define CcCmd /usr/ccs/bin/cc
# endif
# define DefaultCCOptions -dy -O -Kalloca -Dasm=__asm
# define DefaultCDebugFlags -O
# ifndef OptimizedCDebugFlags
# define OptimizedCDebugFlags -O
# endif
#endif
#ifndef DoLoadableServer
# define DoLoadableServer YES
#endif
#if DoLoadableServer
# if HasGcc
# define USLDynamicFlags -rdynamic
# else
# define USLDynamicFlags -Wl,-Bexport
# endif
#else
# define USLDynamicFlags /**/
#endif
#define ServerExtraDefines XFree86ServerDefines
#ifndef ServerExtraSysLibs
# define ServerExtraSysLibs $(CBRT) -lm USLDynamicFlags
#endif
#define ServerOSDefines -D_REENTRANT -DFD_SETSIZE=16384 -DDDXTIME XFree86ServerOSDefines
#define ToolkitStringsABIOptions -intelabi
#if OSMajorVersion < 2
#define XawI18nDefines -DHAS_WCTYPE_H -DHAS_ISW_FUNCS
#else
#define XawI18nDefines -DHAS_WCHAR_H -DHAS_ISW_FUNCS
#endif
#if OSMajorVersion > 1 || OSTeenyVersion > 1
# if OSMajorVersion >= 7
# define ExtraLibraries -lsocket -lnsl -lgen
# else
# define ExtraLibraries -lsocket -lnsl -lgen -lw
# endif
# define ThreadedX YES
# define HasThreadSafeAPI NO
/* UnixWare does not have MT-safe pwd routines. */
# define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_GRPAPI
# define SystemMTDefines -D_REENTRANT
# ifdef HasGcc2
# define ThreadsLoadFlags -pthread
# else
# define ThreadsLoadFlags -Kpthread
# endif
#endif
#define BuildLibPathVar LD_LIBRARY_PATH
#ifndef BuildXterm
# define BuildXterm BuildClients
#endif
#ifndef HasNCurses
# define HasNCurses YES
#endif
#ifndef NCursesLibName
# define NCursesLibName -lcurses
#endif
#ifndef TermcapLibrary
# define TermcapLibrary -lcurses
#endif
#ifndef BuildFreetypeDlModule
# define BuildFreetypeDlModule NO
#endif
#ifndef UseDeprecatedKeyboardDriver
#define UseDeprecatedKeyboardDriver NO
#endif
#ifndef ManSuffix
# define ManSuffix 1
#endif
#ifndef LibManSuffix
# define LibManSuffix 3
#endif
#ifndef FileManSuffix
# define FileManSuffix 4
#endif
#ifndef UseExportLists
# define UseExportLists NO
#endif
#define GencatFlags -m
#ifndef HasCplusplus
# define HasCplusplus YES
#endif
#ifndef HasDlopen
# define HasDlopen YES
#endif
#ifndef HasShm
# define HasShm YES
#endif
#ifndef HasStrcasecmp
# define HasStrcasecmp YES
#endif
#ifndef HasSnprintf
# define HasSnprintf NO
#endif
#ifndef UseSmartScheduler
# define UseSmartScheduler NO
#endif
#define SharedLibXmu YES
#ifndef NothingOutsideProjectRoot
# define NothingOutsideProjectRoot YES
#endif
#ifndef UseSeparateConfDir
# define UseSeparateConfDir NO
#endif
#ifndef BuildHtmlManPages
# define BuildHtmlManPages NO
#endif
#ifndef SCOHasGWXLIBS
# define SCOHasGWXLIBS YES
#endif
#if SCOHasGWXLIBS
#define HasExpat YES
#define HasFreetype2 YES
#define HasLibpng YES
#define HasZlib YES
#define HasFontconfig YES
#define HasXpm YES
#endif /* SCOHasGWXLIBS */
#define InstallHardcopyDocs NO
#define HasPerl YES
#define HasPerl5 YES
/*
* When generating templates the UnixWare 2.02 C++ compiler leaves
* protected .i files behind. Remove them so other people can
* compile too.
*/
#ifndef ObjectCplusplusCompile
#define ObjectCplusplusCompile(options) RemoveFiles($@ $*.i) @@\
ClearmakeOSName \
$(CXX) -c $(CXXFLAGS) options $*.CCsuf
#endif
/* USL does not have a shared regex library. */
#define UseLocalRegex YES
#define XmDefines -DSUPPORT_ZERO_WIDTH -DHAS_WIDECHAR_FUNCTIONS
#define DtSvcDefines -DXK_MISCELLANY -DMULTIBYTE
#define DtSearchDefines -DI18N_MSG DtSvcDefines
#define DtWidgetDefines DtSearchDefines
#define DtPrintDefines DtSearchDefines
/* For DtHelp's TIFF processing routines. */
#define LSBBitOrder YES
#define ArchitectureDefines -DUSL_ARCHITECTURE
#define ExportListGenSource elistgen.usl
#define ShlibExportListOpt(filename) Concat(-Bexport:,filename)
/* <X11/Xos_r.h> requires process locking for missing _r functions */
#define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
#define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
#define CdeProjectDefines \
-DANSICPP -DMULTIBYTE -DNLS16 \
-DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion
/*
* These settings control the interdependence of the shared libraries.
* Mostly borrowed from darwinLib.tmpl.
*/
#ifndef FixupLibReferences
#define FixupLibReferences() @@\
XMULIBONLY = -lXmu @@\
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
#endif
#ifndef XawClientLibs
#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
#endif
#define SharedXlibi18nReqs $(LDPRELIB) $(XLIBONLY)
#define SharedXfontReqs $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary $(FREETYPE2LIB) $(XLIB)
#define SharedFontencReqs $(LDPRELIB) GzipLibrary
#define SharedGLReqs $(LDPRELIB) $(XLIB)
#define SharedGLUReqs $(LDPRELIB) $(XLIB) $(GLXLIB)
#define SharedOSMesaReqs $(LDPRELIB) $(XLIB) $(GLXLIB)
#define SharedPexReqs $(LDPRELIB) $(XONLYLIB) MathLibrary
#define SharedSMReqs $(LDPRELIB) $(ICELIB)
#define SharedX11Reqs $(LDPRELIB) -lsocket -lnsl
#define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB)
#define SharedXaw7Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
#define SharedXcursorReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedXextReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXiReqs $(LDPRELIB) $(XLIB)
#define SharedXieReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define SharedXmuuReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXpReqs $(LDPRELIB) $(XLIB)
#define SharedXpmReqs $(LDPRELIB) $(XLIB)
#define SharedXrandrReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedXrenderReqs $(LDPRELIB) $(XLIB)
#define SharedXtReqs $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB)
#define SharedXtstReqs $(LDPRELIB) $(XLIB)
#define SharedXvReqs $(LDPRELIB) $(XLIB)
#define SharedDPSReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
#define SharedDPSTKReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIB)
#define SharedOldXReqs $(LDPRELIB) $(XONLYLIB)
#define SharedpsresReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
#define SharedXResReqs $(LDPRELIB) $(XLIB)
#define SharedXfontcacheReqs $(LDPRELIB) $(XLIB)
#define SharedXineramaReqs $(LDPRELIB) $(XLIB)
#define SharedXssReqs $(LDPRELIB) $(XLIB)
#define SharedXvMCReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86miscReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86vmReqs $(LDPRELIB) $(XLIB)
#define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB)
#define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
#define SharedXReqs $(XTOOLLIB) $(XPLIB) $(XLIB)
#define SharedXmReqs $(LDPRELIB) SharedXReqs
#define SharedMrmReqs $(LDPRELIB) $(XMLIB) SharedXReqs
#define SharedUilReqs $(LDPRELIB) $(XMLIB) SharedXReqs
#include <scoLib.rules> /* minor changes to sv4Lib.rules */
#include <svr4.cf>
|