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.
     1 SUBDIRS = .
     2 
     3 lib_LTLIBRARIES = libgmythupnp.la
     4 
     5 BUILT_SOURCES =                                 \
     6         gmyth_upnp_marshal.c                    \
     7 	gmyth_upnp_marshal.h
     8 
     9 libgmythupnp_la_SOURCES = 			\
    10 	gmyth_upnp.c
    11 
    12 EXTRA_libgmythupnp_la_SOURCES = gmyth_upnp_marshal.list
    13 
    14 gmyth_upnp_marshal.h: gmyth_upnp_marshal.list
    15 	glib-genmarshal --header --prefix=gmyth_upnp_marshal gmyth_upnp_marshal.list > gmyth_upnp_marshal.h.tmp
    16 	mv gmyth_upnp_marshal.h.tmp gmyth_upnp_marshal.h
    17 
    18 gmyth_upnp_marshal.c: gmyth_upnp_marshal.list gmyth_upnp_marshal.h
    19 	echo "#include \"glib-object.h\"" > gmyth_upnp_marshal.c.tmp
    20 	echo "#include \"gmyth_upnp_marshal.h\"" >> gmyth_upnp_marshal.c.tmp
    21 	glib-genmarshal --body --prefix=gmyth_upnp_marshal $(srcdir)/gmyth_upnp_marshal.list >> gmyth_upnp_marshal.c.tmp
    22 	mv gmyth_upnp_marshal.c.tmp gmyth_upnp_marshal.c
    23 
    24 libgmythupnp_la_CFLAGS = 			\
    25 	-DDATADIR=\"$(pkgdatadir)\" 	\
    26 	$(LIBGMYTH_CFLAGS)			\
    27 	$(CYBERLINK_CFLAGS)
    28 
    29 libgmythupnp_la_LDFLAGS = 			\
    30 	-export-dynamic 		\
    31 	$(LIBGMYTH_LIBS) 			\
    32 	$(CYBERLINK_LIBS)
    33 
    34 libgmythupnp_includedir = 			\
    35 	$(pkgincludedir)
    36 
    37 libgmythupnp_include_HEADERS =    		\
    38 	gmyth_upnp.h
    39 	
    40 CLEANFILES = $(BUILT_SOURCES)