mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
Updated makefiles for examples
Original commit message from CVS: Updated makefiles for examples
This commit is contained in:
parent
e0aa5bae14
commit
0b650eb737
24 changed files with 98 additions and 46 deletions
1
examples/Makefile.am
Normal file
1
examples/Makefile.am
Normal file
|
@ -0,0 +1 @@
|
|||
SUBDIRS = autoplug helloworld helloworld2 queue queue2 queue3 queue4 therad xml
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
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");
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
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
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
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
|
||||
|
|
9
examples/launch/Makefile
Normal file
9
examples/launch/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
|
||||
|
9
examples/queue/Makefile
Normal file
9
examples/queue/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
|
||||
|
9
examples/queue2/Makefile
Normal file
9
examples/queue2/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
|
||||
|
9
examples/queue3/Makefile
Normal file
9
examples/queue3/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
CC = libtool gcc
|
||||
|
||||
queue4: queue4.c
|
||||
$(CC) -Wall `gstreamer-config --cflags --libs` queue4.c -o queue4
|
||||
$(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue4.c -o queue4
|
||||
|
||||
clean:
|
||||
rm -f *.o queue4
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
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
|
||||
|
|
|
@ -1,15 +1,9 @@
|
|||
|
||||
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
|
||||
|
||||
|
||||
|
|
1
tests/old/examples/Makefile.am
Normal file
1
tests/old/examples/Makefile.am
Normal file
|
@ -0,0 +1 @@
|
|||
SUBDIRS = autoplug helloworld helloworld2 queue queue2 queue3 queue4 therad xml
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
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");
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
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
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
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
|
||||
|
|
9
tests/old/examples/launch/Makefile
Normal file
9
tests/old/examples/launch/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
|
||||
|
9
tests/old/examples/queue/Makefile
Normal file
9
tests/old/examples/queue/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
|
||||
|
9
tests/old/examples/queue2/Makefile
Normal file
9
tests/old/examples/queue2/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
|
||||
|
9
tests/old/examples/queue3/Makefile
Normal file
9
tests/old/examples/queue3/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
CC = libtool gcc
|
||||
|
||||
queue4: queue4.c
|
||||
$(CC) -Wall `gstreamer-config --cflags --libs` queue4.c -o queue4
|
||||
$(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` queue4.c -o queue4
|
||||
|
||||
clean:
|
||||
rm -f *.o queue4
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
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
|
||||
|
|
|
@ -1,15 +1,9 @@
|
|||
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue