From cd7c1cae1cfad5490e263829fda7308655a76cbb Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 16 Jan 2005 07:18:31 +0000 Subject: [PATCH] * Revise the projects section and make reference to Projects.html * the dist-clean target no longer implies a check git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19608 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/MakefileGuide.html | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/MakefileGuide.html b/docs/MakefileGuide.html index c91b14c3737..3c73753be1c 100644 --- a/docs/MakefileGuide.html +++ b/docs/MakefileGuide.html @@ -38,6 +38,7 @@
  • JIT Tools
  • +
  • Projects
  • Targets Supported @@ -115,10 +116,15 @@ software, but it can build yours too. Built into the system is knowledge of the llvm/projects directory. Any directory under projects that has both a configure script and a Makefile is assumed - to be a project that uses the LLVM Makefile system. This allows your project + to be a project that uses the LLVM Makefile system. Building software that + uses LLVM does not require the LLVM Makefile System nor even placement in the + llvm/projects directory. However, doing so will allow your project to get up and running quickly by utilizing the built-in features that are used to compile LLVM. LLVM compiles itself using the same features of the makefile system as used for projects.

    +

    For complete details on setting up your projects configuration, simply + mimic the llvm/projects/sample project or for further details, + consult the Projects.html page.

    @@ -380,7 +386,7 @@ distall Prepare a source distribution tarball. - dist-checkall check + dist-checkall Prepare a source distribution tarball and check that it builds. dist-cleanclean @@ -535,7 +541,7 @@

    This utility target will force a reconfigure of LLVM or your project. It - simply runs $(BUILD_OBJ_ROOT)/config.status --recheck to rerun the + simply runs $(PROJ_OBJ_ROOT)/config.status --recheck to rerun the configuration tests and rebuild the configured files. This isn't generally useful as the makefiles will reconfigure themselves whenever its necessary.

    @@ -544,10 +550,10 @@
    -

    This utility target, only available when $(BUILD_OBJ_ROOT) is not - the same as $(BUILD_SRC_ROOT), will completely clean the - $(BUILD_OBJ_ROOT) directoy by removing its content entirely and - reconfiguring the directory. This returns the $(BUILD_OBJ_ROOT) +

    This utility target, only available when $(PROJ_OBJ_ROOT) is not + the same as $(PROJ_SRC_ROOT), will completely clean the + $(PROJ_OBJ_ROOT) directoy by removing its content entirely and + reconfiguring the directory. This returns the $(PROJ_OBJ_ROOT) directory to a completely fresh state. All content in the directory except configured files and top-level makefiles will be lost.

    Use with caution.

    @@ -737,12 +743,12 @@
    Specifies the path to the ar tool.
    BISON(configured)
    Specifies the path to the bison tool.
    -
    BUILD_OBJ_DIR
    +
    PROJ_OBJ_DIR
    The directory into which the products of build rules will be placed. This might be the same as - BUILD_SRC_DIR but typically is + PROJ_SRC_DIR but typically is not.
    -
    BUILD_SRC_DIR
    +
    PROJ_SRC_DIR
    The directory which contains the source files to be built.
    BURG
    Specifies the path to the burg tool.
    -- 2.34.1