From 6735c6807c99edadc7632e8ddc1859a234c7156c Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sat, 7 Mar 2015 23:03:41 +0200 Subject: [PATCH] Got rid of FEMON_DEBUG. --- Makefile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Makefile b/Makefile index c3d4720..70e6837 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,6 @@ # Makefile for Frontend Status Monitor plugin # -# Debugging on/off - -#FEMON_DEBUG = 1 - -# Strip debug symbols? Set eg. to /bin/true if not - -STRIP = strip - # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. # By default the main source file also carries this name. @@ -35,6 +27,7 @@ TMPDIR ?= /tmp export CFLAGS = $(call PKGCFG,cflags) export CXXFLAGS = $(call PKGCFG,cxxflags) +STRIP ?= /bin/true ### The version number of VDR's plugin API: @@ -59,10 +52,6 @@ INCLUDES += DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -ifdef FEMON_DEBUG -DEFINES += -DDEBUG -endif - ifneq ($(strip $(GITTAG)),) DEFINES += -DGITVERSION='"-GIT-$(GITTAG)"' endif @@ -122,9 +111,7 @@ install-i18n: $(I18Nmsgs) $(SOFILE): $(OBJS) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ -ifndef FEMON_DEBUG @$(STRIP) $@ -endif install-lib: $(SOFILE) install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)