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