Updated makefiles for examples
authorErik Walthinsen <omega@temple-baptist.org>
Mon, 1 Jan 2001 00:34:13 +0000 (00:34 +0000)
committerErik Walthinsen <omega@temple-baptist.org>
Mon, 1 Jan 2001 00:34:13 +0000 (00:34 +0000)
Original commit message from CVS:
Updated makefiles for examples

24 files changed:
examples/Makefile.am [new file with mode: 0644]
examples/autoplug/Makefile
examples/autoplug/autoplug.c
examples/helloworld/Makefile
examples/helloworld2/Makefile
examples/launch/Makefile [new file with mode: 0644]
examples/queue/Makefile [new file with mode: 0644]
examples/queue2/Makefile [new file with mode: 0644]
examples/queue3/Makefile [new file with mode: 0644]
examples/queue4/Makefile
examples/thread/Makefile
examples/xml/Makefile
tests/old/examples/Makefile.am [new file with mode: 0644]
tests/old/examples/autoplug/Makefile
tests/old/examples/autoplug/autoplug.c
tests/old/examples/helloworld/Makefile
tests/old/examples/helloworld2/Makefile
tests/old/examples/launch/Makefile [new file with mode: 0644]
tests/old/examples/queue/Makefile [new file with mode: 0644]
tests/old/examples/queue2/Makefile [new file with mode: 0644]
tests/old/examples/queue3/Makefile [new file with mode: 0644]
tests/old/examples/queue4/Makefile
tests/old/examples/thread/Makefile
tests/old/examples/xml/Makefile

diff --git a/examples/Makefile.am b/examples/Makefile.am
new file mode 100644 (file)
index 0000000..d5100ed
--- /dev/null
@@ -0,0 +1 @@
+SUBDIRS = autoplug helloworld helloworld2 queue queue2 queue3 queue4 therad xml
index 470a9aa..a304e11 100644 (file)
@@ -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
index b5e2866..44e783f 100644 (file)
@@ -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");
 
index 39fb9a5..e1da618 100644 (file)
@@ -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
index 22e6148..8d3a653 100644 (file)
@@ -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
diff --git a/examples/launch/Makefile b/examples/launch/Makefile
new file mode 100644 (file)
index 0000000..58f022f
--- /dev/null
@@ -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
+       
+       
diff --git a/examples/queue/Makefile b/examples/queue/Makefile
new file mode 100644 (file)
index 0000000..158d625
--- /dev/null
@@ -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
+       
+       
diff --git a/examples/queue2/Makefile b/examples/queue2/Makefile
new file mode 100644 (file)
index 0000000..1046e15
--- /dev/null
@@ -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
+       
+       
diff --git a/examples/queue3/Makefile b/examples/queue3/Makefile
new file mode 100644 (file)
index 0000000..3d55de9
--- /dev/null
@@ -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
+       
+       
index fba4eba..bf8e2ef 100644 (file)
@@ -1,8 +1,7 @@
-
 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
index 408cb6e..3006f9e 100644 (file)
@@ -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
index e15dfc9..1df7ca6 100644 (file)
@@ -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
        
        
diff --git a/tests/old/examples/Makefile.am b/tests/old/examples/Makefile.am
new file mode 100644 (file)
index 0000000..d5100ed
--- /dev/null
@@ -0,0 +1 @@
+SUBDIRS = autoplug helloworld helloworld2 queue queue2 queue3 queue4 therad xml
index 470a9aa..a304e11 100644 (file)
@@ -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
index b5e2866..44e783f 100644 (file)
@@ -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");
 
index 39fb9a5..e1da618 100644 (file)
@@ -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
index 22e6148..8d3a653 100644 (file)
@@ -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
diff --git a/tests/old/examples/launch/Makefile b/tests/old/examples/launch/Makefile
new file mode 100644 (file)
index 0000000..58f022f
--- /dev/null
@@ -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
+       
+       
diff --git a/tests/old/examples/queue/Makefile b/tests/old/examples/queue/Makefile
new file mode 100644 (file)
index 0000000..158d625
--- /dev/null
@@ -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
+       
+       
diff --git a/tests/old/examples/queue2/Makefile b/tests/old/examples/queue2/Makefile
new file mode 100644 (file)
index 0000000..1046e15
--- /dev/null
@@ -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
+       
+       
diff --git a/tests/old/examples/queue3/Makefile b/tests/old/examples/queue3/Makefile
new file mode 100644 (file)
index 0000000..3d55de9
--- /dev/null
@@ -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
+       
+       
index fba4eba..bf8e2ef 100644 (file)
@@ -1,8 +1,7 @@
-
 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
index 408cb6e..3006f9e 100644 (file)
@@ -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
index e15dfc9..1df7ca6 100644 (file)
@@ -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