gmyth-upnp/src/Makefile.am
author melunko
Wed Jan 10 17:18:36 2007 +0000 (2007-01-10)
branchtrunk
changeset 249 dcf6bffe29a1
child 252 0bddbe7eba51
permissions -rw-r--r--
[svn r250] Added gmyth-upnp library
     1 SUBDIRS = .
     2 
     3 lib_LTLIBRARIES = libgmyth.la
     4 
     5 BUILT_SOURCES = 				\
     6 	gmyth_marshal.c 			\
     7 	gmyth_marshal.h
     8 
     9 libgmyth_la_SOURCES = 			\
    10 	gmyth_common.c				\
    11 	gmyth_debug.c				\
    12 	gmyth_epg.c 				\
    13 	gmyth_recorder.c			\
    14 	gmyth_remote_util.c			\
    15 	gmyth_tvchain.c				\
    16 	gmyth_scheduler.c 			\
    17 	gmyth_util.c				\
    18 	gmyth_query.c				\
    19 	gmyth_socket.c				\
    20 	gmyth_stringlist.c			\
    21 	gmyth_monitor_handler.c		\
    22 	gmyth_file_transfer.c		\
    23 	gmyth_livetv.c				\
    24 	gmyth_backendinfo.c			\
    25 	gmyth_programinfo.c			\
    26 	gmyth_uri.c					\
    27 	$(BUILT_SOURCES)
    28 
    29 
    30 EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list
    31 
    32 gmyth_marshal.h: gmyth_marshal.list
    33 	glib-genmarshal --header --prefix=gmyth_marshal gmyth_marshal.list > gmyth_marshal.h.tmp
    34 	mv gmyth_marshal.h.tmp gmyth_marshal.h
    35 
    36 gmyth_marshal.c: gmyth_marshal.list gmyth_marshal.h
    37 	echo "#include \"glib-object.h\"" > gmyth_marshal.c.tmp
    38 	echo "#include \"gmyth_marshal.h\"" >> gmyth_marshal.c.tmp
    39 	glib-genmarshal --body --prefix=gmyth_marshal $(srcdir)/gmyth_marshal.list >> gmyth_marshal.c.tmp
    40 	mv gmyth_marshal.c.tmp gmyth_marshal.c
    41 
    42 libgmyth_la_CFLAGS = 			\
    43 	-DDATADIR=\"$(pkgdatadir)\" \
    44 	$(GLIB_CFLAGS) 				\
    45 	$(GOBJECT_CFLAGS)			\
    46 	$(GST_CFLAGS) 				\
    47 	$(GSTBASE_CFLAGS)			\
    48 	$(GSTPLUGINSBASE_CFLAGS)	\
    49 	$(MYSQL_CFLAGS)
    50 
    51 libgmyth_la_LDFLAGS = 			\
    52 	-export-dynamic 			\
    53 	$(MYSQL_LIBS) 				\
    54 	$(GST_LIBS) 				\
    55 	$(GSTBASE_LIBS)				\
    56 	$(GSTPLUGINS_LIBS)
    57 
    58 libgmyth_includedir = 			\
    59 	$(pkgincludedir)
    60 
    61 libgmyth_include_HEADERS =    	\
    62 	gmyth.h						\
    63 	gmyth_common.h	 			\
    64 	gmyth_debug.h				\
    65 	gmyth_epg.h 				\
    66 	gmyth_recorder.h 			\
    67 	gmyth_scheduler.h 			\
    68 	gmyth_tvchain.h 			\
    69 	gmyth_util.h 				\
    70 	gmyth_query.h 				\
    71 	gmyth_socket.h 				\
    72 	gmyth_remote_util.h			\
    73 	gmyth_stringlist.h 			\
    74 	gmyth_monitor_handler.h		\
    75 	gmyth_file_transfer.h		\
    76 	gmyth_livetv.h				\
    77 	gmyth_backendinfo.h			\
    78 	gmyth_programinfo.h			\
    79 	gmyth_uri.h
    80 	
    81 CLEANFILES = $(BUILT_SOURCES)