summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/Makefile
blob: acec5c5402612a8f9134c7cb0e2cfb08d475b5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
LIB_RELEASE=0
V4L2_LIB_VERSION=$(LIB_RELEASE).5.99

all install:
	$(MAKE) -C libv4lconvert V4L2_LIB_VERSION=$(V4L2_LIB_VERSION) $@
	$(MAKE) -C libv4l2 V4L2_LIB_VERSION=$(V4L2_LIB_VERSION) $@
	$(MAKE) -C libv4l1 V4L2_LIB_VERSION=$(V4L2_LIB_VERSION) $@

clean:
	rm -f *~ include/*~ DEADJOE include/DEADJOE
	$(MAKE) -C libv4lconvert V4L2_LIB_VERSION=$(V4L2_LIB_VERSION) $@
	$(MAKE) -C libv4l2 V4L2_LIB_VERSION=$(V4L2_LIB_VERSION) $@
	$(MAKE) -C libv4l1 V4L2_LIB_VERSION=$(V4L2_LIB_VERSION) $@

export: clean
	tar --transform s/^\./libv4l-$(V4L2_LIB_VERSION)/g -zcvf \
		/tmp/libv4l-$(V4L2_LIB_VERSION).tar.gz .