mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Got rid of SATIP_DEBUG.
This commit is contained in:
parent
ad5c221e44
commit
68e0d1474e
17
Makefile
17
Makefile
@ -2,18 +2,10 @@
|
|||||||
# Makefile for SAT>IP plugin
|
# Makefile for SAT>IP plugin
|
||||||
#
|
#
|
||||||
|
|
||||||
# Debugging on/off
|
|
||||||
|
|
||||||
#SATIP_DEBUG = 1
|
|
||||||
|
|
||||||
# Use TinyXML instead of PugiXML
|
# Use TinyXML instead of PugiXML
|
||||||
|
|
||||||
#SATIP_USE_TINYXML = 1
|
#SATIP_USE_TINYXML = 1
|
||||||
|
|
||||||
# Strip debug symbols? Set eg. to /bin/true if not
|
|
||||||
|
|
||||||
STRIP = strip
|
|
||||||
|
|
||||||
# The official name of this plugin.
|
# The official name of this plugin.
|
||||||
# This name will be used in the '-P...' option of VDR to load the 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.
|
# By default the main source file also carries this name.
|
||||||
@ -40,6 +32,7 @@ TMPDIR ?= /tmp
|
|||||||
|
|
||||||
export CFLAGS = $(call PKGCFG,cflags)
|
export CFLAGS = $(call PKGCFG,cflags)
|
||||||
export CXXFLAGS = $(call PKGCFG,cxxflags)
|
export CXXFLAGS = $(call PKGCFG,cxxflags)
|
||||||
|
STRIP ?= /bin/true
|
||||||
|
|
||||||
### The version number of VDR's plugin API:
|
### The version number of VDR's plugin API:
|
||||||
|
|
||||||
@ -75,12 +68,6 @@ else
|
|||||||
LIBS += -lpugixml
|
LIBS += -lpugixml
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef SATIP_DEBUG
|
|
||||||
ifeq ($(SATIP_DEBUG),1)
|
|
||||||
DEFINES += -DDEBUG
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(strip $(GITTAG)),)
|
ifneq ($(strip $(GITTAG)),)
|
||||||
DEFINES += -DGITVERSION='"-GIT-$(GITTAG)"'
|
DEFINES += -DGITVERSION='"-GIT-$(GITTAG)"'
|
||||||
endif
|
endif
|
||||||
@ -142,9 +129,7 @@ install-i18n: $(I18Nmsgs)
|
|||||||
|
|
||||||
$(SOFILE): $(OBJS)
|
$(SOFILE): $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@
|
||||||
ifndef SATIP_DEBUG
|
|
||||||
@$(STRIP) $@
|
@$(STRIP) $@
|
||||||
endif
|
|
||||||
|
|
||||||
install-lib: $(SOFILE)
|
install-lib: $(SOFILE)
|
||||||
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
|
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user