branches/gmyth-0.1b/src/Makefile.am
branchtrunk
changeset 326 81b1f3006eb2
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/branches/gmyth-0.1b/src/Makefile.am	Tue Feb 06 00:33:35 2007 +0000
     1.3 @@ -0,0 +1,85 @@
     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 +	gmyth_http.c				\
    1.31 +	$(BUILT_SOURCES)
    1.32 +
    1.33 +
    1.34 +EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list
    1.35 +
    1.36 +gmyth_marshal.h: gmyth_marshal.list
    1.37 +	glib-genmarshal --header --prefix=gmyth_marshal gmyth_marshal.list > gmyth_marshal.h.tmp
    1.38 +	mv gmyth_marshal.h.tmp gmyth_marshal.h
    1.39 +
    1.40 +gmyth_marshal.c: gmyth_marshal.list gmyth_marshal.h
    1.41 +	echo "#include \"glib-object.h\"" > gmyth_marshal.c.tmp
    1.42 +	echo "#include \"gmyth_marshal.h\"" >> gmyth_marshal.c.tmp
    1.43 +	glib-genmarshal --body --prefix=gmyth_marshal $(srcdir)/gmyth_marshal.list >> gmyth_marshal.c.tmp
    1.44 +	mv gmyth_marshal.c.tmp gmyth_marshal.c
    1.45 +
    1.46 +libgmyth_la_CFLAGS = 				\
    1.47 +	-DDATADIR=\"$(pkgdatadir)\" 		\
    1.48 +	$(GLIB_CFLAGS) 				\
    1.49 +	$(GOBJECT_CFLAGS)			\
    1.50 +	$(GST_CFLAGS) 				\
    1.51 +	$(GSTBASE_CFLAGS)			\
    1.52 +	$(GSTPLUGINSBASE_CFLAGS)		\
    1.53 +	$(MYSQL_CFLAGS)				\
    1.54 +	$(LIBXML_CFLAGS)
    1.55 +
    1.56 +libgmyth_la_LDFLAGS = 				\
    1.57 +	-export-dynamic 			\
    1.58 +	$(MYSQL_LIBS) 				\
    1.59 +	$(GST_LIBS) 				\
    1.60 +	$(GSTBASE_LIBS)				\
    1.61 +	$(GSTPLUGINS_LIBS)			\
    1.62 +	$(LIBXML_LIBS)
    1.63 +
    1.64 +libgmyth_includedir = 				\
    1.65 +	$(pkgincludedir)
    1.66 +
    1.67 +libgmyth_include_HEADERS =    			\
    1.68 +	gmyth.h					\
    1.69 +	gmyth_common.h	 			\
    1.70 +	gmyth_debug.h				\
    1.71 +	gmyth_epg.h 				\
    1.72 +	gmyth_recorder.h 			\
    1.73 +	gmyth_scheduler.h 			\
    1.74 +	gmyth_tvchain.h 			\
    1.75 +	gmyth_util.h 				\
    1.76 +	gmyth_query.h 				\
    1.77 +	gmyth_socket.h 				\
    1.78 +	gmyth_remote_util.h			\
    1.79 +	gmyth_stringlist.h 			\
    1.80 +	gmyth_monitor_handler.h			\
    1.81 +	gmyth_file_transfer.h			\
    1.82 +	gmyth_livetv.h				\
    1.83 +	gmyth_backendinfo.h			\
    1.84 +	gmyth_programinfo.h			\
    1.85 +	gmyth_uri.h				\
    1.86 +	gmyth_http.h
    1.87 +	
    1.88 +CLEANFILES = $(BUILT_SOURCES)