diff options
author | methodus <methodus@web.de> | 2012-10-03 22:34:14 +0200 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-10-03 22:34:14 +0200 |
commit | d3be5479f0a3eee76ab8b98b1c6488b3cf5e50a5 (patch) | |
tree | d9b424029362ced5c48bf39e4670688f68c3c89b /plugins/provider/vdrProvider/Makefile | |
parent | 8bfbe9ae40adccea37598b067340330521a9a5f8 (diff) | |
download | vdr-plugin-upnp-d3be5479f0a3eee76ab8b98b1c6488b3cf5e50a5.tar.gz vdr-plugin-upnp-d3be5479f0a3eee76ab8b98b1c6488b3cf5e50a5.tar.bz2 |
Splitted tools.h into several tool headers to avoid clashed for example when only requiring string tools but not ixml tools.
Diffstat (limited to 'plugins/provider/vdrProvider/Makefile')
-rw-r--r-- | plugins/provider/vdrProvider/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/provider/vdrProvider/Makefile b/plugins/provider/vdrProvider/Makefile index dfbf54f..1220a55 100644 --- a/plugins/provider/vdrProvider/Makefile +++ b/plugins/provider/vdrProvider/Makefile @@ -21,6 +21,8 @@ CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC UPNPDIR ?= ../../.. +APIVERSION = $(shell sed -ne '/define UPNPPLUGIN_VERSION/s/^.*"\(.*\)".*$$/\1/p' $(UPNPDIR)/include/plugin.h) + INCLUDES += -I$(UPNPDIR)/include DEFINES += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE @@ -45,3 +47,7 @@ $(DEPFILE): Makefile libupnp-$(SCHEMA)-provider.so: $(OBJS) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ + @cp --remove-destination $@ $@.$(APIVERSION) + +clean: + @-rm -f $(OBJS) $(DEPFILE) *.so *.so.$(APIVERSION) core* *~ |