gmyth-upnp/src/Makefile.am
branchtrunk
changeset 501 4b6e332ac7b3
parent 249 dcf6bffe29a1
child 696 7afeec40ed62
     1.1 --- a/gmyth-upnp/src/Makefile.am	Wed Jan 10 17:18:36 2007 +0000
     1.2 +++ b/gmyth-upnp/src/Makefile.am	Wed Apr 04 21:41:18 2007 +0100
     1.3 @@ -1,81 +1,24 @@
     1.4  SUBDIRS = .
     1.5  
     1.6 -lib_LTLIBRARIES = libgmyth.la
     1.7 +lib_LTLIBRARIES = libgmythupnp.la
     1.8  
     1.9 -BUILT_SOURCES = 				\
    1.10 -	gmyth_marshal.c 			\
    1.11 -	gmyth_marshal.h
    1.12 +libgmythupnp_la_SOURCES = 			\
    1.13 +	gmyth_upnp.c
    1.14 +	
    1.15 +libgmythupnp_la_CFLAGS = 			\
    1.16 +	-DDATADIR=\"$(pkgdatadir)\" 	\
    1.17 +	$(LIBGMYTH_CFLAGS)			\
    1.18 +	$(CYBERLINK_CFLAGS)
    1.19  
    1.20 -libgmyth_la_SOURCES = 			\
    1.21 -	gmyth_common.c				\
    1.22 -	gmyth_debug.c				\
    1.23 -	gmyth_epg.c 				\
    1.24 -	gmyth_recorder.c			\
    1.25 -	gmyth_remote_util.c			\
    1.26 -	gmyth_tvchain.c				\
    1.27 -	gmyth_scheduler.c 			\
    1.28 -	gmyth_util.c				\
    1.29 -	gmyth_query.c				\
    1.30 -	gmyth_socket.c				\
    1.31 -	gmyth_stringlist.c			\
    1.32 -	gmyth_monitor_handler.c		\
    1.33 -	gmyth_file_transfer.c		\
    1.34 -	gmyth_livetv.c				\
    1.35 -	gmyth_backendinfo.c			\
    1.36 -	gmyth_programinfo.c			\
    1.37 -	gmyth_uri.c					\
    1.38 -	$(BUILT_SOURCES)
    1.39 +libgmythupnp_la_LDFLAGS = 			\
    1.40 +	-export-dynamic 		\
    1.41 +	$(LIBGMYTH_LIBS) 			\
    1.42 +	$(CYBERLINK_LIBS)
    1.43  
    1.44 -
    1.45 -EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list
    1.46 -
    1.47 -gmyth_marshal.h: gmyth_marshal.list
    1.48 -	glib-genmarshal --header --prefix=gmyth_marshal gmyth_marshal.list > gmyth_marshal.h.tmp
    1.49 -	mv gmyth_marshal.h.tmp gmyth_marshal.h
    1.50 -
    1.51 -gmyth_marshal.c: gmyth_marshal.list gmyth_marshal.h
    1.52 -	echo "#include \"glib-object.h\"" > gmyth_marshal.c.tmp
    1.53 -	echo "#include \"gmyth_marshal.h\"" >> gmyth_marshal.c.tmp
    1.54 -	glib-genmarshal --body --prefix=gmyth_marshal $(srcdir)/gmyth_marshal.list >> gmyth_marshal.c.tmp
    1.55 -	mv gmyth_marshal.c.tmp gmyth_marshal.c
    1.56 -
    1.57 -libgmyth_la_CFLAGS = 			\
    1.58 -	-DDATADIR=\"$(pkgdatadir)\" \
    1.59 -	$(GLIB_CFLAGS) 				\
    1.60 -	$(GOBJECT_CFLAGS)			\
    1.61 -	$(GST_CFLAGS) 				\
    1.62 -	$(GSTBASE_CFLAGS)			\
    1.63 -	$(GSTPLUGINSBASE_CFLAGS)	\
    1.64 -	$(MYSQL_CFLAGS)
    1.65 -
    1.66 -libgmyth_la_LDFLAGS = 			\
    1.67 -	-export-dynamic 			\
    1.68 -	$(MYSQL_LIBS) 				\
    1.69 -	$(GST_LIBS) 				\
    1.70 -	$(GSTBASE_LIBS)				\
    1.71 -	$(GSTPLUGINS_LIBS)
    1.72 -
    1.73 -libgmyth_includedir = 			\
    1.74 +libgmythupnp_includedir = 			\
    1.75  	$(pkgincludedir)
    1.76  
    1.77 -libgmyth_include_HEADERS =    	\
    1.78 -	gmyth.h						\
    1.79 -	gmyth_common.h	 			\
    1.80 -	gmyth_debug.h				\
    1.81 -	gmyth_epg.h 				\
    1.82 -	gmyth_recorder.h 			\
    1.83 -	gmyth_scheduler.h 			\
    1.84 -	gmyth_tvchain.h 			\
    1.85 -	gmyth_util.h 				\
    1.86 -	gmyth_query.h 				\
    1.87 -	gmyth_socket.h 				\
    1.88 -	gmyth_remote_util.h			\
    1.89 -	gmyth_stringlist.h 			\
    1.90 -	gmyth_monitor_handler.h		\
    1.91 -	gmyth_file_transfer.h		\
    1.92 -	gmyth_livetv.h				\
    1.93 -	gmyth_backendinfo.h			\
    1.94 -	gmyth_programinfo.h			\
    1.95 -	gmyth_uri.h
    1.96 +libgmythupnp_include_HEADERS =    		\
    1.97 +	gmyth_upnp.h
    1.98  	
    1.99  CLEANFILES = $(BUILT_SOURCES)