gmyth-upnp/src/Makefile.am
branchtrunk
changeset 249 dcf6bffe29a1
child 252 0bddbe7eba51
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gmyth-upnp/src/Makefile.am	Wed Jan 10 17:18:36 2007 +0000
     1.3 @@ -0,0 +1,81 @@
     1.4 +SUBDIRS = .
     1.5 +
     1.6 +lib_LTLIBRARIES = libgmyth.la
     1.7 +
     1.8 +BUILT_SOURCES = 				\
     1.9 +	gmyth_marshal.c 			\
    1.10 +	gmyth_marshal.h
    1.11 +
    1.12 +libgmyth_la_SOURCES = 			\
    1.13 +	gmyth_common.c				\
    1.14 +	gmyth_debug.c				\
    1.15 +	gmyth_epg.c 				\
    1.16 +	gmyth_recorder.c			\
    1.17 +	gmyth_remote_util.c			\
    1.18 +	gmyth_tvchain.c				\
    1.19 +	gmyth_scheduler.c 			\
    1.20 +	gmyth_util.c				\
    1.21 +	gmyth_query.c				\
    1.22 +	gmyth_socket.c				\
    1.23 +	gmyth_stringlist.c			\
    1.24 +	gmyth_monitor_handler.c		\
    1.25 +	gmyth_file_transfer.c		\
    1.26 +	gmyth_livetv.c				\
    1.27 +	gmyth_backendinfo.c			\
    1.28 +	gmyth_programinfo.c			\
    1.29 +	gmyth_uri.c					\
    1.30 +	$(BUILT_SOURCES)
    1.31 +
    1.32 +
    1.33 +EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list
    1.34 +
    1.35 +gmyth_marshal.h: gmyth_marshal.list
    1.36 +	glib-genmarshal --header --prefix=gmyth_marshal gmyth_marshal.list > gmyth_marshal.h.tmp
    1.37 +	mv gmyth_marshal.h.tmp gmyth_marshal.h
    1.38 +
    1.39 +gmyth_marshal.c: gmyth_marshal.list gmyth_marshal.h
    1.40 +	echo "#include \"glib-object.h\"" > gmyth_marshal.c.tmp
    1.41 +	echo "#include \"gmyth_marshal.h\"" >> gmyth_marshal.c.tmp
    1.42 +	glib-genmarshal --body --prefix=gmyth_marshal $(srcdir)/gmyth_marshal.list >> gmyth_marshal.c.tmp
    1.43 +	mv gmyth_marshal.c.tmp gmyth_marshal.c
    1.44 +
    1.45 +libgmyth_la_CFLAGS = 			\
    1.46 +	-DDATADIR=\"$(pkgdatadir)\" \
    1.47 +	$(GLIB_CFLAGS) 				\
    1.48 +	$(GOBJECT_CFLAGS)			\
    1.49 +	$(GST_CFLAGS) 				\
    1.50 +	$(GSTBASE_CFLAGS)			\
    1.51 +	$(GSTPLUGINSBASE_CFLAGS)	\
    1.52 +	$(MYSQL_CFLAGS)
    1.53 +
    1.54 +libgmyth_la_LDFLAGS = 			\
    1.55 +	-export-dynamic 			\
    1.56 +	$(MYSQL_LIBS) 				\
    1.57 +	$(GST_LIBS) 				\
    1.58 +	$(GSTBASE_LIBS)				\
    1.59 +	$(GSTPLUGINS_LIBS)
    1.60 +
    1.61 +libgmyth_includedir = 			\
    1.62 +	$(pkgincludedir)
    1.63 +
    1.64 +libgmyth_include_HEADERS =    	\
    1.65 +	gmyth.h						\
    1.66 +	gmyth_common.h	 			\
    1.67 +	gmyth_debug.h				\
    1.68 +	gmyth_epg.h 				\
    1.69 +	gmyth_recorder.h 			\
    1.70 +	gmyth_scheduler.h 			\
    1.71 +	gmyth_tvchain.h 			\
    1.72 +	gmyth_util.h 				\
    1.73 +	gmyth_query.h 				\
    1.74 +	gmyth_socket.h 				\
    1.75 +	gmyth_remote_util.h			\
    1.76 +	gmyth_stringlist.h 			\
    1.77 +	gmyth_monitor_handler.h		\
    1.78 +	gmyth_file_transfer.h		\
    1.79 +	gmyth_livetv.h				\
    1.80 +	gmyth_backendinfo.h			\
    1.81 +	gmyth_programinfo.h			\
    1.82 +	gmyth_uri.h
    1.83 +	
    1.84 +CLEANFILES = $(BUILT_SOURCES)