From 4e061e403e8a5ab5f041a54a6852c69e6b00b368 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 13 Feb 2009 13:06:29 +0100 Subject: v4l2-apps: move libraries around to make the directory tree flatter From: Hans Verkuil Instead of having libv4l2util in v4l2-apps/lib and libv4l in v4l2-apps/lib/libv4l, both are now moved to v4l2-apps/libv4l2util and v4l2-apps/libv4l. This is much cleaner and less confusing. Priority: normal Signed-off-by: Hans Verkuil --- v4l2-apps/libv4l2util/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 v4l2-apps/libv4l2util/Makefile (limited to 'v4l2-apps/libv4l2util/Makefile') diff --git a/v4l2-apps/libv4l2util/Makefile b/v4l2-apps/libv4l2util/Makefile new file mode 100644 index 000000000..f3f413071 --- /dev/null +++ b/v4l2-apps/libv4l2util/Makefile @@ -0,0 +1,33 @@ +# Makefile for linuxtv.org v4l2-apps/lib + +CPPFLAGS += -I../include -I.. + +includes = libv4l2util.h + +objects = frequencies.o v4l2_driver.o + +sharedlib = libv4l2util.so +staticlib = libv4l2util.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