Updated the Makefile of the skincurses plugin

This commit is contained in:
Klaus Schmidinger 2008-01-19 11:42:41 +01:00
parent f75b1f2e77
commit a51eb0895c
4 changed files with 14 additions and 7 deletions

View File

@ -1037,6 +1037,7 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
for implementing cDevice::CloseFilter() for implementing cDevice::CloseFilter()
for some fixes to PLUGINS.html for some fixes to PLUGINS.html
for fixing handling CONFDIR for fixing handling CONFDIR
for updating the Makefile of the skincurses plugin
Ralf Klueber <ralf.klueber@vodafone.com> Ralf Klueber <ralf.klueber@vodafone.com>
for reporting a bug in cutting a recording if there is only a single editing mark for reporting a bug in cutting a recording if there is only a single editing mark

View File

@ -5568,3 +5568,4 @@ Video Disk Recorder Revision History
- Fixed the Play function in the pictures plugin. - Fixed the Play function in the pictures plugin.
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Updated the Makefile of the skincurses plugin (thanks to Rolf Ahrenberg).

View File

@ -61,3 +61,7 @@ VDR Plugin 'skincurses' Revision History
2007-08-26: Version 0.1.4 2007-08-26: Version 0.1.4
- Adapted to the new Level parameter of cOsd. - Adapted to the new Level parameter of cOsd.
2008-01-19:
- Updated the Makefile of the skincurses plugin (thanks to Rolf Ahrenberg).

View File

@ -1,11 +1,13 @@
# #
# Makefile for a Video Disk Recorder plugin # Makefile for a Video Disk Recorder plugin
# #
# $Id: Makefile 1.14 2007/11/04 10:52:13 kls Exp $ # $Id: Makefile 1.15 2008/01/19 11:40:33 kls Exp $
# 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.
# IMPORTANT: the presence of this macro is important for the Make.config
# file. So it must be defined, even if it is not used here!
# #
PLUGIN = skincurses PLUGIN = skincurses
@ -16,7 +18,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
### The C++ compiler and options: ### The C++ compiler and options:
CXX ?= g++ CXX ?= g++
CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
### The directory environment: ### The directory environment:
@ -56,9 +58,9 @@ all: libvdr-$(PLUGIN).so i18n
%.o: %.c %.o: %.c
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
# Dependencies: ### Dependencies:
MAKEDEP = g++ -MM -MG MAKEDEP = $(CXX) -MM -MG
DEPFILE = .dependencies DEPFILE = .dependencies
$(DEPFILE): Makefile $(DEPFILE): Makefile
@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
@ -88,7 +90,7 @@ $(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
cp $< $@ cp $< $@
.PHONY: i18n .PHONY: i18n
i18n: $(I18Nmsgs) i18n: $(I18Nmsgs) $(I18Npot)
### Targets: ### Targets:
@ -105,5 +107,4 @@ dist: clean
@echo Distribution package created as $(PACKAGE).tgz @echo Distribution package created as $(PACKAGE).tgz
clean: clean:
@-rm -f $(PODIR)/*.mo $(PODIR)/*.pot @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~