2000-01-30 09:03:00 +00:00
|
|
|
# cheap trick to build . first...
|
2000-11-04 18:54:07 +00:00
|
|
|
SUBDIRS = . types meta elements
|
2000-01-30 09:03:00 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libgst.la
|
|
|
|
|
2000-09-15 22:44:10 +00:00
|
|
|
if HAVE_CPU_I386
|
|
|
|
GSTARCH_SRCS = gstcpuid_i386.s
|
|
|
|
else
|
|
|
|
GSTARCH_SRCS =
|
|
|
|
endif
|
2000-09-21 01:34:34 +00:00
|
|
|
|
|
|
|
EXTRA_libgst_la_SOURCES = \
|
|
|
|
gstcpuid_i386.s
|
2000-09-15 22:44:10 +00:00
|
|
|
|
2001-01-01 21:21:25 +00:00
|
|
|
libgst_la_SOURCES = \
|
|
|
|
cothreads.c \
|
|
|
|
gst.c \
|
|
|
|
gstautoplug.c \
|
|
|
|
gstbin.c \
|
|
|
|
gstbuffer.c \
|
|
|
|
gstbufferpool.c \
|
|
|
|
gstcaps.c \
|
|
|
|
gstclock.c \
|
|
|
|
gstcpu.c \
|
|
|
|
gstelement.c \
|
2000-01-30 09:03:00 +00:00
|
|
|
gstelementfactory.c \
|
2001-01-01 21:21:25 +00:00
|
|
|
gstextratypes.c \
|
|
|
|
gstinfo.c \
|
|
|
|
gstmeta.c \
|
|
|
|
gstobject.c \
|
|
|
|
gstpad.c \
|
|
|
|
gstpipeline.c \
|
|
|
|
gstplugin.c \
|
|
|
|
gstprops.c \
|
2001-01-19 00:01:42 +00:00
|
|
|
gstqueue.c \
|
2001-01-01 21:21:25 +00:00
|
|
|
gstscheduler.c \
|
|
|
|
gstthread.c \
|
|
|
|
gsttrace.c \
|
|
|
|
gsttype.c \
|
2001-01-19 00:01:42 +00:00
|
|
|
gsttypefind.c \
|
2001-01-01 21:21:25 +00:00
|
|
|
gstutils.c \
|
|
|
|
gstxml.c \
|
2001-01-07 04:00:30 +00:00
|
|
|
gstparse.c \
|
2001-01-01 21:21:25 +00:00
|
|
|
$(GSTARCH_SRCS)
|
2000-01-30 09:03:00 +00:00
|
|
|
|
2001-01-01 06:57:46 +00:00
|
|
|
# the compiler shoots cothreads.c in the head at -O6
|
2001-01-14 22:24:28 +00:00
|
|
|
# FIXME: these manual rules break the dependency generation, so we have a
|
|
|
|
# nasty hack here.
|
|
|
|
LTCOMPILE2=$(LTCOMPILE) -O2
|
|
|
|
COMPILE2=$(COMPILE) -O2
|
2001-01-01 06:57:46 +00:00
|
|
|
cothreads.lo: cothreads.c
|
2001-01-14 22:24:28 +00:00
|
|
|
@echo '$(LTCOMPILE2) -c $<'; \
|
|
|
|
$(LTCOMPILE2) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
|
|
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm -f .deps/$(*F).pp
|
2001-01-01 06:57:46 +00:00
|
|
|
cothreads.o: cothreads.c
|
2001-01-14 22:24:28 +00:00
|
|
|
@echo '$(COMPILE2) -c $<'; \
|
|
|
|
$(COMPILE2) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
|
|
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm -f .deps/$(*F).pp
|
2001-01-01 06:57:46 +00:00
|
|
|
|
2000-01-30 09:03:00 +00:00
|
|
|
libgstincludedir = $(includedir)/gst
|
2001-01-01 21:21:25 +00:00
|
|
|
libgstinclude_HEADERS = \
|
|
|
|
cothreads.h \
|
|
|
|
gst.h \
|
|
|
|
gstautoplug.h \
|
|
|
|
gstbin.h \
|
|
|
|
gstbuffer.h \
|
|
|
|
gstbufferpool.h \
|
|
|
|
gstcaps.h \
|
|
|
|
gstclock.h \
|
|
|
|
gstcpu.h \
|
|
|
|
gstelement.h \
|
|
|
|
gstextratypes.h \
|
|
|
|
gstinfo.h \
|
|
|
|
gstlog.h \
|
|
|
|
gstmeta.h \
|
|
|
|
gstobject.h \
|
|
|
|
gstpad.h \
|
|
|
|
gstpipeline.h \
|
|
|
|
gstplugin.h \
|
|
|
|
gstprops.h \
|
2001-01-19 00:01:42 +00:00
|
|
|
gstqueue.h \
|
2001-01-01 21:21:25 +00:00
|
|
|
gstscheduler.h \
|
|
|
|
gstthread.h \
|
|
|
|
gsttrace.h \
|
|
|
|
gsttype.h \
|
2001-01-19 00:01:42 +00:00
|
|
|
gsttypefind.h \
|
2001-01-01 21:21:25 +00:00
|
|
|
gstutils.h \
|
2001-01-07 04:00:30 +00:00
|
|
|
gstparse.h \
|
2001-01-01 21:21:25 +00:00
|
|
|
gstxml.h
|
|
|
|
|
2000-12-28 22:12:02 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
gst_private.h \
|
|
|
|
gstarch.h \
|
|
|
|
gsti386.h \
|
2001-01-01 21:21:25 +00:00
|
|
|
gstppc.h \
|
2001-01-18 08:54:25 +00:00
|
|
|
gstalpha.h \
|
2001-01-19 09:14:42 +00:00
|
|
|
gstarm.h \
|
2001-01-01 21:21:25 +00:00
|
|
|
gstpropsprivate.h
|
2000-09-17 22:08:09 +00:00
|
|
|
|
2001-01-14 21:55:41 +00:00
|
|
|
CFLAGS = $(LIBGST_CFLAGS)
|
|
|
|
LIBS = $(LIBGST_LIBS)
|
|
|
|
libgst_la_LDFLAGS = -version-info $(GSTREAMER_LIBVERSION)
|
2000-01-30 09:03:00 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = ROADMAP
|