mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 13:36:53 +02:00
Got rid of FEMON_DEBUG.
This commit is contained in:
parent
2bcf1bbadc
commit
6735c6807c
15
Makefile
15
Makefile
@ -2,14 +2,6 @@
|
|||||||
# Makefile for Frontend Status Monitor plugin
|
# 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.
|
# 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.
|
||||||
@ -35,6 +27,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:
|
||||||
|
|
||||||
@ -59,10 +52,6 @@ INCLUDES +=
|
|||||||
|
|
||||||
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
||||||
|
|
||||||
ifdef FEMON_DEBUG
|
|
||||||
DEFINES += -DDEBUG
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(strip $(GITTAG)),)
|
ifneq ($(strip $(GITTAG)),)
|
||||||
DEFINES += -DGITVERSION='"-GIT-$(GITTAG)"'
|
DEFINES += -DGITVERSION='"-GIT-$(GITTAG)"'
|
||||||
endif
|
endif
|
||||||
@ -122,9 +111,7 @@ install-i18n: $(I18Nmsgs)
|
|||||||
|
|
||||||
$(SOFILE): $(OBJS)
|
$(SOFILE): $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
|
||||||
ifndef FEMON_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