pupnp (libupnp) snapshot from SourceForge: git clone git://pupnp.git.sourceforge...
[igd2-for-linux:pandonghui1211s-igd2-for-linux.git] / pupnp_branch-1.6.x / upnp / sample / Makefile.am
1 #
2 # "Makefile.am" for "libupnp/upnp/sample"
3 #
4 # Copyright (C) 2007 Marcelo Roberto Jimenez <mroberto@users.sourceforge.net>
5 #
6
7 AM_CPPFLAGS = \
8         -I$(top_srcdir)/upnp/inc \
9         -I$(top_srcdir)/threadutil/inc \
10         -I$(top_srcdir)/ixml/inc
11
12 LDADD = \
13         $(top_builddir)/upnp/libupnp.la \
14         $(top_builddir)/threadutil/libthreadutil.la \
15         $(top_builddir)/ixml/libixml.la
16
17
18 # samples
19 noinst_PROGRAMS =
20 if ENABLE_SAMPLES
21 if ENABLE_CLIENT
22 noinst_PROGRAMS += upnp_tv_ctrlpt
23 upnp_tv_ctrlpt_CPPFLAGS = \
24         $(AM_CPPFLAGS) \
25         -I$(srcdir)/common/ \
26         -I$(srcdir)/tvctrlpt
27 if ENABLE_DEVICE
28 noinst_PROGRAMS += upnp_tv_combo
29 upnp_tv_combo_CPPFLAGS = $(AM_CPPFLAGS) \
30         -I$(srcdir)/common/ \
31         -I$(srcdir)/tvcombo
32 endif
33 endif
34 if ENABLE_DEVICE
35 noinst_PROGRAMS += upnp_tv_device
36 upnp_tv_device_CPPFLAGS = \
37         $(AM_CPPFLAGS) \
38         -I$(srcdir)/common/ \
39         -I$(srcdir)/tvdevice
40 endif
41 endif
42
43
44 upnp_tv_device_SOURCES = \
45         common/sample_util.c \
46         common/sample_util.h \
47         tvdevice/upnp_tv_device.c \
48         tvdevice/upnp_tv_device.h \
49         tvdevice/linux/upnp_tv_device_main.c
50
51
52 upnp_tv_ctrlpt_SOURCES = \
53         common/sample_util.c \
54         common/sample_util.h \
55         tvctrlpt/upnp_tv_ctrlpt.c \
56         tvctrlpt/upnp_tv_ctrlpt.h \
57         tvctrlpt/linux/upnp_tv_ctrlpt_main.c
58
59 upnp_tv_combo_SOURCES = \
60         common/sample_util.c \
61         common/sample_util.h \
62         tvcombo/upnp_tv_ctrlpt.c \
63         tvcombo/upnp_tv_ctrlpt.h \
64         tvcombo/upnp_tv_device.c \
65         tvcombo/upnp_tv_device.h \
66         tvcombo/linux/upnp_tv_combo_main.c
67
68
69 if WITH_DOCUMENTATION
70 examplesdir = $(docdir)/examples
71 examples_DATA = \
72                 $(upnp_tv_ctrlpt_SOURCES) \
73                 $(upnp_tv_device_SOURCES)
74 endif
75
76
77 EXTRA_DIST = \
78         web/tvcombodesc.xml \
79         web/tvcontrolSCPD.xml \
80         web/tvdevicedesc.xml \
81         web/tvdevicepres.html \
82         web/tvpictureSCPD.xml
83