Rework last change, so that we build subparse, but just disable the sami parse functi...
[platform/upstream/gstreamer.git] / gst / subparse / Makefile.am
index 0093548..18e091a 100644 (file)
@@ -1,12 +1,17 @@
 plugin_LTLIBRARIES = libgstsubparse.la
 
+if USE_XML
+SAMIPARSE_SOURCES = samiparse.c samiparse.h
+else
+SAMIPARSE_SOURCES = 
+endif
+
 libgstsubparse_la_SOURCES = \
        gstssaparse.c \
        gstssaparse.h \
        gstsubparse.c \
        gstsubparse.h \
-       samiparse.c \
-       samiparse.h \
+       $(SAMIPARSE_SOURCES) \
        tmplayerparse.c \
        tmplayerparse.h \
        mpl2parse.c \