defs.mk: Some indentation beautification

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-04-24 17:39:24 +00:00
commit 17380f70a4

View file

@ -788,7 +788,7 @@ endif
ifneq ($(filter jw-build,$(PREREQ_BUILD)),)
ifeq ($(TARGET),mingw)
JW_BUILD_LDFLAGS += -lglib-2.0 -lws2_32 -lstdc++
JW_BUILD_LDFLAGS += -lglib-2.0 -lws2_32 -lstdc++
endif
endif
@ -799,7 +799,7 @@ ifeq ($(USE_SYSTEMD),true)
endif
ifeq ($(USE_TIMER),true)
BUILD_CFLAGS+= -D_USE_TIMER_
BUILD_CFLAGS += -D_USE_TIMER_
BUILD_CPPFLAGS += -D_USE_TIMER_
endif
@ -809,23 +809,23 @@ ifeq ($(USE_FAST_LOG),false)
endif
ifeq ($(USE_GCOV),true)
BUILD_CFLAGS+= --coverage
BUILD_CFLAGS += --coverage
BUILD_CPPFLAGS += --coverage
BUILD_LDFLAGS += --coverage
endif
ifeq ($(USE_PROFILER),true)
BUILD_CFLAGS+= -pg
BUILD_CFLAGS += -pg
BUILD_CPPFLAGS += -pg
BUILD_LDFLAGS += -pg
endif
ifeq ($(USE_YAMD),true)
CC = yamd-gcc
CC = yamd-gcc
endif
ifeq ($(USE_MPATROL),true)
BUILD_CFLAGS+= -include /usr/include/mpatrol.h
BUILD_CFLAGS += -include /usr/include/mpatrol.h
#BUILD_CPPFLAGS += -include /usr/include/mpatrol.h
BUILD_LDFLAGS += -lmpatrolmt -lbfd -liberty
endif
@ -858,61 +858,61 @@ endif
ifeq ($(USE_DBMALLOC),true)
CONTRIB_LIBS += dbmalloc
BUILD_CFLAGS+= -DDBMALLOC -DEXITFUN=_exit -I$(TOPDIR)/contrib/dbmalloc
BUILD_CFLAGS += -DDBMALLOC -DEXITFUN=_exit -I$(TOPDIR)/contrib/dbmalloc
BUILD_CPPFLAGS += -DDBMALLOC -DEXITFUN=_exit -I$(TOPDIR)/contrib/dbmalloc
BUILD_LDFLAGS += -ldbmalloc
endif
ifeq ($(USE_DMALLOC),true)
BUILD_CFLAGS+= -DDMALLOC -DDMALLOC_FUNC_CHECK -DSTORE_SEEN_COUNT
BUILD_CFLAGS += -DDMALLOC -DDMALLOC_FUNC_CHECK -DSTORE_SEEN_COUNT
BUILD_CPPFLAGS += -DDMALLOC -DDMALLOC_FUNC_CHECK -DSTORE_SEEN_COUNT
BUILD_LDFLAGS += -ldmallocthcxx -ldmallocth
endif
ifeq ($(USE_MEMWATCH),true)
BUILD_CFLAGS+= -DMEMWATCH -DMW_STDIO
BUILD_CFLAGS += -DMEMWATCH -DMW_STDIO
BUILD_CPPFLAGS += -DMEMWATCH -DMW_STDIO
endif
ifeq ($(USE_EFENCE),true)
BUILD_CFLAGS+= -DEFENCE
BUILD_CFLAGS += -DEFENCE
BUILD_CPPFLAGS += -DEFENCE
BUILD_LDFLAGS += -lefence
endif
ifeq ($(USE_TRACING),true)
BUILD_CFLAGS+= -D_DO_TRACE_
BUILD_CFLAGS += -D_DO_TRACE_
BUILD_CPPFLAGS += -D_DO_TRACE_
endif
ifeq ($(USE_ASSERTIONS),false)
BUILD_CFLAGS+= -DNDEBUG
BUILD_CFLAGS += -DNDEBUG
BUILD_CPPFLAGS += -DNDEBUG
endif
ifeq ($(COMPILE_DEBUG_CODE),true)
BUILD_CFLAGS+= -D_DEBUG_
BUILD_CFLAGS += -D_DEBUG_
BUILD_CPPFLAGS += -D_DEBUG_
endif
ifeq ($(COMPILE_DEBUG_LOG),true)
BUILD_CFLAGS+= -D_LOG_DEBUG_
BUILD_CFLAGS += -D_LOG_DEBUG_
BUILD_CPPFLAGS += -D_LOG_DEBUG_
endif
ifeq ($(USE_MPATROL),true)
BUILD_CFLAGS+= -include $(MODDIR)/include/mpatrol.h
BUILD_CFLAGS += -include $(MODDIR)/include/mpatrol.h
BUILD_CPPFLAGS += -include $(MODDIR)/include/mpatrol.h
BUILD_LDFLAGS += -lmpatrolmt -lbfd -liberty
endif
ifeq ($(BREAK_ABI),true)
BUILD_CFLAGS+= -D_BREAK_ABI_
BUILD_CFLAGS += -D_BREAK_ABI_
BUILD_CPPFLAGS += -D_BREAK_ABI_
endif
ifeq ($(USE_STACK_CHECK),true)
BUILD_CFLAGS+= -fstack-check
BUILD_CFLAGS += -fstack-check
BUILD_CPPFLAGS += -fstack-check
endif
@ -961,19 +961,19 @@ else
endif
ifeq ($(USE_EXCEPTIONS_IN_C),true)
BUILD_CFLAGS+= -fexceptions
GCC_LDFLAGS += -shared-libgcc
BUILD_CFLAGS += -fexceptions
GCC_LDFLAGS += -shared-libgcc
endif
ifeq ($(STRIP_SYMBOLS),true)
STRIP_DONE ?= strip.done
endif
INCLUDE += $(LOCAL_INCLUDE) -I.
INCLUDE += $(LOCAL_INCLUDE) -I.
ifeq ($(USE_PROJECT_LIB),true)
INCLUDE += $(PROJECT_INCLUDE) -I$(TOPDIR)/include
LIBFLAGS += -L$(BUILD_LIBDIR)
INCLUDE += $(PROJECT_INCLUDE) -I$(TOPDIR)/include
LIBFLAGS += -L$(BUILD_LIBDIR)
endif
INCLUDE += $(call proj_query, cflags $(PREREQ_BUILD) $(PROJECT))