--- /dev/null
+SUBDIRS = autoplug helloworld helloworld2 queue queue2 queue3 queue4 therad xml
-
CC = libtool gcc
autoplug: autoplug.c
- $(CC) -Wall `gstreamer-config --cflags --libs` `gnome-config --cflags --libs gnomeui` autoplug.c -o autoplug
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` autoplug.c -o autoplug
clean:
rm -f *.o autoplug
static gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstElement *src)
+void eos(GstElement *element)
{
g_print("have eos, quitting\n");
-
CC = libtool gcc
helloworld: helloworld.c
- $(CC) -Wall `gstreamer-config --cflags --libs` helloworld.c -o helloworld
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` helloworld.c -o helloworld
clean:
rm -f *.o helloworld
-
-CC = gcc
+CC = libtool gcc
helloworld2: helloworld2.c
- $(CC) -Wall `gstreamer-config --cflags --libs` helloworld2.c -o helloworld2
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` helloworld2.c -o helloworld2
clean:
rm -f *.o helloworld2
--- /dev/null
+CC = libtool gcc
+
+launch: launch.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` launch.c -o launch
+
+clean:
+ rm -f *.o launch
+
+
--- /dev/null
+CC = libtool gcc
+
+queue: queue.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue.c -o queue
+
+clean:
+ rm -f *.o queue
+
+
--- /dev/null
+CC = libtool gcc
+
+queue2: queue2.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue2.c -o queue2
+
+clean:
+ rm -f *.o queue2
+
+
--- /dev/null
+CC = libtool gcc
+
+queue3: queue3.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue3.c -o queue3
+
+clean:
+ rm -f *.o queue3
+
+
-
CC = libtool gcc
-queue4: queue4.c
- $(CC) -Wall `gstreamer-config --cflags --libs` queue4.c -o queue4
+queue4: queue4.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue4.c -o queue4
clean:
rm -f *.o queue4
-
-CC = gcc
+CC = libtool gcc
thread: thread.c
- $(CC) -Wall `gstreamer-config --cflags --libs` thread.c -o thread
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` thread.c -o thread
clean:
rm -f *.o thread
-
CC = libtool gcc
-all: createxml runxml
-
-createxml: createxml.c
- $(CC) -Wall `gstreamer-config --cflags --libs` createxml.c -o createxml
-
-runxml: runxml.c
- $(CC) -Wall `gstreamer-config --cflags --libs` runxml.c -o runxml
+xml: xml.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` xml.c -o xml
clean:
- rm -f *.o createxml runxml
+ rm -f *.o xml
--- /dev/null
+SUBDIRS = autoplug helloworld helloworld2 queue queue2 queue3 queue4 therad xml
-
CC = libtool gcc
autoplug: autoplug.c
- $(CC) -Wall `gstreamer-config --cflags --libs` `gnome-config --cflags --libs gnomeui` autoplug.c -o autoplug
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` autoplug.c -o autoplug
clean:
rm -f *.o autoplug
static gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstElement *src)
+void eos(GstElement *element)
{
g_print("have eos, quitting\n");
-
CC = libtool gcc
helloworld: helloworld.c
- $(CC) -Wall `gstreamer-config --cflags --libs` helloworld.c -o helloworld
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` helloworld.c -o helloworld
clean:
rm -f *.o helloworld
-
-CC = gcc
+CC = libtool gcc
helloworld2: helloworld2.c
- $(CC) -Wall `gstreamer-config --cflags --libs` helloworld2.c -o helloworld2
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` helloworld2.c -o helloworld2
clean:
rm -f *.o helloworld2
--- /dev/null
+CC = libtool gcc
+
+launch: launch.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` launch.c -o launch
+
+clean:
+ rm -f *.o launch
+
+
--- /dev/null
+CC = libtool gcc
+
+queue: queue.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue.c -o queue
+
+clean:
+ rm -f *.o queue
+
+
--- /dev/null
+CC = libtool gcc
+
+queue2: queue2.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue2.c -o queue2
+
+clean:
+ rm -f *.o queue2
+
+
--- /dev/null
+CC = libtool gcc
+
+queue3: queue3.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue3.c -o queue3
+
+clean:
+ rm -f *.o queue3
+
+
-
CC = libtool gcc
-queue4: queue4.c
- $(CC) -Wall `gstreamer-config --cflags --libs` queue4.c -o queue4
+queue4: queue4.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue4.c -o queue4
clean:
rm -f *.o queue4
-
-CC = gcc
+CC = libtool gcc
thread: thread.c
- $(CC) -Wall `gstreamer-config --cflags --libs` thread.c -o thread
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` thread.c -o thread
clean:
rm -f *.o thread
-
CC = libtool gcc
-all: createxml runxml
-
-createxml: createxml.c
- $(CC) -Wall `gstreamer-config --cflags --libs` createxml.c -o createxml
-
-runxml: runxml.c
- $(CC) -Wall `gstreamer-config --cflags --libs` runxml.c -o runxml
+xml: xml.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` xml.c -o xml
clean:
- rm -f *.o createxml runxml
+ rm -f *.o xml