From: Brian Paul Date: Fri, 1 Jun 2012 15:19:36 +0000 (-0600) Subject: docs: remove documentation of old Makefile system X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=adc58e96d088615abc8325ac8c78ec770931448d;p=mesa.git docs: remove documentation of old Makefile system It's going away in the near future. --- diff --git a/docs/install.html b/docs/install.html index 2ba7cb8677b..a344c2ca7af 100644 --- a/docs/install.html +++ b/docs/install.html @@ -16,8 +16,7 @@
  • For DRI and hardware acceleration
  • Building with autoconf (Linux/Unix/X11) -
  • Building with SCons (Windows) -
  • Building with legacy Makefiles (deprecated) +
  • Building with SCons (Windows/Linux)
  • Building for other systems
  • Library Information
  • Building OpenGL programs with pkg-config @@ -95,7 +94,7 @@ for more details. -

    3. Building with SCons (Windows)

    +

    3. Building with SCons (Windows/Linux)

    To build Mesa with SCons on Linux or Windows do @@ -129,118 +128,8 @@ Put them all in the same directory to test them. - -

    4. Building with legacy Makefiles (deprecated)

    - -

    -The legacy Mesa build system is based on a collection of pre-defined -system configurations. -Some of these might work for older systems not supported by autoconf. -

    -

    -To see the list of configurations, just type make. -Then choose a configuration from the list and type make -configname. -

    - -

    -Mesa may be built in several different ways using the predefined configurations: -

    -
      -
    • Stand-alone/Xlib mode - Mesa will be compiled as -a software renderer using Xlib to do all rendering. -The libGL.so library will be a self-contained rendering library that will -allow you to run OpenGL/GLX applications on any X server (regardless of -whether it supports the GLX X server extension). -You will not be able to use hardware 3D acceleration. -

      -To compile stand-alone Mesa type make in the top-level directory. -You'll see a list of supported system configurations. -Choose one from the list (such as linux-x86), and type: -

      -
      -    make linux-x86
      -
      -

      This will produce libGL.so and several other libraries

      -
    • - -
    • DRI/accelerated - The DRI hardware drivers for -accelerated OpenGL rendering (for ATI, Intel, Matrox, etc) will be built. -The libGL.so library will support the GLX extension and will load/use -the DRI hardware drivers. - - -

      -Build Mesa and the DRI hardware drivers by running -

      -
      -   make linux-dri
      -
      -

      -There are also linux-dri-x86, linux-dri-x86-64, -and linux-ppc configurations which are optimized for those -architectures. -

      -

      -Make sure you have the prerequisite versions of DRM and Xserver mentioned -above. -

      - -
    - - -

    -Later, if you want to rebuild for a different configuration run -make realclean before rebuilding. -

    - - - -
    -

    Installing the header and library files

    - -

    -The standard location for the OpenGL header files on Unix-type systems is -in /usr/include/GL/. -The standard location for the libraries is /usr/lib/. -For more information see, the - -Linux/OpenGL ABI specification. -

    - -

    -If you'd like Mesa to co-exist with another implementation of OpenGL that's -already installed, you'll have to choose different directories, like -/usr/local/include/GL/ and /usr/local/lib/. -

    - -

    -To install Mesa's headers and libraries, run make install. -But first, check the Mesa/configs/default file and examine the values -of the INSTALL_DIR and DRI_DRIVER_INSTALL_DIR variables. -Change them if needed, then run make install. -

    - -

    -The variable -DESTDIR may also be used to install the contents to a temporary -staging directory. -This can be useful for package management. -For example: make install DESTDIR=/somepath/ -

    - -

    -Note: at runtime you can use the LD_LIBRARY_PATH environment variable -(on Linux at least) to switch -between the Mesa libraries and other vendor's libraries whenever you want. -This is a handy way to compare multiple OpenGL implementations. -

    - - - - -

    5. Building for other systems

    +

    4. Building for other systems

    Documentation for other environments (some may be very out of date): @@ -255,7 +144,7 @@ Documentation for other environments (some may be very out of date): -

    6. Library Information

    +

    5. Library Information

    When compilation has finished, look in the top-level lib/ @@ -300,7 +189,7 @@ versions of libGL and device drivers. -

    7. Building OpenGL programs with pkg-config

    +

    6. Building OpenGL programs with pkg-config

    Running make install will install package configuration files