From a51eb0895c70b4a6b609876e60503b742793dc20 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 19 Jan 2008 11:42:41 +0100 Subject: Updated the Makefile of the skincurses plugin --- PLUGINS/src/skincurses/HISTORY | 4 ++++ PLUGINS/src/skincurses/Makefile | 15 ++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'PLUGINS/src/skincurses') diff --git a/PLUGINS/src/skincurses/HISTORY b/PLUGINS/src/skincurses/HISTORY index 34efba9c..e5bfa49d 100644 --- a/PLUGINS/src/skincurses/HISTORY +++ b/PLUGINS/src/skincurses/HISTORY @@ -61,3 +61,7 @@ VDR Plugin 'skincurses' Revision History 2007-08-26: Version 0.1.4 - Adapted to the new Level parameter of cOsd. + +2008-01-19: + +- Updated the Makefile of the skincurses plugin (thanks to Rolf Ahrenberg). diff --git a/PLUGINS/src/skincurses/Makefile b/PLUGINS/src/skincurses/Makefile index 17f8540c..4dc4e28a 100644 --- a/PLUGINS/src/skincurses/Makefile +++ b/PLUGINS/src/skincurses/Makefile @@ -1,11 +1,13 @@ # # 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. # 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. +# 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 @@ -16,7 +18,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses ### The directory environment: @@ -56,9 +58,9 @@ all: libvdr-$(PLUGIN).so i18n %.o: %.c $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< -# Dependencies: +### Dependencies: -MAKEDEP = g++ -MM -MG +MAKEDEP = $(CXX) -MM -MG DEPFILE = .dependencies $(DEPFILE): Makefile @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ @@ -88,7 +90,7 @@ $(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo cp $< $@ .PHONY: i18n -i18n: $(I18Nmsgs) +i18n: $(I18Nmsgs) $(I18Npot) ### Targets: @@ -105,5 +107,4 @@ dist: clean @echo Distribution package created as $(PACKAGE).tgz clean: - @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot - @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot -- cgit v1.2.3