gstreamer/ges/Makefile.am
2010-07-09 13:21:09 +02:00

83 lines
2.7 KiB
Makefile

built_header_make = gesmarshal.h
build_source_make = gesmarshal.c
lib_LTLIBRARIES = libges-@GST_MAJORMINOR@.la
EXTRA_libges_@GST_MAJORMINOR@_la_SOURCES = gesmarshal.list
CLEANFILES = $(BUILT_SOURCES) $(built_header_make) $(built_source_make)
libges_@GST_MAJORMINOR@_la_SOURCES = \
ges.c \
ges-custom-timeline-source.c \
ges-simple-timeline-layer.c \
ges-timeline.c \
ges-timeline-layer.c \
ges-timeline-object.c \
ges-timeline-pipeline.c \
ges-timeline-source.c \
ges-timeline-file-source.c \
ges-timeline-transition.c \
ges-timeline-background-source.c \
ges-timeline-title-source.c \
ges-track.c \
ges-track-object.c \
ges-track-source.c \
ges-track-filesource.c \
ges-track-transition.c \
ges-track-background-source.c \
ges-track-video-background-source.c \
ges-track-audio-background-source.c \
ges-track-title-source.c \
ges-track-video-title-source.c \
ges-utils.c
libges_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/ges/
libges_@GST_MAJORMINOR@include_HEADERS = \
ges-types.h \
ges.h \
ges-custom-timeline-source.h \
ges-internal.h \
ges-simple-timeline-layer.h \
ges-timeline.h \
ges-timeline-layer.h \
ges-timeline-object.h \
ges-timeline-pipeline.h \
ges-timeline-source.h \
ges-timeline-file-source.h \
ges-timeline-transition.h \
ges-timeline-background-source.h \
ges-timeline-title-source.h \
ges-track.h \
ges-track-object.h \
ges-track-source.h \
ges-track-filesource.h \
ges-track-transition.h \
ges-track-background-source.h \
ges-track-video-background-source.h \
ges-track-audio-background-source.h \
ges-track-title-source.h \
ges-track-video-title-source.h \
ges-utils.h
libges_@GST_MAJORMINOR@_la_CFLAGS = -I$(top_srcdir) $(GST_PROFILE_CFLAGS) $(GST_DISCOVERER_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
libges_@GST_MAJORMINOR@_la_LIBADD = $(GST_PROFILE_LIBS) $(GST_DISCOVERER_LIBS) $(GST_CONTROLLER_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS)
libges_@GST_MAJORMINOR@_la_LDFLAGS = -lgstprofile-@GST_MAJORMINOR@ $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
DISTCLEANFILE = $(CLEANFILES)
#files built on make all/check/instal
BUILT_SOURCES = \
$(built_header_make) \
$(built_source_make)
gesmarshal.h: gesmarshal.list
glib-genmarshal --header --prefix=ges_marshal $^ > gesmarshal.h.tmp
mv gesmarshal.h.tmp gesmarshal.h
gesmarshal.c: gesmarshal.list
echo "#include \"glib-object.h\"" >gesmarshal.c.tmp
echo "#include \"gesmarshal.h\"" >> gesmarshal.c.tmp
glib-genmarshal --body --prefix=ges_marshal $^ >> gesmarshal.c.tmp
mv gesmarshal.c.tmp gesmarshal.c