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

@ -799,7 +799,7 @@ ifeq ($(USE_SYSTEMD),true)
endif endif
ifeq ($(USE_TIMER),true) ifeq ($(USE_TIMER),true)
BUILD_CFLAGS+= -D_USE_TIMER_ BUILD_CFLAGS += -D_USE_TIMER_
BUILD_CPPFLAGS += -D_USE_TIMER_ BUILD_CPPFLAGS += -D_USE_TIMER_
endif endif
@ -809,13 +809,13 @@ ifeq ($(USE_FAST_LOG),false)
endif endif
ifeq ($(USE_GCOV),true) ifeq ($(USE_GCOV),true)
BUILD_CFLAGS+= --coverage BUILD_CFLAGS += --coverage
BUILD_CPPFLAGS += --coverage BUILD_CPPFLAGS += --coverage
BUILD_LDFLAGS += --coverage BUILD_LDFLAGS += --coverage
endif endif
ifeq ($(USE_PROFILER),true) ifeq ($(USE_PROFILER),true)
BUILD_CFLAGS+= -pg BUILD_CFLAGS += -pg
BUILD_CPPFLAGS += -pg BUILD_CPPFLAGS += -pg
BUILD_LDFLAGS += -pg BUILD_LDFLAGS += -pg
endif endif
@ -825,7 +825,7 @@ ifeq ($(USE_YAMD),true)
endif endif
ifeq ($(USE_MPATROL),true) 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_CPPFLAGS += -include /usr/include/mpatrol.h
BUILD_LDFLAGS += -lmpatrolmt -lbfd -liberty BUILD_LDFLAGS += -lmpatrolmt -lbfd -liberty
endif endif
@ -858,61 +858,61 @@ endif
ifeq ($(USE_DBMALLOC),true) ifeq ($(USE_DBMALLOC),true)
CONTRIB_LIBS += dbmalloc 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_CPPFLAGS += -DDBMALLOC -DEXITFUN=_exit -I$(TOPDIR)/contrib/dbmalloc
BUILD_LDFLAGS += -ldbmalloc BUILD_LDFLAGS += -ldbmalloc
endif endif
ifeq ($(USE_DMALLOC),true) 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_CPPFLAGS += -DDMALLOC -DDMALLOC_FUNC_CHECK -DSTORE_SEEN_COUNT
BUILD_LDFLAGS += -ldmallocthcxx -ldmallocth BUILD_LDFLAGS += -ldmallocthcxx -ldmallocth
endif endif
ifeq ($(USE_MEMWATCH),true) ifeq ($(USE_MEMWATCH),true)
BUILD_CFLAGS+= -DMEMWATCH -DMW_STDIO BUILD_CFLAGS += -DMEMWATCH -DMW_STDIO
BUILD_CPPFLAGS += -DMEMWATCH -DMW_STDIO BUILD_CPPFLAGS += -DMEMWATCH -DMW_STDIO
endif endif
ifeq ($(USE_EFENCE),true) ifeq ($(USE_EFENCE),true)
BUILD_CFLAGS+= -DEFENCE BUILD_CFLAGS += -DEFENCE
BUILD_CPPFLAGS += -DEFENCE BUILD_CPPFLAGS += -DEFENCE
BUILD_LDFLAGS += -lefence BUILD_LDFLAGS += -lefence
endif endif
ifeq ($(USE_TRACING),true) ifeq ($(USE_TRACING),true)
BUILD_CFLAGS+= -D_DO_TRACE_ BUILD_CFLAGS += -D_DO_TRACE_
BUILD_CPPFLAGS += -D_DO_TRACE_ BUILD_CPPFLAGS += -D_DO_TRACE_
endif endif
ifeq ($(USE_ASSERTIONS),false) ifeq ($(USE_ASSERTIONS),false)
BUILD_CFLAGS+= -DNDEBUG BUILD_CFLAGS += -DNDEBUG
BUILD_CPPFLAGS += -DNDEBUG BUILD_CPPFLAGS += -DNDEBUG
endif endif
ifeq ($(COMPILE_DEBUG_CODE),true) ifeq ($(COMPILE_DEBUG_CODE),true)
BUILD_CFLAGS+= -D_DEBUG_ BUILD_CFLAGS += -D_DEBUG_
BUILD_CPPFLAGS += -D_DEBUG_ BUILD_CPPFLAGS += -D_DEBUG_
endif endif
ifeq ($(COMPILE_DEBUG_LOG),true) ifeq ($(COMPILE_DEBUG_LOG),true)
BUILD_CFLAGS+= -D_LOG_DEBUG_ BUILD_CFLAGS += -D_LOG_DEBUG_
BUILD_CPPFLAGS += -D_LOG_DEBUG_ BUILD_CPPFLAGS += -D_LOG_DEBUG_
endif endif
ifeq ($(USE_MPATROL),true) 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_CPPFLAGS += -include $(MODDIR)/include/mpatrol.h
BUILD_LDFLAGS += -lmpatrolmt -lbfd -liberty BUILD_LDFLAGS += -lmpatrolmt -lbfd -liberty
endif endif
ifeq ($(BREAK_ABI),true) ifeq ($(BREAK_ABI),true)
BUILD_CFLAGS+= -D_BREAK_ABI_ BUILD_CFLAGS += -D_BREAK_ABI_
BUILD_CPPFLAGS += -D_BREAK_ABI_ BUILD_CPPFLAGS += -D_BREAK_ABI_
endif endif
ifeq ($(USE_STACK_CHECK),true) ifeq ($(USE_STACK_CHECK),true)
BUILD_CFLAGS+= -fstack-check BUILD_CFLAGS += -fstack-check
BUILD_CPPFLAGS += -fstack-check BUILD_CPPFLAGS += -fstack-check
endif endif
@ -961,7 +961,7 @@ else
endif endif
ifeq ($(USE_EXCEPTIONS_IN_C),true) ifeq ($(USE_EXCEPTIONS_IN_C),true)
BUILD_CFLAGS+= -fexceptions BUILD_CFLAGS += -fexceptions
GCC_LDFLAGS += -shared-libgcc GCC_LDFLAGS += -shared-libgcc
endif endif