mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed the 'newplugin' script for use with the NEWSTRUCT driver
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# See the main source file 'vdr.c' for copyright information and
|
||||
# how to reach the author.
|
||||
#
|
||||
# $Id: newplugin 1.7 2002/08/28 19:26:27 kls Exp $
|
||||
# $Id: newplugin 1.8 2002/09/21 09:09:00 kls Exp $
|
||||
|
||||
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
|
||||
|
||||
@@ -70,7 +70,12 @@ VERSION = \$(shell grep 'static const char \\*VERSION *=' \$(PLUGIN).c | awk '{
|
||||
|
||||
### The directory environment:
|
||||
|
||||
ifdef NEWSTRUCT
|
||||
DVBDIR = ../../../../DVB/include
|
||||
DEFINES += -DNEWSTRUCT
|
||||
else
|
||||
DVBDIR = ../../../../DVB/ost/include
|
||||
endif
|
||||
VDRDIR = ../../..
|
||||
VDRINC = \$(VDRDIR)/include
|
||||
LIBDIR = ../../lib
|
||||
@@ -89,7 +94,7 @@ PACKAGE = vdr-\$(ARCHIVE)
|
||||
|
||||
INCLUDES = -I\$(VDRINC) -I\$(DVBDIR)
|
||||
|
||||
DEFINES = -DPLUGIN_NAME_I18N='"\$(PLUGIN)"'
|
||||
DEFINES += -DPLUGIN_NAME_I18N='"\$(PLUGIN)"'
|
||||
|
||||
### The object files (add further files here):
|
||||
|
||||
|
Reference in New Issue
Block a user