gmyth-upnp/src/Makefile.am
author rosfran
Wed May 23 16:29:42 2007 +0100 (2007-05-23)
branchtrunk
changeset 699 3710052a05c9
parent 696 7afeec40ed62
child 909 847da7267234
permissions -rw-r--r--
[svn r705] Solved bug with GObject incompatibility.
     1 SUBDIRS = .
     2 
     3 lib_LTLIBRARIES = libgmythupnp.la
     4 
     5 INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src @GLIB_CFLAGS@ @GOBJECT_CFLAGS@
     6 
     7 BUILT_SOURCES =                                 \
     8         gmyth_upnp_marshal.c                    \
     9 	gmyth_upnp_marshal.h
    10 
    11 libgmythupnp_la_SOURCES = 			\
    12 	gmyth_upnp.c				\
    13 	$(BUILT_SOURCES)
    14 
    15 EXTRA_libgmythupnp_la_SOURCES = gmyth_upnp_marshal.list
    16 
    17 gmyth_upnp_marshal.h: gmyth_upnp_marshal.list
    18 	glib-genmarshal --header --prefix=gmyth_upnp_marshal gmyth_upnp_marshal.list > gmyth_upnp_marshal.h.tmp
    19 	mv gmyth_upnp_marshal.h.tmp gmyth_upnp_marshal.h
    20 
    21 gmyth_upnp_marshal.c: gmyth_upnp_marshal.list gmyth_upnp_marshal.h
    22 	echo "#include \"glib-object.h\"" > gmyth_upnp_marshal.c.tmp
    23 	echo "#include \"gmyth_upnp_marshal.h\"" >> gmyth_upnp_marshal.c.tmp
    24 	glib-genmarshal --body --prefix=gmyth_upnp_marshal $(srcdir)/gmyth_upnp_marshal.list >> gmyth_upnp_marshal.c.tmp
    25 	mv gmyth_upnp_marshal.c.tmp gmyth_upnp_marshal.c
    26 
    27 libgmythupnp_la_CFLAGS = 			\
    28 	-DDATADIR=\"$(pkgdatadir)\" 	\
    29 	$(LIBGMYTH_CFLAGS)			\
    30 	$(CYBERLINK_CFLAGS)
    31 
    32 libgmythupnp_la_LDFLAGS = 			\
    33 	-export-dynamic 		\
    34 	$(LIBGMYTH_LIBS) 			\
    35 	$(CYBERLINK_LIBS)
    36 
    37 libgmythupnp_includedir = 			\
    38 	$(pkgincludedir)
    39 
    40 libgmythupnp_include_HEADERS =    		\
    41 	gmyth_upnp.h
    42 	
    43 CLEANFILES = $(BUILT_SOURCES)