1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 11:36:53 +00:00

Backported from 1.2.2.

This commit is contained in:
Rolf Ahrenberg
2007-10-14 04:20:00 +03:00
parent 64e56af6dc
commit b0b0fe4f02
9 changed files with 99 additions and 74 deletions

View File

@@ -20,7 +20,7 @@ PLUGIN = femon
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).h | awk '{ print $$6 }' | sed -e 's/[";]//g')
VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g')
### The C++ compiler and options:
@@ -67,6 +67,10 @@ all-redirect: all
OBJS = femon.o femonosd.o femonreceiver.o femoncfg.o femoni18n.o femontools.o
### The main target:
all: libvdr-$(PLUGIN).so
### Implicit rules:
%.o: %.c
@@ -83,8 +87,6 @@ $(DEPFILE): Makefile
### Targets:
all: libvdr-$(PLUGIN).so
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
ifndef FEMON_DEBUG