diff --git a/Makefile b/Makefile index 2ff1695..b4c3bec 100644 --- a/Makefile +++ b/Makefile @@ -2,18 +2,10 @@ # Makefile for SAT>IP plugin # -# Debugging on/off - -#SATIP_DEBUG = 1 - # Use TinyXML instead of PugiXML #SATIP_USE_TINYXML = 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. @@ -40,6 +32,7 @@ TMPDIR ?= /tmp export CFLAGS = $(call PKGCFG,cflags) export CXXFLAGS = $(call PKGCFG,cxxflags) +STRIP ?= /bin/true ### The version number of VDR's plugin API: @@ -75,12 +68,6 @@ else LIBS += -lpugixml endif -ifdef SATIP_DEBUG -ifeq ($(SATIP_DEBUG),1) -DEFINES += -DDEBUG -endif -endif - ifneq ($(strip $(GITTAG)),) DEFINES += -DGITVERSION='"-GIT-$(GITTAG)"' endif @@ -142,9 +129,7 @@ install-i18n: $(I18Nmsgs) $(SOFILE): $(OBJS) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ -ifndef SATIP_DEBUG @$(STRIP) $@ -endif install-lib: $(SOFILE) install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)