summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTodor Tomov <ttomov@mm-sol.com>2011-02-03 10:50:49 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-02-07 16:32:52 +0100
commit79bed4f42e9b9089eb0e0626f3accb762177edf6 (patch)
treef769ceb531bb02cf061b592b3dd7dcf3ec56f2ef /src
parentd4968694e251f603e7c2b91608746cf4c382723a (diff)
Build libmedia and libsubdev
Build media controller and v4l2 subdevice shared libraries. Use libtool for building. Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b112ba6..d811f08 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,9 @@
+lib_LTLIBRARIES = libmedia.la libsubdev.la
+libmedia_la_SOURCES = media.c
+libsubdev_la_SOURCES = subdev.c
+include_HEADERS = media.h subdev.h
+
bin_PROGRAMS = media-ctl
-media_ctl_SOURCES = main.c media.c media.h options.c options.h subdev.c subdev.h tools.h
+media_ctl_SOURCES = main.c options.c options.h tools.h
+media_ctl_LDADD = libmedia.la libsubdev.la