mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 13:36:53 +02:00
Added STRIP option for Makefile (Thanks to Ville Skyttä).
Modified APIVERSION code in Makefile.
This commit is contained in:
parent
caf42f7ace
commit
bf85e32d0d
5
HISTORY
5
HISTORY
@ -217,3 +217,8 @@ VDR Plugin 'femon' Revision History
|
|||||||
2006-04-20: Version 0.9.9
|
2006-04-20: Version 0.9.9
|
||||||
|
|
||||||
- Updated for vdr-1.3.47.
|
- Updated for vdr-1.3.47.
|
||||||
|
|
||||||
|
2006-04-23: Version 0.9.10
|
||||||
|
|
||||||
|
- Added STRIP option for Makefile (Thanks to Ville Skyttä).
|
||||||
|
- Modified APIVERSION code in Makefile.
|
||||||
|
7
Makefile
7
Makefile
@ -9,6 +9,9 @@
|
|||||||
# NTSC on/off
|
# NTSC on/off
|
||||||
#FEMON_NTSC = 1
|
#FEMON_NTSC = 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.
|
||||||
@ -36,7 +39,7 @@ TMPDIR = /tmp
|
|||||||
|
|
||||||
### The version number of VDR's plugin API (taken from VDR's "config.h"):
|
### The version number of VDR's plugin API (taken from VDR's "config.h"):
|
||||||
|
|
||||||
APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
|
APIVERSION = $(shell sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' $(VDRDIR)/config.h)
|
||||||
|
|
||||||
### The name of the distribution archive:
|
### The name of the distribution archive:
|
||||||
|
|
||||||
@ -85,7 +88,7 @@ all: libvdr-$(PLUGIN).so
|
|||||||
libvdr-$(PLUGIN).so: $(OBJS)
|
libvdr-$(PLUGIN).so: $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
||||||
ifndef FEMON_DEBUG
|
ifndef FEMON_DEBUG
|
||||||
@strip $@
|
@$(STRIP) $@
|
||||||
endif
|
endif
|
||||||
@cp $@ $(LIBDIR)/$@.$(APIVERSION)
|
@cp $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
|
||||||
|
2
femon.h
2
femon.h
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
|
|
||||||
static const char VERSION[] = "0.9.9";
|
static const char VERSION[] = "0.9.10";
|
||||||
static const char DESCRIPTION[] = "DVB Signal Information Monitor (OSD)";
|
static const char DESCRIPTION[] = "DVB Signal Information Monitor (OSD)";
|
||||||
static const char MAINMENUENTRY[] = "Signal Information";
|
static const char MAINMENUENTRY[] = "Signal Information";
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ TMPDIR = /tmp
|
|||||||
|
|
||||||
### The version number of VDR's plugin API (taken from VDR's "config.h"):
|
### The version number of VDR's plugin API (taken from VDR's "config.h"):
|
||||||
|
|
||||||
APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
|
APIVERSION = $(shell sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' $(VDRDIR)/config.h)
|
||||||
|
|
||||||
### The name of the distribution archive:
|
### The name of the distribution archive:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user