diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-05-14 18:49:10 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-05-14 18:49:10 +0000 |
commit | edcde41ec26d75aa1194202f2bcac17b38bc01c7 (patch) | |
tree | 42be8fd47e9a25ca9a54ed08b90f74a9a5c5dce0 | |
parent | 9ea344a738c629c90aeffd712ebd6e02a878a8ef (diff) |
Checks the value of the BUILD_GETOPT and BUILD_REGEX flags before
adding the files to the SRCS line.
You may need to do a reconfig after this update.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1660 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | src/gnu/make.code.defn | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gnu/make.code.defn b/src/gnu/make.code.defn index 01f9ad65..0839b06f 100644 --- a/src/gnu/make.code.defn +++ b/src/gnu/make.code.defn @@ -2,8 +2,13 @@ # # $Header$ -SRCS=\ -getopt.c\ -getopt1.c\ -regex.c +SRCS= + +ifeq ($(strip $(BUILD_GETOPT)),yes) +SRCS += getopt.c getopt1.c +endif + +ifeq ($(strip $(BUILD_REGEX)),yes) +SRCS += regex.c +endif |