mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 17:16:51 +00:00
Snapshot 2010-09-15
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Makefile for a Video Disk Recorder plugin
|
||||
#
|
||||
# $Id: Makefile,v 1.22 2010/07/19 13:49:24 schmirl Exp $
|
||||
# $Id: Makefile,v 1.23 2010/08/02 10:36:59 schmirl Exp $
|
||||
|
||||
# The main source file name.
|
||||
#
|
||||
@@ -35,7 +35,8 @@ TSPLAYVERSNUM = $(shell grep 'define TSPLAY_PATCH_VERSION ' $(VDRDIR)/device.h |
|
||||
|
||||
ifeq ($(shell test $(APIVERSNUM) -ge 10713; echo $$?),0)
|
||||
include $(VDRDIR)/Make.global
|
||||
else ifeq ($(shell test $(APIVERSNUM) -ge 10704 -o -n "$(TSPLAYVERSNUM)" ; echo $$?),0)
|
||||
else
|
||||
ifeq ($(shell test $(APIVERSNUM) -ge 10704 -o -n "$(TSPLAYVERSNUM)" ; echo $$?),0)
|
||||
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
|
||||
CFLAGS += -fPIC
|
||||
CXXFLAGS += -fPIC
|
||||
@@ -43,13 +44,14 @@ else
|
||||
CFLAGS += -fPIC
|
||||
CXXFLAGS += -fPIC
|
||||
endif
|
||||
endif
|
||||
|
||||
-include $(VDRDIR)/Make.config
|
||||
|
||||
### export all vars for sub-makes, using absolute paths
|
||||
|
||||
VDRDIR := $(abspath $(VDRDIR))
|
||||
LIBDIR := $(abspath $(LIBDIR))
|
||||
VDRDIR := $(shell cd $(VDRDIR) >/dev/null 2>&1 && pwd)
|
||||
LIBDIR := $(shell cd $(LIBDIR) >/dev/null 2>&1 && pwd)
|
||||
export
|
||||
unexport PLUGIN
|
||||
|
||||
|
Reference in New Issue
Block a user