summaryrefslogtreecommitdiff
path: root/PLUGINS/src/dvbsddevice
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-01-06 18:48:29 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-01-06 18:48:29 +0100
commit188fe74c8a1c917179baaf9d296c6d4eedf22c6f (patch)
tree61d769b7d8c6348490cea7ef536de9ca6a0b6dde /PLUGINS/src/dvbsddevice
parent36dfa5cb8f667c3f92d870977afcb6a1cfb91efe (diff)
downloadvdr-188fe74c8a1c917179baaf9d296c6d4eedf22c6f.tar.gz
vdr-188fe74c8a1c917179baaf9d296c6d4eedf22c6f.tar.bz2
Modified the Makefiles, by default VDR is now built according to the FHS
Diffstat (limited to 'PLUGINS/src/dvbsddevice')
-rw-r--r--PLUGINS/src/dvbsddevice/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/PLUGINS/src/dvbsddevice/Makefile b/PLUGINS/src/dvbsddevice/Makefile
index a18a57cc..ed727e41 100644
--- a/PLUGINS/src/dvbsddevice/Makefile
+++ b/PLUGINS/src/dvbsddevice/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 1.18 2012/12/29 10:28:45 kls Exp $
+# $Id: Makefile 1.19 2013/01/06 10:19:53 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -17,7 +17,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
# Use package data if installed...otherwise assume we're under the VDR source directory:
PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
-LIBDIR = $(DESTDIR)$(call PKGCFG,libdir)
+LIBDIR = $(call PKGCFG,libdir)
PLGCFG = $(call PKGCFG,plgcfg)
#
TMPDIR ?= /tmp
@@ -68,7 +68,7 @@ all: $(SOFILE)
MAKEDEP = $(CXX) -MM -MG
DEPFILE = .dependencies
$(DEPFILE): Makefile
- @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
+ @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
-include $(DEPFILE)
@@ -78,7 +78,7 @@ $(SOFILE): $(OBJS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
install-lib: $(SOFILE)
- install -D $^ $(LIBDIR)/$^.$(APIVERSION)
+ install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
install: install-lib