endif
if HAVE_ORC
-check_orc = orc/adder orc/audioconvert orc/volume orc/videoscale orc/videotestsrc
+check_orc = orc/video orc/audio orc/adder orc/audioconvert orc/volume orc/videoscale orc/videotestsrc
else
check_orc =
endif
$(GST_BASE_LIBS) \
$(LDADD)
+orc_video_CFLAGS = $(ORC_CFLAGS)
+orc_video_LDADD = $(ORC_LIBS) -lorc-test-0.4
+nodist_orc_video_SOURCES = orc/video.c
+orc_audio_CFLAGS = $(ORC_CFLAGS)
+orc_audio_LDADD = $(ORC_LIBS) -lorc-test-0.4
+nodist_orc_audio_SOURCES = orc/audio.c
orc_adder_CFLAGS = $(ORC_CFLAGS)
orc_adder_LDADD = $(ORC_LIBS) -lorc-test-0.4
nodist_orc_adder_SOURCES = orc/adder.c
orc_videotestsrc_LDADD = $(ORC_LIBS) -lorc-test-0.4
nodist_orc_videotestsrc_SOURCES = orc/videotestsrc.c
+orc/video.c: $(top_srcdir)/gst-libs/gst/video/video-orc.orc
+ $(MKDIR_P) orc/
+ $(ORCC) --test -o $@ $<
+
+orc/audio.c: $(top_srcdir)/gst-libs/gst/audio/gstaudiopack.orc
+ $(MKDIR_P) orc/
+ $(ORCC) --test -o $@ $<
+
orc/adder.c: $(top_srcdir)/gst/adder/gstadderorc.orc
$(MKDIR_P) orc/
$(ORCC) --test -o $@ $<