gmyth-upnp/src/Makefile.am
author rosfran
Tue May 22 19:14:37 2007 +0100 (2007-05-22)
branchtrunk
changeset 696 7afeec40ed62
parent 252 0bddbe7eba51
child 699 3710052a05c9
permissions -rw-r--r--
[svn r702] Changed the architecture to support GObject signals in the clinkc's UPnP model.
melunko@249
     1
SUBDIRS = .
melunko@249
     2
rosfran@252
     3
lib_LTLIBRARIES = libgmythupnp.la
melunko@249
     4
rosfran@696
     5
BUILT_SOURCES =                                 \
rosfran@696
     6
        gmyth_upnp_marshal.c                    \
rosfran@696
     7
	gmyth_upnp_marshal.h
rosfran@696
     8
rosfran@252
     9
libgmythupnp_la_SOURCES = 			\
rosfran@252
    10
	gmyth_upnp.c
rosfran@696
    11
rosfran@696
    12
EXTRA_libgmythupnp_la_SOURCES = gmyth_upnp_marshal.list
rosfran@696
    13
rosfran@696
    14
gmyth_upnp_marshal.h: gmyth_upnp_marshal.list
rosfran@696
    15
	glib-genmarshal --header --prefix=gmyth_upnp_marshal gmyth_upnp_marshal.list > gmyth_upnp_marshal.h.tmp
rosfran@696
    16
	mv gmyth_upnp_marshal.h.tmp gmyth_upnp_marshal.h
rosfran@696
    17
rosfran@696
    18
gmyth_upnp_marshal.c: gmyth_upnp_marshal.list gmyth_upnp_marshal.h
rosfran@696
    19
	echo "#include \"glib-object.h\"" > gmyth_upnp_marshal.c.tmp
rosfran@696
    20
	echo "#include \"gmyth_upnp_marshal.h\"" >> gmyth_upnp_marshal.c.tmp
rosfran@696
    21
	glib-genmarshal --body --prefix=gmyth_upnp_marshal $(srcdir)/gmyth_upnp_marshal.list >> gmyth_upnp_marshal.c.tmp
rosfran@696
    22
	mv gmyth_upnp_marshal.c.tmp gmyth_upnp_marshal.c
rosfran@696
    23
rosfran@252
    24
libgmythupnp_la_CFLAGS = 			\
rosfran@252
    25
	-DDATADIR=\"$(pkgdatadir)\" 	\
rosfran@252
    26
	$(LIBGMYTH_CFLAGS)			\
rosfran@252
    27
	$(CYBERLINK_CFLAGS)
melunko@249
    28
rosfran@252
    29
libgmythupnp_la_LDFLAGS = 			\
rosfran@252
    30
	-export-dynamic 		\
rosfran@252
    31
	$(LIBGMYTH_LIBS) 			\
rosfran@252
    32
	$(CYBERLINK_LIBS)
melunko@249
    33
rosfran@252
    34
libgmythupnp_includedir = 			\
melunko@249
    35
	$(pkgincludedir)
melunko@249
    36
rosfran@252
    37
libgmythupnp_include_HEADERS =    		\
rosfran@252
    38
	gmyth_upnp.h
melunko@249
    39
	
melunko@249
    40
CLEANFILES = $(BUILT_SOURCES)