factor makefiles

gitea-113
positron 2 months ago
parent dcf7c39d7e
commit 4d69a8a732

@ -7,18 +7,6 @@ HERE_REL := $(notdir $(CURDIR))
include Makefile.conf
ifneq ($(wildcard local.conf),)
$(info ================================================)
$(info Overrides in `local.conf` are used.)
$(info ================================================)
endif
ifdef BUILD_CONFIG
$(info ================================================)
$(info Overrides in `$(BUILD_CONFIG)` are used.)
$(info ================================================)
endif
BUILT_IN_MIME=
ifdef PEP_MIME

@ -436,18 +436,27 @@ dump-make-variables:
######### Banner #########
ifneq ($(wildcard local.conf),)
LOCALCONFEXISTINGMESSAGE = local.conf
endif
ifdef BUILD_CONFIG
BUILD_CONFIGMESSAGE := BUILD_CONFIG used ($(BUILD_CONFIG))
endif
export BANNERPRINTED
ifndef BANNERPRINTED
BANNERPRINTED := yes
VERSION=$(shell cat $(HERE)src/pEpEngine_version.h | grep 'PEP_ENGINE_VERSION "' | awk '{print $$3}' | tr '"' ' ')
$(info ================================================)
$(info Building p≡p Engine $(VERSION))
$(info * safety mode '$(DEBUG)')
$(info * maximum log level '$(MAXLOGLEVEL)')
$(info * log desinations '$(LOGDESTINATIONS)')
$(info *)
$(info * CFLAGS: $(CFLAGS))
$(info * CXXFLAGS: $(CXXFLAGS))
$(info * CPPFLAGS: $(CPPFLAGS))
$(info Safety mode '$(DEBUG)')
$(info Maximum log level '$(MAXLOGLEVEL)')
$(info Log desinations '$(LOGDESTINATIONS)')
$(info )
$(info CFLAGS: $(CFLAGS))
$(info CXXFLAGS: $(CXXFLAGS))
$(info CPPFLAGS: $(CPPFLAGS))
$(info Overrides: $(LOCALCONFEXISTINGMESSAGE) $(BUILD_CONFIGMESSAGE))
$(info ================================================)
endif

Loading…
Cancel
Save