From edcde41ec26d75aa1194202f2bcac17b38bc01c7 Mon Sep 17 00:00:00 2001 From: goodale Date: Sun, 14 May 2000 18:49:10 +0000 Subject: 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 --- src/gnu/make.code.defn | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/gnu') 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 -- cgit v1.2.3