Other useful make targets

Building XFree86 from a Source Distribution : Other useful make targets
Previous: Reconfiguring the server (source distribution)
Next: Building XFree86 from a Source Distribution

## 6. Other useful make targets

There are some other useful targets defined in the top level `Makefile`of XFree86:

- Everything after a `make World`, `make Everything` does everything a `make World` does, except the cleaning of the tree. It is a way to quickly rebuild the tree after a source patch, but it is not 100% bullet proof. There are cases were it is better to force a full build by using `make World`.
- clean does a partial cleaning of the source tree. Removes object files and generated manual pages, but leaves the Makefiles and the generated dependencies files in place. After a `make clean` you need to re-run

  > `

  >             make includes
  >             make depend
  >             make

  > `

  to rebuild the XFree86.
- distclean does a full cleaning of the source tree, removing all generated files. After a `make distclean`, `make World` is the only option to rebuild XFree86.
- includes generates all generated header files and in-tree symbolic links needed by the build. These files are removed by a `make clean`.
- depend recomputes the dependencies for the various targets in all Makefiles. Depending on the operating system, the dependencies are stored in the Makefile, or as a separate file, called `.depend`. This target needs the generated include files produced by `make includes`.
- VerifyOS displays the detected operating system version. If the numbers shown do not match your system, you probably need to set them manually in `host.def` and report the problem to XFree86@XFree86.org .

Building XFree86 from a Source Distribution : Other useful make targets
Previous: Reconfiguring the server (source distribution)
Next: Building XFree86 from a Source Distribution