branches/gmyth-0.1b/src/Makefile.am
author rosfran
Fri Feb 09 20:28:36 2007 +0000 (2007-02-09)
branchtrunk
changeset 344 21a15c29957b
permissions -rw-r--r--
[svn r346] Fixes to the socket closing and memory cleanup.
     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 	gmyth_http.c				\
    28 	$(BUILT_SOURCES)
    29 
    30 
    31 EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list
    32 
    33 gmyth_marshal.h: gmyth_marshal.list
    34 	glib-genmarshal --header --prefix=gmyth_marshal gmyth_marshal.list > gmyth_marshal.h.tmp
    35 	mv gmyth_marshal.h.tmp gmyth_marshal.h
    36 
    37 gmyth_marshal.c: gmyth_marshal.list gmyth_marshal.h
    38 	echo "#include \"glib-object.h\"" > gmyth_marshal.c.tmp
    39 	echo "#include \"gmyth_marshal.h\"" >> gmyth_marshal.c.tmp
    40 	glib-genmarshal --body --prefix=gmyth_marshal $(srcdir)/gmyth_marshal.list >> gmyth_marshal.c.tmp
    41 	mv gmyth_marshal.c.tmp gmyth_marshal.c
    42 
    43 libgmyth_la_CFLAGS = 				\
    44 	-DDATADIR=\"$(pkgdatadir)\" 		\
    45 	$(GLIB_CFLAGS) 				\
    46 	$(GOBJECT_CFLAGS)			\
    47 	$(GST_CFLAGS) 				\
    48 	$(GSTBASE_CFLAGS)			\
    49 	$(GSTPLUGINSBASE_CFLAGS)		\
    50 	$(MYSQL_CFLAGS)				\
    51 	$(LIBXML_CFLAGS)
    52 
    53 libgmyth_la_LDFLAGS = 				\
    54 	-export-dynamic 			\
    55 	$(MYSQL_LIBS) 				\
    56 	$(GST_LIBS) 				\
    57 	$(GSTBASE_LIBS)				\
    58 	$(GSTPLUGINS_LIBS)			\
    59 	$(LIBXML_LIBS)
    60 
    61 libgmyth_includedir = 				\
    62 	$(pkgincludedir)
    63 
    64 libgmyth_include_HEADERS =    			\
    65 	gmyth.h					\
    66 	gmyth_common.h	 			\
    67 	gmyth_debug.h				\
    68 	gmyth_epg.h 				\
    69 	gmyth_recorder.h 			\
    70 	gmyth_scheduler.h 			\
    71 	gmyth_tvchain.h 			\
    72 	gmyth_util.h 				\
    73 	gmyth_query.h 				\
    74 	gmyth_socket.h 				\
    75 	gmyth_remote_util.h			\
    76 	gmyth_stringlist.h 			\
    77 	gmyth_monitor_handler.h			\
    78 	gmyth_file_transfer.h			\
    79 	gmyth_livetv.h				\
    80 	gmyth_backendinfo.h			\
    81 	gmyth_programinfo.h			\
    82 	gmyth_uri.h				\
    83 	gmyth_http.h
    84 	
    85 CLEANFILES = $(BUILT_SOURCES)