summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorzwer <zwer@1f4bef6d-8e0a-0410-8695-e467da8aaccf>2007-09-28 14:20:03 +0000
committerzwer <zwer@1f4bef6d-8e0a-0410-8695-e467da8aaccf>2007-09-28 14:20:03 +0000
commit7205f4b14f1b472625aeede98505e063c793e633 (patch)
tree92b516ab4f8cf569796751f9d60fde654c22dcc1 /Makefile
parent9094d49876ad905193d92b8b6e6b73bbc8794ab1 (diff)
downloadvdr-plugin-ffnetdev-7205f4b14f1b472625aeede98505e063c793e633.tar.gz
vdr-plugin-ffnetdev-7205f4b14f1b472625aeede98505e063c793e633.tar.bz2
- added compiling switch 'FFNETDEV_DEBUG'
git-svn-id: svn://svn.berlios.de/ffnetdev/trunk@33 1f4bef6d-8e0a-0410-8695-e467da8aaccf
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 939c15a..ff871d0 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,10 @@
# By default the main source file also carries this name.
#
PLUGIN = ffnetdev
-DEBUG = 1
+
+# Debugging on/off
+FFNETDEV_DEBUG = 1
+
### The version number of this plugin (taken from the main source file):
@@ -44,20 +47,25 @@ INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -I.
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+
### The object files (add further files here):
COMMONOBJS = i18n.o \
\
tools/source.o tools/select.o tools/socket.o tools/tools.o
-
+
SERVEROBJS = $(PLUGIN).o \
\
ffnetdev.o ffnetdevsetup.o osdworker.o tsworker.o clientcontrol.o netosd.o streamdevice.o \
pes2ts.o remote.o vncEncodeRRE.o vncEncodeCoRRE.o vncEncodeHexT.o \
vncEncoder.o translate.o \
-
+
ifdef DEBUG
+ FFNETDEV_DEBUG = 1
+endif
+
+ifdef FFNETDEV_DEBUG
DEFINES += -DDEBUG
CXXFLAGS += -g
else