/usr/lib/X11/config/XView.cf is in xviewg-dev 3.2p1.4-28.1.
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 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 | #ifndef XViewCf
#define XViewCf YES
XCOMM ###########################################################################
XCOMM # @(#)XView.cf 1.10 09 Feb 1992 SMI
XCOMM # XView.cf for XView release 3.0. Specify site preferences here.
/*
* When anything is changed here, you must remake all the Makefiles
* from the Imakefiles.
*
* First set the IMAKEINCLUDE environment variable to point to the
* config directory in your installed X11 release (usually
* /usr/lib/X11/config) and the config directory in the XView release.
* For example:
*
* using csh where <X11> stands for the top of your installed X11
* release and <XVIEW> stands for the top of the XView source
* release.
*
* % setenv IMAKEINCLUDE -I<X11>/lib/X11/config -I<XVIEW>/config
*
* or using sh or ksh:
*
* # IMAKEINCLUDE="-I<X11>/lib/X11/config -I<XVIEW>/config"
* # export IMAKEINCLUDE
*
* check the value of this with:
*
* echo "IMAKEINCLUDE = "$IMAKEINCLUDE
*
* Second, make the top level Makefile. For example:
*
* with the X.V11 release 5 from MIT installed and the X11 bin
* directory is already in your PATH.
*
* % imake -DUseInstalled -I<X11>/lib/X11/config -I./config
*
* Third, "make Makefiles", note "make World" will do a "make Makefiles".
*
* If you've already made the Makefiles once before, can just do another
* "make Makefiles" from the <XVIEW> directory.
*/
/****************************************************************************/
/****************************************************************************/
/*
* NOTE: Any of the values in this file or any of the other XView.* files
* can be overridden in the site.def file.
*
****************************************************************************/
/*
* Enable Linux-specific behaviour
*/
#if defined(LinuxArchitecture) || defined(linux)
#undef __linux__
#define __linux__ 1
#endif
#if defined(i386Architecture) || defined(i386)
#undef __i386
#define __i386 1
#endif
/****************************************************************************/
/*
* If you have Open Windows release 2.0 or greater distribution from Sun
* Microsystems as your X environment, set this to YES. See next
* comment.
*
*/
#ifndef HasOpenWindows
#define HasOpenWindows NO
#endif
/*
* If you have Open Windows, then will need to set up the location of
* some files used by client/clock.
* The default is set up as the environement variable "OPENWINHOME"
* preceeded by "$$" so it works correctly with make. If you would
* rather code in the location of Open Windows instead of using an
* environment variable, that will work as well. So, instead of setting
* this to be "$$OPENWINHOME", could set it to be "/home/openwin" if
* the "include" directory is found in /home/openwin/include or
* "/home/openwin/usr/" if the "include" directory is found in
* /home/openwin/usr/include.
*
* The OPENWINHOME environment variable should be set to point to the
* top of your OpenWindows distribution.
* See also InstallInOpenwinHome.
*
*/
/* #if HasOpenWindows */
# ifndef OpenWindowsHome
/*# define OpenWindowsHome $$OPENWINHOME*/
# define OpenWindowsHome /usr
# endif
/* #endif */
/*
* When you have permission to install a file into $OPENWINHOME,
* set the following value to YES for PostScript files.
*/
#ifndef InstallInOpenwinHome
#define InstallInOpenwinHome YES
#endif
/*
* Where to install the XView distribution.
*
* By default XView will be installed wherever the X11R5 hiearchy is
* installed (via site.def). Defining XVDestDir will override this
* i.e. XView will be installed in XVDestDir instead.
*
* Note: The OpenLook fonts are always installed in the R5 hierarchy
* regardless of whether XVDestDir is defined or not. (see
* InstallOpenLookFonts below)
*
* To make this macro active, uncomment this set of defines and give it
* the appropriate value.
*/
#ifndef XVDestDir
/*#define XVDestDir /usr/X11R6*/
#define XVDestDir /usr
#endif
/*
* Command to add object modules to the library.
*
* For compiling a second time, you might want to change the arguments
* for ar to be "rul" which will add a module if it is not already there.
* For quicker addition of modules, use the "clqv" flags to ar.
*/
#ifndef ArchiveCommand
#define ArchiveCommand ar ruv
#endif
/*
* Command to change the permissions of a file.
*/
#ifndef ChangePermissionsCommand
#define ChangePermissionsCommand chmod
#endif
/*
* Use PRE_R4_ICCCM only if you are compiling with X.V11R3.
* To do this change NO to YES for PreR4Server below. Note:
* these Imakefiles will require the rules in the R4 config
* directory and the scripts mkdirhier, and makedepend.
*
* See also InstallOpenLookFonts
*/
#ifndef PreR4Server
#define PreR4Server NO
#endif
/*
* If you already have the configuration information installed from
* the X.V11R5 distribution, set OnlyNeedsNewXViewConfigInstalled to
* YES below.
*
* By default, the X.V11R5 configuration files would have been
* installed in $(DESTDIR)/lib/X11/config (aka $(CONFIGDIR)).
*/
#ifndef OnlyNeedsNewXViewConfigInstalled
#define OnlyNeedsNewXViewConfigInstalled YES
#endif
/*
* If you would like the XView man pages to be installed in
* the same directory as the X.V11R5 man pages, then set
* InstallManPagesInXVDestDir below to NO.
*
* By default, these files would be installed in $(XVDESTDIR)/man
* and setting this to NO would install them in $(DESTDIR)/man.
*/
#ifndef InstallManPagesInXVDestDir
#define InstallManPagesInXVDestDir YES
#endif
/*
* If your server does not have the OpenLook fonts installed, then set
* InstallOpenLookFonts to YES below.
*
* The X.V11 Release 5 MIT server installs these by default.
* Any X.V11 release older than R4 will need these installed.
* The Open Windows Release 1.0.1 onward is based on X.V11 Release 4.
* These are unchanged from X.V11R4 and the XView 2 release.
*/
#ifndef InstallOpenLookFonts
#define InstallOpenLookFonts NO
#endif
/*
* If you want to install the private header files, set below value to
* YES. Some extensions will want to use the private header files, so
* if you will be doing alot of subclassing, set it to YES.
*/
#ifndef InstallPrivateHeaders
#define InstallPrivateHeaders YES
#endif
/*
* If you do want to install the conversion from SunView to XView
* scripts, set the following value to YES below.
*/
#ifndef InstallConversion
#define InstallConversion YES
#endif
/*
* If you are using SunOS 3.5 or another 4.2 BSD based operating system,
* add in the flag -DOLD_BSD_FDSETS to LibXViewDefines below. If you are building
* on Solaris 2.2 and need the internationalized code, add the flag -DOW_I18N
* to LibXViewDefines below (also, see XvI18nLevel further in this file).
* Also, -DFULL_R5 is needed if building on X11R5.
* If you are not building on Solaris2.2 you will not have the necessary
* header files to build the internalization code. If this is the case
* remove the -DOW_I18N and -DFULL_R5 from LibXViewDefines. If you are
* building on a SunOS 4.x operating system add the flag -DSUNOS41.
*/
/* Add -DX11R6 to use workarounds for acess to xlib private data */
/* FIXME: Should we add -DFULL_R5 for Linux? I don't know whether this affects
* binary compatibility, so we'll do it the safe way and leave it undefined
*/
#ifndef LibXViewDefines
# if PreR4Server
# define LibXViewDefines -DPRE_R4_ICCCM
# else
# ifdef __linux__
# ifdef __i386
# define LibXViewDefines -I$(OPENWINHOME)/include -DX11R6 -Di386 -DNO_CAST_VATOAV
# else
# define LibXViewDefines -I$(OPENWINHOME)/include -DX11R6 -DNO_CAST_VATOAV
# endif
# else
# define LibXViewDefines -DFULL_R5 -I$(OPENWINHOME)/include -DSUNOS41 -DX11R6
# endif
# endif
#endif
/*
* If you can compile with shared libraries, and want to at this time,
* set WantToCompileSharedLibs to YES below.
*/
#ifndef WantToCompileSharedLibs
#define WantToCompileSharedLibs YES
#endif
/*
* To compile a shared library, set HasSharedLibraries to YES in
* the site.def file. Only do this if you really do have shared library
* capabilities in your operating system. By default, SunOS 4.x and
* older will build both a shared and a static library. Since building a
* shared library takes longer than a static one, you may want to make
* sure the static library builds first, then try the shared one.
*
* The name of this directive is SharedLibXView, but it applies to all
* the libraries: libxview, and libolgx.
*/
#ifndef SharedLibXView
# if HasSharedLibraries && WantToCompileSharedLibs
#define SharedLibXView YES
# else
#define SharedLibXView NO
# endif
#endif
/*
* To compile a debugged version of the library, set DebugLibXView to YES
* below. This has not been tested.
*
* Note: a complete debugged library will be between 17 and 20 MB in
* size.
*/
#ifndef DebugLibXView
#define DebugLibXView NO
#endif
/*
* To compile a profiled version of the library, set ProfileLibXView to
* YES below. This has not been tested.
*/
#ifndef ProfileLibXView
#define ProfileLibXView NO
#endif
/*
* any machine without pixrect includes in /usr/include will
* need to set InstallPixrectHeaders to YES below.
*
* XView does not use the Pixrect library, it uses the Pixrect
* data structures as an internal structure to provide
* compatibility with programs which do use the Pixrect library.
*/
#ifndef InstallPixrectHeaders
#define InstallPixrectHeaders YES
#endif
/*
* Many of the images are not used by the library or the clients provided
* with the XView 3.0 public source release. The images are broken up
* into a group of "core" images which are used and "others" which are
* not used. To install images in addition to the "core" group, set the
* following variable to YES.
*/
#ifndef InstallAllImages
#define InstallAllImages YES
#endif
/*
* If you do not already have the textsw extras menu installed in
* /usr/lib/.text_extras_menu, then set RedefineTextExtrasMenu below
* to YES.
*/
#ifndef RedefineTextExtrasMenu
#define RedefineTextExtrasMenu NO
#endif
/*
* DEC 3100 Config options
*/
#ifdef UltrixArchitecture
# ifndef InstallCommand
# define InstallCommand /usr/bin/install
# endif
#endif
/*
* Assume that the X library has been built and installed.
* Set the Dependent X library to null to avoid make file conflicts.
*
* A dependent library means that the build will try to grab the library
* from within the source code hierarchy. If the library is not there,
* it will then attempt to build the library first.
*/
#ifndef XVDependentXLib
#define XVDependentXLib
#endif
/*
* The command to extract static strings from a source file and
* replace it with an index into a common hash table. The hash table
* is then compiled into the executable as a separate module.
*/
#ifndef ExtractStringCommand
#define ExtractStringCommand xstr
#endif
/*
* Messaging routines such as dgettext(), gettext() are part of
* XView 3.0. They are used for localized text handling i.e. so that
* error messages, button labels, etc. can be displayed in the current
* locale. By default, they are implemented using mmap(). Set OsHasMMap
* to NO if it is not available on your OS. An alternate method using
* malloc() and read() will be used instead.
*/
#ifndef OsHasMmap
#define OsHasMmap YES
#endif
/*
* The implementation of internationalization support in XView depends
* on the function setlocale(). If it is not available, set OsHasLocale
* to NO. A dummy stub setlocale() function will be defined (just to
* resolve some symbols) but XView will have it's internationalization
* features disabled.
*/
#ifndef OsHasLocale
#define OsHasLocale YES
#endif
/*
* There are number of memory allocation macros in lib/libxview/base.h
* that are heavily used by XView. Some compilers do not like the
* construct used to define these macros. If the compiler you are using
* does not like these macros, and there is no other fix for this, set
* XvUseAllocFuncs to YES. Note that this may have some performance hits.
*/
#ifndef XvUseAllocFuncs
#define XvUseAllocFuncs NO
#endif
/*
* If your system does not have strdup(), set XvNoStrdup to YES.
*/
#ifndef XvNoStrdup
#define XvNoStrdup NO
#endif
/*
* If you have Solaris 2.2 and would like to include the files specific
* to L4 internationalization, set XvI18nLevel to 4.
* Otherwise, set XvI18nLevel to 3.
*/
#ifndef XvI18nLevel
#define XvI18nLevel 3
#endif
/*
* When building under SunOS4.x, the files lib/libxview/misc/gettext.[ch]
* are needed. If you are building under Solaris 2.2, set XvNeedGettext to
* NO, as these routines are already part of the OS.
*/
#ifndef XvNeedGettext
#define XvNeedGettext YES
#endif
/*
* If you are running an SVR4 base operating system then
* PositionIndependentCodeFlag should be defined as -K PIC
* If you are running 4.x, then PositionIndependentCodeFlag should
* be defined as -PIC
*/
#ifndef PositionIndependentCodeFlag
#define PositionIndependentCodeFlag -fPIC
#endif
/*
* This compiler flag is used to insert string literals into the
* text segment instead of the data segment. The flag varies
* depending on what compiler you use.
*
* Compiler Operating System StringConstantFlag
* ------------------------------------------------------------------
* SparcWorks compiler Solaris 2.2 -xstrconst
* (/opt/SUNWspro/bin/cc)
*
* /bin/cc SunOS 4.x <none>
*
* acc SunOS 4.x -strconst
*/
#ifndef StringConstantFlag
#define StringConstantFlag
#endif
#endif /* XViewCf */
|