gmyth-upnp/src/Makefile.am
author renatofilho
Fri Feb 01 22:17:33 2008 +0000 (2008-02-01)
branchtrunk
changeset 909 847da7267234
parent 699 3710052a05c9
permissions -rw-r--r--
[svn r915] updated to use libupnp
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)			\
renatofilho@909
    30
	$(LIBUPNP_CFLAGS)
melunko@249
    31
rosfran@252
    32
libgmythupnp_la_LDFLAGS = 			\
rosfran@252
    33
	-export-dynamic 		\
rosfran@252
    34
	$(LIBGMYTH_LIBS) 			\
renatofilho@909
    35
	$(LIBUPNP_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)