gmyth-upnp/src/Makefile.am
author renatofilho
Mon Nov 19 17:57:40 2007 +0000 (2007-11-19)
branchtrunk
changeset 881 c5a9d9583e64
parent 696 7afeec40ed62
child 909 847da7267234
permissions -rw-r--r--
[svn r887] fixed disconnect signal
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)