author | renatofilho |
Fri Feb 01 19:21:52 2008 +0000 (2008-02-01) | |
branch | trunk |
changeset 907 | 9fa6794e53fb |
parent 698 | 9019388af980 |
child 924 | c39c60fcfec8 |
permissions | -rw-r--r-- |
1 SUBDIRS = .
3 lib_LTLIBRARIES = libgmyth.la
5 INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src @GLIB_CFLAGS@ @GOBJECT_CFLAGS@
7 BUILT_SOURCES = \
8 gmyth_marshal.c \
9 gmyth_marshal.h
11 libgmyth_la_SOURCES = \
12 gmyth_common.c \
13 gmyth_debug.c \
14 gmyth_epg.c \
15 gmyth_recorder.c \
16 gmyth_remote_util.c \
17 gmyth_tvchain.c \
18 gmyth_scheduler.c \
19 gmyth_util.c \
20 gmyth_query.c \
21 gmyth_socket.c \
22 gmyth_stringlist.c \
23 gmyth_monitor_handler.c \
24 gmyth_file_transfer.c \
25 gmyth_livetv.c \
26 gmyth_backendinfo.c \
27 gmyth_programinfo.c \
28 gmyth_uri.c \
29 gmyth_http.c \
30 gmyth_vlc.c \
31 gmyth_jobqueue.c \
32 gmyth_transcoder.c \
33 gmyth_recprofile.c \
34 gmyth_file.c \
35 gmyth_file_local.c \
36 $(BUILT_SOURCES)
38 EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list
40 gmyth_marshal.h: gmyth_marshal.list
41 glib-genmarshal --header --prefix=gmyth_marshal gmyth_marshal.list > gmyth_marshal.h.tmp
42 mv gmyth_marshal.h.tmp gmyth_marshal.h
44 gmyth_marshal.c: gmyth_marshal.list gmyth_marshal.h
45 echo "#include \"glib-object.h\"" > gmyth_marshal.c.tmp
46 echo "#include \"gmyth_marshal.h\"" >> gmyth_marshal.c.tmp
47 glib-genmarshal --body --prefix=gmyth_marshal $(srcdir)/gmyth_marshal.list >> gmyth_marshal.c.tmp
48 mv gmyth_marshal.c.tmp gmyth_marshal.c
50 libgmyth_la_CFLAGS = \
51 -DDATADIR=\"$(pkgdatadir)\" \
52 $(GLIB_CFLAGS) \
53 $(GOBJECT_CFLAGS) \
54 $(GST_CFLAGS) \
55 $(GSTBASE_CFLAGS) \
56 $(GSTPLUGINSBASE_CFLAGS) \
57 $(MYSQL_CFLAGS) \
58 $(LIBXML_CFLAGS)
60 libgmyth_la_LDFLAGS = \
61 -export-dynamic \
62 $(GLIB_CFLAGS) \
63 $(GOBJECT_CFLAGS) \
64 $(MYSQL_LIBS) \
65 $(GST_LIBS) \
66 $(GSTBASE_LIBS) \
67 $(GSTPLUGINS_LIBS) \
68 $(LIBXML_LIBS)
70 libgmyth_includedir = \
71 $(pkgincludedir)
73 libgmyth_include_HEADERS = \
74 gmyth.h \
75 gmyth_common.h \
76 gmyth_debug.h \
77 gmyth_epg.h \
78 gmyth_recorder.h \
79 gmyth_scheduler.h \
80 gmyth_tvchain.h \
81 gmyth_util.h \
82 gmyth_query.h \
83 gmyth_socket.h \
84 gmyth_remote_util.h \
85 gmyth_stringlist.h \
86 gmyth_monitor_handler.h \
87 gmyth_file_transfer.h \
88 gmyth_livetv.h \
89 gmyth_backendinfo.h \
90 gmyth_programinfo.h \
91 gmyth_uri.h \
92 gmyth_http.h \
93 gmyth_vlc.h \
94 gmyth_jobqueue.h \
95 gmyth_transcoder.h \
96 gmyth_recprofile.h \
97 gmyth_file.h \
98 gmyth_file_local.h
100 if HAVE_INDENT
101 indent:
102 @for src_file in $(libgmyth_la_SOURCES); do \
103 ./gmyth-indent.sh $$src_file; \
104 done; \
105 for inc_file in $(libgmyth_include_HEADERS); do \
106 ./gmyth-indent.sh $$inc_file; \
107 done;
108 endif
110 CLEANFILES = $(BUILT_SOURCES)
112 if HAVE_GCOV
113 CLEANFILES += *.gcda \
114 *.gcno \
115 *.gcov
116 endif