[llvm-commits] CVS: llvm-test/Makefile.common Makefile.config.in Makefile.common.in

Misha Brukman brukman at cs.uiuc.edu
Mon Sep 6 20:27:22 PDT 2004



Changes in directory llvm-test:

Makefile.common added (r1.1)
Makefile.config.in added (r1.1)
Makefile.common.in (r1.2) removed
---
Log message:

Reorganization to be more like the top-level llvm tree:
* Makefile.config is auto-generated by configure
  It can be included separately without getting Makefile.rules
* Makefile.common is NOT auto-generated and includes both Makefile.config and
  Makefile.rules


---
Diffs of the changes:  (+42 -0)

Index: llvm-test/Makefile.common
diff -c /dev/null llvm-test/Makefile.common:1.1
*** /dev/null	Mon Sep  6 22:27:22 2004
--- llvm-test/Makefile.common	Mon Sep  6 22:27:12 2004
***************
*** 0 ****
--- 1,18 ----
+ #===-- Makefile.common - Common make rules for LLVM --------*- Makefile -*--===#
+ # 
+ #                     The LLVM Compiler Infrastructure
+ #
+ # This file was developed by the LLVM research group and is distributed under
+ # the University of Illinois Open Source License. See LICENSE.TXT for details.
+ # 
+ #===------------------------------------------------------------------------===#
+ 
+ #
+ # Include the configuration file
+ #
+ include $(LEVEL)/Makefile.config
+ 
+ #
+ # Include LLVM's Master Makefile.
+ #
+ include $(LLVM_SRC_ROOT)/Makefile.rules


Index: llvm-test/Makefile.config.in
diff -c /dev/null llvm-test/Makefile.config.in:1.1
*** /dev/null	Mon Sep  6 22:27:22 2004
--- llvm-test/Makefile.config.in	Mon Sep  6 22:27:12 2004
***************
*** 0 ****
--- 1,24 ----
+ #
+ # Set this variable to the top of the LLVM source tree.
+ #
+ LLVM_SRC_ROOT = @LLVM_SRC@
+ 
+ #
+ # Set this variable to the top level directory where LLVM was built
+ # (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
+ #
+ LLVM_OBJ_ROOT = @LLVM_OBJ@
+ 
+ #
+ # Include the configuration file
+ #
+ include $(LLVM_OBJ_ROOT)/Makefile.config
+ 
+ #
+ # Set the source root and source directory pathnames
+ #
+ BUILD_SRC_DIR := $(subst //,/, at abs_top_srcdir@/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
+ 
+ BUILD_SRC_ROOT := $(subst //,/, at abs_top_srcdir@)
+ 
+ 






More information about the llvm-commits mailing list