Makefile.include (d7cb3a507d23ef42574709fc5f2ca954e274ff91) Makefile.include (093b75ef5995ea35d7f6bdb6c7b32a42a1999813)
1ifneq ($(O),)
2ifeq ($(origin O), command line)
3 dummy := $(if $(shell test -d $(O) || echo $(O)),$(error O=$(O) does not exist),)
4 ABSOLUTE_O := $(shell cd $(O) ; pwd)
5 OUTPUT := $(ABSOLUTE_O)/$(if $(subdir),$(subdir)/)
6 COMMAND_O := O=$(ABSOLUTE_O)
7ifeq ($(objtree),)
8 objtree := $(O)

--- 18 unchanged lines hidden (view full) ---

27EXTRA_WARNINGS += -Wmissing-declarations
28EXTRA_WARNINGS += -Wmissing-prototypes
29EXTRA_WARNINGS += -Wnested-externs
30EXTRA_WARNINGS += -Wno-system-headers
31EXTRA_WARNINGS += -Wold-style-definition
32EXTRA_WARNINGS += -Wpacked
33EXTRA_WARNINGS += -Wredundant-decls
34EXTRA_WARNINGS += -Wshadow
1ifneq ($(O),)
2ifeq ($(origin O), command line)
3 dummy := $(if $(shell test -d $(O) || echo $(O)),$(error O=$(O) does not exist),)
4 ABSOLUTE_O := $(shell cd $(O) ; pwd)
5 OUTPUT := $(ABSOLUTE_O)/$(if $(subdir),$(subdir)/)
6 COMMAND_O := O=$(ABSOLUTE_O)
7ifeq ($(objtree),)
8 objtree := $(O)

--- 18 unchanged lines hidden (view full) ---

27EXTRA_WARNINGS += -Wmissing-declarations
28EXTRA_WARNINGS += -Wmissing-prototypes
29EXTRA_WARNINGS += -Wnested-externs
30EXTRA_WARNINGS += -Wno-system-headers
31EXTRA_WARNINGS += -Wold-style-definition
32EXTRA_WARNINGS += -Wpacked
33EXTRA_WARNINGS += -Wredundant-decls
34EXTRA_WARNINGS += -Wshadow
35EXTRA_WARNINGS += -Wstrict-aliasing=3
36EXTRA_WARNINGS += -Wstrict-prototypes
37EXTRA_WARNINGS += -Wswitch-default
38EXTRA_WARNINGS += -Wswitch-enum
39EXTRA_WARNINGS += -Wundef
40EXTRA_WARNINGS += -Wwrite-strings
41EXTRA_WARNINGS += -Wformat
42
35EXTRA_WARNINGS += -Wstrict-prototypes
36EXTRA_WARNINGS += -Wswitch-default
37EXTRA_WARNINGS += -Wswitch-enum
38EXTRA_WARNINGS += -Wundef
39EXTRA_WARNINGS += -Wwrite-strings
40EXTRA_WARNINGS += -Wformat
41
42ifneq ($(CC), clang)
43EXTRA_WARNINGS += -Wstrict-aliasing=3
44endif
45
43ifneq ($(findstring $(MAKEFLAGS), w),w)
44PRINT_DIR = --no-print-directory
45else
46NO_SUBDIR = :
47endif
48
49ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
50ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)

--- 44 unchanged lines hidden ---
46ifneq ($(findstring $(MAKEFLAGS), w),w)
47PRINT_DIR = --no-print-directory
48else
49NO_SUBDIR = :
50endif
51
52ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
53ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)

--- 44 unchanged lines hidden ---