gmyth/src/Makefile.am
author renatofilho
Tue Jun 19 22:01:13 2007 +0100 (2007-06-19)
branchtrunk
changeset 755 4b5efa290285
parent 698 9019388af980
child 924 c39c60fcfec8
permissions -rw-r--r--
[svn r761] create function to get recorded inf; fixe some headers indent
renatofilho@18
     1
SUBDIRS = .
leo_sobral@1
     2
renatofilho@18
     3
lib_LTLIBRARIES = libgmyth.la
leo_sobral@1
     4
rosfran@561
     5
INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src @GLIB_CFLAGS@ @GOBJECT_CFLAGS@
rosfran@561
     6
rosfran@212
     7
BUILT_SOURCES = 				\
rosfran@212
     8
	gmyth_marshal.c 			\
rosfran@212
     9
	gmyth_marshal.h
rosfran@212
    10
morphbr@329
    11
libgmyth_la_SOURCES = 			\
renatofilho@18
    12
	gmyth_common.c				\
renatofilho@131
    13
	gmyth_debug.c				\
renatofilho@18
    14
	gmyth_epg.c 				\
renatofilho@129
    15
	gmyth_recorder.c			\
renatofilho@18
    16
	gmyth_remote_util.c			\
renatofilho@18
    17
	gmyth_tvchain.c				\
renatofilho@18
    18
	gmyth_scheduler.c 			\
renatofilho@18
    19
	gmyth_util.c				\
renatofilho@18
    20
	gmyth_query.c				\
renatofilho@18
    21
	gmyth_socket.c				\
rosfran@41
    22
	gmyth_stringlist.c			\
morphbr@383
    23
	gmyth_monitor_handler.c		\
morphbr@383
    24
	gmyth_file_transfer.c		\
rosfran@41
    25
	gmyth_livetv.c				\
melunko@117
    26
	gmyth_backendinfo.c			\
melunko@125
    27
	gmyth_programinfo.c			\
morphbr@383
    28
	gmyth_uri.c					\
morphbr@266
    29
	gmyth_http.c				\
morphbr@383
    30
	gmyth_vlc.c					\
morphbr@379
    31
	gmyth_jobqueue.c			\
melunko@393
    32
	gmyth_transcoder.c			\
morphbr@383
    33
	gmyth_recprofile.c			\
rosfran@529
    34
	gmyth_file.c				\
rosfran@529
    35
	gmyth_file_local.c			\
rosfran@212
    36
	$(BUILT_SOURCES)
leo_sobral@1
    37
rosfran@212
    38
EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list
rosfran@212
    39
rosfran@212
    40
gmyth_marshal.h: gmyth_marshal.list
rosfran@212
    41
	glib-genmarshal --header --prefix=gmyth_marshal gmyth_marshal.list > gmyth_marshal.h.tmp
rosfran@212
    42
	mv gmyth_marshal.h.tmp gmyth_marshal.h
rosfran@212
    43
rosfran@212
    44
gmyth_marshal.c: gmyth_marshal.list gmyth_marshal.h
rosfran@212
    45
	echo "#include \"glib-object.h\"" > gmyth_marshal.c.tmp
rosfran@212
    46
	echo "#include \"gmyth_marshal.h\"" >> gmyth_marshal.c.tmp
rosfran@212
    47
	glib-genmarshal --body --prefix=gmyth_marshal $(srcdir)/gmyth_marshal.list >> gmyth_marshal.c.tmp
rosfran@212
    48
	mv gmyth_marshal.c.tmp gmyth_marshal.c
rosfran@212
    49
morphbr@329
    50
libgmyth_la_CFLAGS = 			\
morphbr@383
    51
	-DDATADIR=\"$(pkgdatadir)\" \
renatofilho@18
    52
	$(GLIB_CFLAGS) 				\
renatofilho@18
    53
	$(GOBJECT_CFLAGS)			\
renatofilho@18
    54
	$(GST_CFLAGS) 				\
renatofilho@18
    55
	$(GSTBASE_CFLAGS)			\
morphbr@383
    56
	$(GSTPLUGINSBASE_CFLAGS)	\
renatofilho@283
    57
	$(MYSQL_CFLAGS)				\
renatofilho@283
    58
	$(LIBXML_CFLAGS)
leo_sobral@1
    59
morphbr@383
    60
libgmyth_la_LDFLAGS = 			\
renatofilho@18
    61
	-export-dynamic 			\
rosfran@561
    62
	$(GLIB_CFLAGS) 				\
rosfran@561
    63
	$(GOBJECT_CFLAGS)			\
renatofilho@18
    64
	$(MYSQL_LIBS) 				\
renatofilho@18
    65
	$(GST_LIBS) 				\
renatofilho@129
    66
	$(GSTBASE_LIBS)				\
renatofilho@283
    67
	$(GSTPLUGINS_LIBS)			\
renatofilho@283
    68
	$(LIBXML_LIBS)
renatofilho@18
    69
morphbr@329
    70
libgmyth_includedir = 			\
renatofilho@18
    71
	$(pkgincludedir)
renatofilho@18
    72
morphbr@329
    73
libgmyth_include_HEADERS =    	\
morphbr@383
    74
	gmyth.h						\
renatofilho@18
    75
	gmyth_common.h	 			\
renatofilho@131
    76
	gmyth_debug.h				\
renatofilho@18
    77
	gmyth_epg.h 				\
renatofilho@131
    78
	gmyth_recorder.h 			\
renatofilho@18
    79
	gmyth_scheduler.h 			\
renatofilho@18
    80
	gmyth_tvchain.h 			\
renatofilho@18
    81
	gmyth_util.h 				\
renatofilho@18
    82
	gmyth_query.h 				\
renatofilho@18
    83
	gmyth_socket.h 				\
renatofilho@18
    84
	gmyth_remote_util.h			\
rosfran@41
    85
	gmyth_stringlist.h 			\
morphbr@383
    86
	gmyth_monitor_handler.h		\
morphbr@383
    87
	gmyth_file_transfer.h		\
rosfran@41
    88
	gmyth_livetv.h				\
melunko@117
    89
	gmyth_backendinfo.h			\
melunko@125
    90
	gmyth_programinfo.h			\
morphbr@383
    91
	gmyth_uri.h					\
morphbr@329
    92
	gmyth_http.h				\
morphbr@383
    93
	gmyth_vlc.h					\
morphbr@379
    94
	gmyth_jobqueue.h			\
melunko@393
    95
	gmyth_transcoder.h			\
rosfran@529
    96
	gmyth_recprofile.h			\
rosfran@529
    97
	gmyth_file.h				\
rosfran@529
    98
	gmyth_file_local.h
morphbr@329
    99
rosfran@639
   100
if HAVE_INDENT
rosfran@631
   101
indent: 
rosfran@689
   102
	@for src_file in $(libgmyth_la_SOURCES); do \
rosfran@701
   103
		./gmyth-indent.sh $$src_file; \
rosfran@631
   104
	done; \
rosfran@631
   105
	for inc_file in $(libgmyth_include_HEADERS); do \
rosfran@701
   106
		./gmyth-indent.sh $$inc_file; \
rosfran@631
   107
	done;
rosfran@639
   108
endif
rosfran@631
   109
rosfran@639
   110
CLEANFILES = $(BUILT_SOURCES)
rosfran@639
   111
rosfran@639
   112
if HAVE_GCOV
rosfran@639
   113
CLEANFILES += *.gcda \
rosfran@623
   114
	*.gcno \
rosfran@623
   115
	*.gcov
rosfran@639
   116
endif