gmyth-upnp/src/Makefile.am
author morphbr
Mon Jun 04 12:30:07 2007 +0100 (2007-06-04)
branchtrunk
changeset 742 fe8ddffd7f5c
parent 696 7afeec40ed62
child 909 847da7267234
permissions -rw-r--r--
[svn r748] * GMyth-Streamer
- Mencoder multicast and unicast bug fix;
- Fixed bug when trying to just stream (not transcode)
a file that does not exist.
melunko@249
     1
SUBDIRS = .
melunko@249
     2
rosfran@252
     3
lib_LTLIBRARIES = libgmythupnp.la
melunko@249
     4
rosfran@699
     5
INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src @GLIB_CFLAGS@ @GOBJECT_CFLAGS@
rosfran@699
     6
rosfran@696
     7
BUILT_SOURCES =                                 \
rosfran@696
     8
        gmyth_upnp_marshal.c                    \
rosfran@696
     9
	gmyth_upnp_marshal.h
rosfran@696
    10
rosfran@252
    11
libgmythupnp_la_SOURCES = 			\
rosfran@699
    12
	gmyth_upnp.c				\
rosfran@699
    13
	$(BUILT_SOURCES)
rosfran@696
    14
rosfran@696
    15
EXTRA_libgmythupnp_la_SOURCES = gmyth_upnp_marshal.list
rosfran@696
    16
rosfran@696
    17
gmyth_upnp_marshal.h: gmyth_upnp_marshal.list
rosfran@696
    18
	glib-genmarshal --header --prefix=gmyth_upnp_marshal gmyth_upnp_marshal.list > gmyth_upnp_marshal.h.tmp
rosfran@696
    19
	mv gmyth_upnp_marshal.h.tmp gmyth_upnp_marshal.h
rosfran@696
    20
rosfran@696
    21
gmyth_upnp_marshal.c: gmyth_upnp_marshal.list gmyth_upnp_marshal.h
rosfran@696
    22
	echo "#include \"glib-object.h\"" > gmyth_upnp_marshal.c.tmp
rosfran@696
    23
	echo "#include \"gmyth_upnp_marshal.h\"" >> gmyth_upnp_marshal.c.tmp
rosfran@696
    24
	glib-genmarshal --body --prefix=gmyth_upnp_marshal $(srcdir)/gmyth_upnp_marshal.list >> gmyth_upnp_marshal.c.tmp
rosfran@696
    25
	mv gmyth_upnp_marshal.c.tmp gmyth_upnp_marshal.c
rosfran@696
    26
rosfran@252
    27
libgmythupnp_la_CFLAGS = 			\
rosfran@252
    28
	-DDATADIR=\"$(pkgdatadir)\" 	\
rosfran@252
    29
	$(LIBGMYTH_CFLAGS)			\
rosfran@252
    30
	$(CYBERLINK_CFLAGS)
melunko@249
    31
rosfran@252
    32
libgmythupnp_la_LDFLAGS = 			\
rosfran@252
    33
	-export-dynamic 		\
rosfran@252
    34
	$(LIBGMYTH_LIBS) 			\
rosfran@252
    35
	$(CYBERLINK_LIBS)
melunko@249
    36
rosfran@252
    37
libgmythupnp_includedir = 			\
melunko@249
    38
	$(pkgincludedir)
melunko@249
    39
rosfran@252
    40
libgmythupnp_include_HEADERS =    		\
rosfran@252
    41
	gmyth_upnp.h
melunko@249
    42
	
melunko@249
    43
CLEANFILES = $(BUILT_SOURCES)