diff options
| author | zwer <zwer@1f4bef6d-8e0a-0410-8695-e467da8aaccf> | 2007-09-28 14:20:03 +0000 |
|---|---|---|
| committer | zwer <zwer@1f4bef6d-8e0a-0410-8695-e467da8aaccf> | 2007-09-28 14:20:03 +0000 |
| commit | 7205f4b14f1b472625aeede98505e063c793e633 (patch) | |
| tree | 92b516ab4f8cf569796751f9d60fde654c22dcc1 /Makefile | |
| parent | 9094d49876ad905193d92b8b6e6b73bbc8794ab1 (diff) | |
| download | vdr-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-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 |
