diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 1 insertions, 23 deletions
@@ -15,17 +15,7 @@ PLUGIN = upnp VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).h | awk '{ print $$6 }' | sed -e 's/[";]//g') -### The C++ compiler and options: - -CXX ?= g++ -ECPPC ?= ecppc -CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses - -### The directory environment: - -VDRDIR ?= ../../.. -LIBDIR ?= ../../lib -TMPDIR ?= /tmp +include common.mk PLUGINDIR= ./PLUGINS PLUGINLIBDIR= /usr/lib/vdr/plugins/upnp @@ -38,10 +28,6 @@ include $(VDRDIR)/Make.global -include $(VDRDIR)/Make.config -### The version number of VDR's plugin API (taken from VDR's "config.h"): - -APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) - ### The name of the distribution archive: ARCHIVE = $(PLUGIN)-$(VERSION) @@ -84,14 +70,6 @@ LIBS += -lupnp -lcxxtools -ltntnet -ltntdb -ldl all: libvdr-$(PLUGIN).so i18n -### Implicit rules: - -%.o: %.cpp - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< - -%.cpp: %.ecpp - $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_CPP) $< - ### Dependencies: MAKEDEP = $(CXX) -MM -MG |