Remove "upnp_" prefix from samples.

This commit is contained in:
Marcelo Roberto Jimenez 2010-11-17 23:30:29 -02:00
parent 75695fcaf1
commit 2765bc39c5
13 changed files with 33 additions and 36 deletions

6
.gitignore vendored
View File

@ -98,8 +98,8 @@ m4/lt~obsolete.m4
stamp-h1 stamp-h1
upnp/inc/stamp-h2 upnp/inc/stamp-h2
upnp/inc/upnpconfig.h upnp/inc/upnpconfig.h
upnp/sample/upnp_tv_combo upnp/sample/tv_combo
upnp/sample/upnp_tv_ctrlpt upnp/sample/tv_ctrlpt
upnp/sample/upnp_tv_device upnp/sample/tv_device
docs/doxygen docs/doxygen

View File

@ -19,21 +19,21 @@ LDADD = \
noinst_PROGRAMS = noinst_PROGRAMS =
if ENABLE_SAMPLES if ENABLE_SAMPLES
if ENABLE_CLIENT if ENABLE_CLIENT
noinst_PROGRAMS += upnp_tv_ctrlpt noinst_PROGRAMS += tv_ctrlpt
upnp_tv_ctrlpt_CPPFLAGS = \ tv_ctrlpt_CPPFLAGS = \
$(AM_CPPFLAGS) \ $(AM_CPPFLAGS) \
-I$(srcdir)/common/ \ -I$(srcdir)/common/ \
-I$(srcdir)/tvctrlpt -I$(srcdir)/tvctrlpt
if ENABLE_DEVICE if ENABLE_DEVICE
noinst_PROGRAMS += upnp_tv_combo noinst_PROGRAMS += tv_combo
upnp_tv_combo_CPPFLAGS = $(AM_CPPFLAGS) \ tv_combo_CPPFLAGS = $(AM_CPPFLAGS) \
-I$(srcdir)/common/ \ -I$(srcdir)/common/ \
-I$(srcdir)/tvcombo -I$(srcdir)/tvcombo
endif endif
endif endif
if ENABLE_DEVICE if ENABLE_DEVICE
noinst_PROGRAMS += upnp_tv_device noinst_PROGRAMS += tv_device
upnp_tv_device_CPPFLAGS = \ tv_device_CPPFLAGS = \
$(AM_CPPFLAGS) \ $(AM_CPPFLAGS) \
-I$(srcdir)/common/ \ -I$(srcdir)/common/ \
-I$(srcdir)/tvdevice -I$(srcdir)/tvdevice
@ -41,37 +41,37 @@ endif
endif endif
upnp_tv_device_SOURCES = \ tv_device_SOURCES = \
common/sample_util.c \ common/sample_util.c \
common/sample_util.h \ common/sample_util.h \
tvdevice/upnp_tv_device.c \ tvdevice/tv_device.c \
tvdevice/upnp_tv_device.h \ tvdevice/tv_device.h \
tvdevice/linux/upnp_tv_device_main.c tvdevice/linux/tv_device_main.c
upnp_tv_ctrlpt_SOURCES = \ tv_ctrlpt_SOURCES = \
common/sample_util.c \ common/sample_util.c \
common/sample_util.h \ common/sample_util.h \
tvctrlpt/upnp_tv_ctrlpt.c \ tvctrlpt/tv_ctrlpt.c \
tvctrlpt/upnp_tv_ctrlpt.h \ tvctrlpt/tv_ctrlpt.h \
tvctrlpt/linux/upnp_tv_ctrlpt_main.c tvctrlpt/linux/tv_ctrlpt_main.c
upnp_tv_combo_SOURCES = \ tv_combo_SOURCES = \
common/sample_util.c \ common/sample_util.c \
common/sample_util.h \ common/sample_util.h \
tvcombo/upnp_tv_ctrlpt.c \ tvcombo/tv_ctrlpt.c \
tvcombo/upnp_tv_ctrlpt.h \ tvcombo/tv_ctrlpt.h \
tvcombo/upnp_tv_device.c \ tvcombo/tv_device.c \
tvcombo/upnp_tv_device.h \ tvcombo/tv_device.h \
tvcombo/linux/upnp_tv_combo_main.c tvcombo/linux/tv_combo_main.c
if WITH_DOCUMENTATION if WITH_DOCUMENTATION
examplesdir = $(docdir)/examples examplesdir = $(docdir)/examples
examples_DATA = \ examples_DATA = \
$(sort \ $(sort \
$(upnp_tv_ctrlpt_SOURCES) \ $(tv_ctrlpt_SOURCES) \
$(upnp_tv_device_SOURCES)) $(tv_device_SOURCES))
endif endif

View File

@ -30,8 +30,8 @@
******************************************************************************/ ******************************************************************************/
#include "sample_util.h" #include "sample_util.h"
#include "upnp_tv_ctrlpt.h" #include "tv_ctrlpt.h"
#include "upnp_tv_device.h" #include "tv_device.h"
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>

View File

@ -30,7 +30,7 @@
******************************************************************************/ ******************************************************************************/
#include "upnp_tv_ctrlpt.h" #include "tv_ctrlpt.h"
#include "upnp.h" #include "upnp.h"

View File

@ -29,7 +29,7 @@
* *
******************************************************************************/ ******************************************************************************/
#include "upnp_tv_device.h" #include "tv_device.h"
#include <assert.h> #include <assert.h>

View File

@ -30,7 +30,7 @@
******************************************************************************/ ******************************************************************************/
#include "sample_util.h" #include "sample_util.h"
#include "upnp_tv_ctrlpt.h" #include "tv_ctrlpt.h"
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>

View File

@ -29,13 +29,10 @@
* *
******************************************************************************/ ******************************************************************************/
#include "tv_ctrlpt.h"
#include "upnp_tv_ctrlpt.h"
#include "upnp.h" #include "upnp.h"
/*! /*!
Mutex for protecting the global device list Mutex for protecting the global device list
in a multi-threaded, asynchronous environment. in a multi-threaded, asynchronous environment.

View File

@ -31,7 +31,7 @@
#include "sample_util.h" #include "sample_util.h"
#include "upnp_tv_device.h" #include "tv_device.h"
#include <stdarg.h> #include <stdarg.h>

View File

@ -29,7 +29,7 @@
* *
******************************************************************************/ ******************************************************************************/
#include "upnp_tv_device.h" #include "tv_device.h"
#include <assert.h> #include <assert.h>