[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/64: Add variable GLOBAL_COMMON_DEPS
From: |
Ludovic Courtès |
Subject: |
05/64: Add variable GLOBAL_COMMON_DEPS |
Date: |
Mon, 05 Jan 2015 16:38:49 +0000 |
civodul pushed a commit to branch nix
in repository guix.
commit 4e7e498ff95b553227a26fc20549bd69995a0b08
Author: Eelco Dolstra <address@hidden>
Date: Fri Feb 28 12:01:42 2014 +0100
Add variable GLOBAL_COMMON_DEPS
This is a list of dependencies on which all C/C++ object files depend.
Primarily useful for global precompiled headers.
---
libraries.mk | 2 +-
programs.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libraries.mk b/libraries.mk
index 21718c4..547f393 100644
--- a/libraries.mk
+++ b/libraries.mk
@@ -109,7 +109,7 @@ define build-library
$$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj)_CXXFLAGS=$$($(1)_CXXFLAGS)))
# Make each object file depend on the common dependencies.
- $$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj): $$($(1)_COMMON_DEPS)))
+ $$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj): $$($(1)_COMMON_DEPS)
$$(GLOBAL_COMMON_DEPS)))
# Include .dep files, if they exist.
$(1)_DEPS := $$(foreach fn, $$($(1)_OBJS), $$(call filename-to-dep, $$(fn)))
diff --git a/programs.mk b/programs.mk
index 04ba282..d07c914 100644
--- a/programs.mk
+++ b/programs.mk
@@ -57,7 +57,7 @@ define build-program
$$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj)_CXXFLAGS=$$($(1)_CXXFLAGS)))
# Make each object file depend on the common dependencies.
- $$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj): $$($(1)_COMMON_DEPS)))
+ $$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj): $$($(1)_COMMON_DEPS)
$$(GLOBAL_COMMON_DEPS)))
# Include .dep files, if they exist.
$(1)_DEPS := $$(foreach fn, $$($(1)_OBJS), $$(call filename-to-dep, $$(fn)))
- branch nix updated (0a75126 -> a1dd396), Ludovic Courtès, 2015/01/05
- 01/64: Support setting CFLAGS and CXXFLAGS for libraries/programs, Ludovic Courtès, 2015/01/05
- 02/64: Add a function for looking up programs in $PATH, Ludovic Courtès, 2015/01/05
- 03/64: More GNU Make 3.81 compatibility, Ludovic Courtès, 2015/01/05
- 06/64: Add a variable GLOBAL_CXXFLAGS_PCH for use by precompiled headers, Ludovic Courtès, 2015/01/05
- 05/64: Add variable GLOBAL_COMMON_DEPS,
Ludovic Courtès <=
- 07/64: Add support for making relocatable packages using $ORIGIN, Ludovic Courtès, 2015/01/05
- 09/64: Tweak error message, Ludovic Courtès, 2015/01/05
- 04/64: Make it work on GNU Make > 3.81 again, Ludovic Courtès, 2015/01/05
- 10/64: Support Illumos, Ludovic Courtès, 2015/01/05
- 11/64: Sync with make-rules repo, Ludovic Courtès, 2015/01/05
- 12/64: Fix compile errors on Illumos, Ludovic Courtès, 2015/01/05
- 13/64: Document that we require a C++11 compiler, Ludovic Courtès, 2015/01/05
- 16/64: Remove unnecessary quotes around file names, Ludovic Courtès, 2015/01/05
- 08/64: Don't set an absolute soname, Ludovic Courtès, 2015/01/05
- 15/64: Include position info in function application, Ludovic Courtès, 2015/01/05