From 03f118a31b76f1042007bccdbcd23168f3bc42e2 Mon Sep 17 00:00:00 2001
From: Hans Verkuil <hverkuil@xs4all.nl>
Date: Sat, 1 Jul 2006 14:41:32 +0200
Subject: Fix makefiles, start with libv4l2.

From: Hans Verkuil <hverkuil@xs4all.nl>



Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
---
 v4l2-apps/lib/Makefile | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 v4l2-apps/lib/Makefile

(limited to 'v4l2-apps/lib/Makefile')

diff --git a/v4l2-apps/lib/Makefile b/v4l2-apps/lib/Makefile
new file mode 100644
index 000000000..8143370d7
--- /dev/null
+++ b/v4l2-apps/lib/Makefile
@@ -0,0 +1,33 @@
+# Makefile for linuxtv.org v4l2-apps/lib
+
+CPPFLAGS += -I../../include -I..
+
+includes = v4l2.h
+
+objects  = frequencies.o
+
+sharedlib = libv4l2.so
+staticlib = libv4l2.a
+
+ifeq ($(prefix),)
+prefix = /usr
+endif
+
+.PHONY: all clean install
+
+all: $(sharedlib) $(staticlib)
+
+$(sharedlib): $(objects)
+
+$(staticlib): $(objects)
+
+clean::
+	rm -f $(objects) $(sharedlib) $(staticlib)
+
+install:
+	mkdir -p $(prefix)/include
+	cp $(includes) $(prefix)/include
+	mkdir -p $(prefix)/lib
+	cp $(sharedlib) $(staticlib) $(prefix)/lib
+
+include ../Make.rules
-- 
cgit v1.2.3


From 7e6d5559eb8f8af6ecb2fa9aae099bfe9f4779c3 Mon Sep 17 00:00:00 2001
From: Hans Verkuil <hverkuil@xs4all.nl>
Date: Sat, 1 Jul 2006 17:21:44 +0200
Subject: Add ISO-V4L2_STD mapping.

From: Hans Verkuil <hverkuil@xs4all.nl>



Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
---
 v4l2-apps/lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'v4l2-apps/lib/Makefile')

diff --git a/v4l2-apps/lib/Makefile b/v4l2-apps/lib/Makefile
index 8143370d7..a69615bdc 100644
--- a/v4l2-apps/lib/Makefile
+++ b/v4l2-apps/lib/Makefile
@@ -1,6 +1,6 @@
 # Makefile for linuxtv.org v4l2-apps/lib
 
-CPPFLAGS += -I../../include -I..
+CPPFLAGS += -I../../linux/include -I..
 
 includes = v4l2.h
 
-- 
cgit v1.2.3