diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-13 13:06:29 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-13 13:06:29 +0100 |
commit | 4e061e403e8a5ab5f041a54a6852c69e6b00b368 (patch) | |
tree | d288a6a3edad467d22fc7cb7a022b327060a0733 | |
parent | d9fcd7e5495fbd0fe020223823338d21ce31dcaf (diff) | |
download | mediapointer-dvb-s2-4e061e403e8a5ab5f041a54a6852c69e6b00b368.tar.gz mediapointer-dvb-s2-4e061e403e8a5ab5f041a54a6852c69e6b00b368.tar.bz2 |
v4l2-apps: move libraries around to make the directory tree flatter
From: Hans Verkuil <hverkuil@xs4all.nl>
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 <hverkuil@xs4all.nl>
-rw-r--r-- | v4l2-apps/Makefile | 3 | ||||
-rw-r--r-- | v4l2-apps/libv4l/COPYING.LIB (renamed from v4l2-apps/lib/COPYING.LIB) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/ChangeLog (renamed from v4l2-apps/lib/libv4l/ChangeLog) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/Makefile (renamed from v4l2-apps/lib/libv4l/Makefile) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/README (renamed from v4l2-apps/lib/libv4l/README) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/README.multi-threading (renamed from v4l2-apps/lib/libv4l/README.multi-threading) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/TODO (renamed from v4l2-apps/lib/libv4l/TODO) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/include/libv4l1.h (renamed from v4l2-apps/lib/libv4l/include/libv4l1.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/include/libv4l2.h (renamed from v4l2-apps/lib/libv4l/include/libv4l2.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/include/libv4lconvert.h (renamed from v4l2-apps/lib/libv4l/include/libv4lconvert.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l1/Makefile (renamed from v4l2-apps/lib/libv4l/libv4l1/Makefile) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l1/libv4l1-priv.h (renamed from v4l2-apps/lib/libv4l/libv4l1/libv4l1-priv.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l1/libv4l1.c (renamed from v4l2-apps/lib/libv4l/libv4l1/libv4l1.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l1/log.c (renamed from v4l2-apps/lib/libv4l/libv4l1/log.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l1/v4l1compat.c (renamed from v4l2-apps/lib/libv4l/libv4l1/v4l1compat.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l2/Makefile (renamed from v4l2-apps/lib/libv4l/libv4l2/Makefile) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l2/libv4l2-priv.h (renamed from v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l2/libv4l2.c (renamed from v4l2-apps/lib/libv4l/libv4l2/libv4l2.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l2/log.c (renamed from v4l2-apps/lib/libv4l/libv4l2/log.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4l2/v4l2convert.c (renamed from v4l2-apps/lib/libv4l/libv4l2/v4l2convert.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/Makefile (renamed from v4l2-apps/lib/libv4l/libv4lconvert/Makefile) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/bayer.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/bayer.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/flip.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/flip.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/jidctflt.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/libv4lconvert-priv.h (renamed from v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/libv4lconvert.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/pac207.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/pac207.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/rgbyuv.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/sn9c10x.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/sn9c10x.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/spca501.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/spca501.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/spca561-decompress.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/spca561-decompress.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/tinyjpeg-internal.h (renamed from v4l2-apps/lib/libv4l/libv4lconvert/tinyjpeg-internal.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/tinyjpeg.c (renamed from v4l2-apps/lib/libv4l/libv4lconvert/tinyjpeg.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/tinyjpeg.h (renamed from v4l2-apps/lib/libv4l/libv4lconvert/tinyjpeg.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l2util/COPYING.LIB (renamed from v4l2-apps/lib/libv4l/COPYING.LIB) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l2util/Makefile (renamed from v4l2-apps/lib/Makefile) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l2util/TODO (renamed from v4l2-apps/lib/TODO) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l2util/frequencies.c (renamed from v4l2-apps/lib/frequencies.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l2util/libv4l2util.h (renamed from v4l2-apps/lib/libv4l2util.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l2util/v4l2_driver.c (renamed from v4l2-apps/lib/v4l2_driver.c) | 0 | ||||
-rw-r--r-- | v4l2-apps/libv4l2util/v4l2_driver.h (renamed from v4l2-apps/lib/v4l2_driver.h) | 0 | ||||
-rw-r--r-- | v4l2-apps/test/Makefile | 6 | ||||
-rw-r--r-- | v4l2-apps/test/driver-test.c | 2 | ||||
-rw-r--r-- | v4l2-apps/util/Makefile | 8 | ||||
-rw-r--r-- | v4l2-apps/util/qv4l2/qv4l2.pro | 4 | ||||
-rw-r--r-- | v4l2-apps/util/v4l2_sysfs_path.c | 2 |
46 files changed, 13 insertions, 12 deletions
diff --git a/v4l2-apps/Makefile b/v4l2-apps/Makefile index 2bba8fcd4..86b5bc267 100644 --- a/v4l2-apps/Makefile +++ b/v4l2-apps/Makefile @@ -5,7 +5,8 @@ all:: prepare-includes all clean install:: - $(MAKE) -C lib $@ + $(MAKE) -C libv4l $@ + $(MAKE) -C libv4l2util $@ $(MAKE) -C util $@ $(MAKE) -C test $@ diff --git a/v4l2-apps/lib/COPYING.LIB b/v4l2-apps/libv4l/COPYING.LIB index 1dd325d2b..1dd325d2b 100644 --- a/v4l2-apps/lib/COPYING.LIB +++ b/v4l2-apps/libv4l/COPYING.LIB diff --git a/v4l2-apps/lib/libv4l/ChangeLog b/v4l2-apps/libv4l/ChangeLog index dd53eced9..dd53eced9 100644 --- a/v4l2-apps/lib/libv4l/ChangeLog +++ b/v4l2-apps/libv4l/ChangeLog diff --git a/v4l2-apps/lib/libv4l/Makefile b/v4l2-apps/libv4l/Makefile index 4c99c3167..4c99c3167 100644 --- a/v4l2-apps/lib/libv4l/Makefile +++ b/v4l2-apps/libv4l/Makefile diff --git a/v4l2-apps/lib/libv4l/README b/v4l2-apps/libv4l/README index 3a2059224..3a2059224 100644 --- a/v4l2-apps/lib/libv4l/README +++ b/v4l2-apps/libv4l/README diff --git a/v4l2-apps/lib/libv4l/README.multi-threading b/v4l2-apps/libv4l/README.multi-threading index 93b393c8c..93b393c8c 100644 --- a/v4l2-apps/lib/libv4l/README.multi-threading +++ b/v4l2-apps/libv4l/README.multi-threading diff --git a/v4l2-apps/lib/libv4l/TODO b/v4l2-apps/libv4l/TODO index f3f9ff527..f3f9ff527 100644 --- a/v4l2-apps/lib/libv4l/TODO +++ b/v4l2-apps/libv4l/TODO diff --git a/v4l2-apps/lib/libv4l/include/libv4l1.h b/v4l2-apps/libv4l/include/libv4l1.h index c878cc198..c878cc198 100644 --- a/v4l2-apps/lib/libv4l/include/libv4l1.h +++ b/v4l2-apps/libv4l/include/libv4l1.h diff --git a/v4l2-apps/lib/libv4l/include/libv4l2.h b/v4l2-apps/libv4l/include/libv4l2.h index b05b57cb6..b05b57cb6 100644 --- a/v4l2-apps/lib/libv4l/include/libv4l2.h +++ b/v4l2-apps/libv4l/include/libv4l2.h diff --git a/v4l2-apps/lib/libv4l/include/libv4lconvert.h b/v4l2-apps/libv4l/include/libv4lconvert.h index 626c43473..626c43473 100644 --- a/v4l2-apps/lib/libv4l/include/libv4lconvert.h +++ b/v4l2-apps/libv4l/include/libv4lconvert.h diff --git a/v4l2-apps/lib/libv4l/libv4l1/Makefile b/v4l2-apps/libv4l/libv4l1/Makefile index 27848477e..27848477e 100644 --- a/v4l2-apps/lib/libv4l/libv4l1/Makefile +++ b/v4l2-apps/libv4l/libv4l1/Makefile diff --git a/v4l2-apps/lib/libv4l/libv4l1/libv4l1-priv.h b/v4l2-apps/libv4l/libv4l1/libv4l1-priv.h index 651599255..651599255 100644 --- a/v4l2-apps/lib/libv4l/libv4l1/libv4l1-priv.h +++ b/v4l2-apps/libv4l/libv4l1/libv4l1-priv.h diff --git a/v4l2-apps/lib/libv4l/libv4l1/libv4l1.c b/v4l2-apps/libv4l/libv4l1/libv4l1.c index 797c8768a..797c8768a 100644 --- a/v4l2-apps/lib/libv4l/libv4l1/libv4l1.c +++ b/v4l2-apps/libv4l/libv4l1/libv4l1.c diff --git a/v4l2-apps/lib/libv4l/libv4l1/log.c b/v4l2-apps/libv4l/libv4l1/log.c index 9ff0cea46..9ff0cea46 100644 --- a/v4l2-apps/lib/libv4l/libv4l1/log.c +++ b/v4l2-apps/libv4l/libv4l1/log.c diff --git a/v4l2-apps/lib/libv4l/libv4l1/v4l1compat.c b/v4l2-apps/libv4l/libv4l1/v4l1compat.c index e4293d2f9..e4293d2f9 100644 --- a/v4l2-apps/lib/libv4l/libv4l1/v4l1compat.c +++ b/v4l2-apps/libv4l/libv4l1/v4l1compat.c diff --git a/v4l2-apps/lib/libv4l/libv4l2/Makefile b/v4l2-apps/libv4l/libv4l2/Makefile index 648d27c0c..648d27c0c 100644 --- a/v4l2-apps/lib/libv4l/libv4l2/Makefile +++ b/v4l2-apps/libv4l/libv4l2/Makefile diff --git a/v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h b/v4l2-apps/libv4l/libv4l2/libv4l2-priv.h index 8724832e1..8724832e1 100644 --- a/v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h +++ b/v4l2-apps/libv4l/libv4l2/libv4l2-priv.h diff --git a/v4l2-apps/lib/libv4l/libv4l2/libv4l2.c b/v4l2-apps/libv4l/libv4l2/libv4l2.c index b4a10afac..b4a10afac 100644 --- a/v4l2-apps/lib/libv4l/libv4l2/libv4l2.c +++ b/v4l2-apps/libv4l/libv4l2/libv4l2.c diff --git a/v4l2-apps/lib/libv4l/libv4l2/log.c b/v4l2-apps/libv4l/libv4l2/log.c index 6237d55ec..6237d55ec 100644 --- a/v4l2-apps/lib/libv4l/libv4l2/log.c +++ b/v4l2-apps/libv4l/libv4l2/log.c diff --git a/v4l2-apps/lib/libv4l/libv4l2/v4l2convert.c b/v4l2-apps/libv4l/libv4l2/v4l2convert.c index 307a03ce5..307a03ce5 100644 --- a/v4l2-apps/lib/libv4l/libv4l2/v4l2convert.c +++ b/v4l2-apps/libv4l/libv4l2/v4l2convert.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/Makefile b/v4l2-apps/libv4l/libv4lconvert/Makefile index 641d19d6e..641d19d6e 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/Makefile +++ b/v4l2-apps/libv4l/libv4lconvert/Makefile diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/bayer.c b/v4l2-apps/libv4l/libv4lconvert/bayer.c index ca7bb486f..ca7bb486f 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/bayer.c +++ b/v4l2-apps/libv4l/libv4lconvert/bayer.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/flip.c b/v4l2-apps/libv4l/libv4lconvert/flip.c index cd3468a89..cd3468a89 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/flip.c +++ b/v4l2-apps/libv4l/libv4lconvert/flip.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c b/v4l2-apps/libv4l/libv4lconvert/jidctflt.c index 532abc7ea..532abc7ea 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c +++ b/v4l2-apps/libv4l/libv4lconvert/jidctflt.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h b/v4l2-apps/libv4l/libv4lconvert/libv4lconvert-priv.h index 0c4eff6ce..0c4eff6ce 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h +++ b/v4l2-apps/libv4l/libv4lconvert/libv4lconvert-priv.h diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert.c b/v4l2-apps/libv4l/libv4lconvert/libv4lconvert.c index 93bc67c7e..93bc67c7e 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert.c +++ b/v4l2-apps/libv4l/libv4lconvert/libv4lconvert.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/pac207.c b/v4l2-apps/libv4l/libv4lconvert/pac207.c index 97ef4ebc0..97ef4ebc0 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/pac207.c +++ b/v4l2-apps/libv4l/libv4lconvert/pac207.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c b/v4l2-apps/libv4l/libv4lconvert/rgbyuv.c index 0f26b227a..0f26b227a 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c +++ b/v4l2-apps/libv4l/libv4lconvert/rgbyuv.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/sn9c10x.c b/v4l2-apps/libv4l/libv4lconvert/sn9c10x.c index 4ea526d49..4ea526d49 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/sn9c10x.c +++ b/v4l2-apps/libv4l/libv4lconvert/sn9c10x.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/spca501.c b/v4l2-apps/libv4l/libv4lconvert/spca501.c index 9157629e3..9157629e3 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/spca501.c +++ b/v4l2-apps/libv4l/libv4lconvert/spca501.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/spca561-decompress.c b/v4l2-apps/libv4l/libv4lconvert/spca561-decompress.c index 01eed4ec5..01eed4ec5 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/spca561-decompress.c +++ b/v4l2-apps/libv4l/libv4lconvert/spca561-decompress.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/tinyjpeg-internal.h b/v4l2-apps/libv4l/libv4lconvert/tinyjpeg-internal.h index 26844c28a..26844c28a 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/tinyjpeg-internal.h +++ b/v4l2-apps/libv4l/libv4lconvert/tinyjpeg-internal.h diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/tinyjpeg.c b/v4l2-apps/libv4l/libv4lconvert/tinyjpeg.c index fc9efbeb2..fc9efbeb2 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/tinyjpeg.c +++ b/v4l2-apps/libv4l/libv4lconvert/tinyjpeg.c diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/tinyjpeg.h b/v4l2-apps/libv4l/libv4lconvert/tinyjpeg.h index b0096f0de..b0096f0de 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/tinyjpeg.h +++ b/v4l2-apps/libv4l/libv4lconvert/tinyjpeg.h diff --git a/v4l2-apps/lib/libv4l/COPYING.LIB b/v4l2-apps/libv4l2util/COPYING.LIB index 1dd325d2b..1dd325d2b 100644 --- a/v4l2-apps/lib/libv4l/COPYING.LIB +++ b/v4l2-apps/libv4l2util/COPYING.LIB diff --git a/v4l2-apps/lib/Makefile b/v4l2-apps/libv4l2util/Makefile index f3f413071..f3f413071 100644 --- a/v4l2-apps/lib/Makefile +++ b/v4l2-apps/libv4l2util/Makefile diff --git a/v4l2-apps/lib/TODO b/v4l2-apps/libv4l2util/TODO index 456a916ce..456a916ce 100644 --- a/v4l2-apps/lib/TODO +++ b/v4l2-apps/libv4l2util/TODO diff --git a/v4l2-apps/lib/frequencies.c b/v4l2-apps/libv4l2util/frequencies.c index df8d47dba..df8d47dba 100644 --- a/v4l2-apps/lib/frequencies.c +++ b/v4l2-apps/libv4l2util/frequencies.c diff --git a/v4l2-apps/lib/libv4l2util.h b/v4l2-apps/libv4l2util/libv4l2util.h index fde7cdc75..fde7cdc75 100644 --- a/v4l2-apps/lib/libv4l2util.h +++ b/v4l2-apps/libv4l2util/libv4l2util.h diff --git a/v4l2-apps/lib/v4l2_driver.c b/v4l2-apps/libv4l2util/v4l2_driver.c index 94f826968..94f826968 100644 --- a/v4l2-apps/lib/v4l2_driver.c +++ b/v4l2-apps/libv4l2util/v4l2_driver.c diff --git a/v4l2-apps/lib/v4l2_driver.h b/v4l2-apps/libv4l2util/v4l2_driver.h index b5d5dd22d..b5d5dd22d 100644 --- a/v4l2-apps/lib/v4l2_driver.h +++ b/v4l2-apps/libv4l2util/v4l2_driver.h diff --git a/v4l2-apps/test/Makefile b/v4l2-apps/test/Makefile index e3879bc5e..554940edd 100644 --- a/v4l2-apps/test/Makefile +++ b/v4l2-apps/test/Makefile @@ -21,10 +21,10 @@ clean:: install: -../lib/libv4l2util.a: ../lib/v4l2_driver.c ../lib/frequencies.c - make -C ../lib libv4l2util.a +../libv4l2util/libv4l2util.a: ../libv4l2util/v4l2_driver.c ../libv4l2util/frequencies.c + make -C ../libv4l2util libv4l2util.a -driver-test: driver-test.o ../lib/libv4l2util.a +driver-test: driver-test.o ../libv4l2util/libv4l2util.a pixfmt-test: pixfmt-test.o $(CC) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lX11 diff --git a/v4l2-apps/test/driver-test.c b/v4l2-apps/test/driver-test.c index e4c16ed54..1f722e198 100644 --- a/v4l2-apps/test/driver-test.c +++ b/v4l2-apps/test/driver-test.c @@ -14,7 +14,7 @@ GNU General Public License for more details. */ -#include "../lib/v4l2_driver.h" +#include "../libv4l2util/v4l2_driver.h" #include <stdio.h> #include <string.h> #include <unistd.h> diff --git a/v4l2-apps/util/Makefile b/v4l2-apps/util/Makefile index 80bffc50d..4bfe22aa1 100644 --- a/v4l2-apps/util/Makefile +++ b/v4l2-apps/util/Makefile @@ -34,13 +34,13 @@ v4l2-dbg: v4l2-dbg.o v4l2-chipids.o v4l2-dbg.o: v4l2-dbg.h v4l2-dbg-bttv.h v4l2-dbg-em28xx.h v4l2-dbg-saa7134.h -v4l2_sysfs_path.o: v4l2_sysfs_path.c ../lib/v4l2_driver.h +v4l2_sysfs_path.o: v4l2_sysfs_path.c ../libv4l2util/v4l2_driver.h -v4l2_sysfs_path: v4l2_sysfs_path.o ../lib/libv4l2util.a +v4l2_sysfs_path: v4l2_sysfs_path.o ../libv4l2util/libv4l2util.a $(CC) $^ -o $@ -lsysfs -../lib/libv4l2util.a: - $(MAKE) -C ../lib libv4l2util.a +../libv4l2util/libv4l2util.a: + $(MAKE) -C ../libv4l2util libv4l2util.a install: mkdir -p $(prefix)/bin diff --git a/v4l2-apps/util/qv4l2/qv4l2.pro b/v4l2-apps/util/qv4l2/qv4l2.pro index 770c2d702..96adb7260 100644 --- a/v4l2-apps/util/qv4l2/qv4l2.pro +++ b/v4l2-apps/util/qv4l2/qv4l2.pro @@ -3,10 +3,10 @@ ###################################################################### TEMPLATE = app -INCLUDEPATH += . ../../include ../../lib +INCLUDEPATH += . ../../include ../../libv4l2util CONFIG += debug # Input HEADERS += qv4l2.h general-tab.h SOURCES += qv4l2.cpp general-tab.cpp ctrl-tab.cpp -LIBS += -lv4l2util -L../../lib +LIBS += -lv4l2util -L../../libv4l2util diff --git a/v4l2-apps/util/v4l2_sysfs_path.c b/v4l2-apps/util/v4l2_sysfs_path.c index 2fe89b6c7..e3f3e63e8 100644 --- a/v4l2-apps/util/v4l2_sysfs_path.c +++ b/v4l2-apps/util/v4l2_sysfs_path.c @@ -16,7 +16,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "../lib/v4l2_driver.h" +#include "../libv4l2util/v4l2_driver.h" #include <sysfs/libsysfs.h> #include <errno.h> #include <malloc.h> |