From: Roland McGrath Date: Tue, 28 Mar 1995 18:24:20 +0000 (+0000) Subject: (CPPFLAGS): Use $(CPPFLAGS) instead of $(defines). X-Git-Tag: 3.72.13~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=910d25619eef7d58674f8a4c882d80c700bdb0c3;p=platform%2Fupstream%2Fmake.git (CPPFLAGS): Use $(CPPFLAGS) instead of $(defines). --- diff --git a/GNUmakefile b/GNUmakefile index 6cd76bf..14b0ca6 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,6 @@ # GNU Make-specific makefile for GNU Make. -# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. +# Copyright (C) 1990, 91, 92, 93, 94, 95 Free Software Foundation, Inc. # This file is part of GNU Make. # # GNU Make is free software; you can redistribute it and/or modify @@ -50,6 +50,7 @@ exec_prefix = $(prefix) extras := $(filter-out getloadavg.o @%@,$(extras)) getloadavg.o LOADLIBES := $(filter-out @%@,$(LOADLIBES)) ALLOCA := $(filter-out @%@,$(ALLOCA)) +CPPFLAGS := $(filter-out @%@,$(CPPFLAGS)) -DHAVE_CONFIG_H ifdef AC_MACRODIR configure config.h.in: $(patsubst %,$(AC_MACRODIR)/%.m4,acspecific acgeneral) @@ -92,8 +93,6 @@ GLOB = else -CPPFLAGS := $(filter-out @%@,$(CPPFLAGS)) -Iglob - endif # works-for-make endif # $(libc_dir) endif # !no_libc @@ -114,7 +113,7 @@ $(archpfx)load.o: load.c $(archpfx)load.dep: load.c $(mkdep) $(LOAD_AVG) $< | sed 's,$*\.o,& $@,' > $@ -CPPFLAGS := -I$(ARCH) $(CPPFLAGS) -DHAVE_CONFIG_H $(filter-out @%@,$(defines)) +CPPFLAGS := -I$(ARCH) -DHAVE_CONFIG_H $(filter-out @%@,$(CPPFLAGS)) ifneq "$(wildcard $(ARCH)/makefile)" "" include $(ARCH)/makefile