17a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak#
27a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak# v4l-test: Test environment for Video For Linux Two API
37a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak#
4e60c7bfa31efdb665eac3ccfe9c87b4210683027subrata_modak# 16 Jul 2009  0.19 test_VIDIOC_JPEGCOMP.c and
5e60c7bfa31efdb665eac3ccfe9c87b4210683027subrata_modak#                   test_VIDIOC_ENUM_FRAMESIZES.c added
679c095df81db941d8e4d6595c045d90eae31c137subrata_modak#  5 Jul 2009  0.18 v4l2_foreach.c added
7fb89646921355702742d61af2a7fd161aea3f69fsubrata_modak# 19 May 2009  0.17 test_VIDIOC_EXT_CTRLS.c added
87564c8a7cf3d94e2d84b52c6e50c14bed1650b91subrata_modak#  7 May 2009  0.16 v4l2_show.c added
97564c8a7cf3d94e2d84b52c6e50c14bed1650b91subrata_modak#  5 May 2009  0.15 test_VIDIOC_QUERYBUF.c added
10c40b521b10941033d8b1c031bd02ab47240d5c93subrata_modak# 25 Apr 2009  0.14 test_VIDIOC_REQBUFS.c added
11c6701fc589fbfd84c6219c5669f3b1a2716f50f3subrata_modak#  5 Apr 2009  0.13 test_VIDIOC_QUERYMENU.c added
12c6701fc589fbfd84c6219c5669f3b1a2716f50f3subrata_modak#  4 Apr 2009  0.12 test_VIDIOC_FMT.c added
13c6701fc589fbfd84c6219c5669f3b1a2716f50f3subrata_modak# 22 Mar 2009  0.11 test_VIDIOC_OUTPUT.c added,
14c6701fc589fbfd84c6219c5669f3b1a2716f50f3subrata_modak#                   test_VIDIOC_G_SLICED_VBI_CAP.c added
152578b06823e5669ed5d6a96c47e74563f577ed9fsubrata_modak# 18 Mar 2009  0.10 test_VIDIOC_PARM.c added
164edf14a85b2796a144943d7bd54c4e2c44d1ab32subrata_modak# 19 Feb 2009  0.9  test_VIDIOC_CTRL.c added
17a157bd2fcb85f064d776ec857b64f8e070b710a9subrata_modak#  7 Feb 2009  0.8  test_VIDIOC_CROP.c added
1845246f90c20c93f3e3539627e078196af4a0eae2subrata_modak#  3 Feb 2009  0.7  test_VIDIOC_AUDIO.c added,
1945246f90c20c93f3e3539627e078196af4a0eae2subrata_modak#                   test_VIDIOC_AUDOUT.c added,
2045246f90c20c93f3e3539627e078196af4a0eae2subrata_modak#  2 Feb 2009  0.6  test_VIDIOC_MODULATOR.c added,
2145246f90c20c93f3e3539627e078196af4a0eae2subrata_modak#                   test_VIDIOC_PRIORITY.c added
22a8416d4639a5ea638dc4fc62c3f05512cd91e247subrata_modak# 31 Jan 2009  0.5  test_VIDIOC_TUNER.c added,
23a8416d4639a5ea638dc4fc62c3f05512cd91e247subrata_modak#                   test_VIDIOC_FREQUENCY.c added,
24a8416d4639a5ea638dc4fc62c3f05512cd91e247subrata_modak#                   test_VIDIOC_QUERYSTD.c added,
25a8416d4639a5ea638dc4fc62c3f05512cd91e247subrata_modak#                   v4l2_validator.c added
2610658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak#  1 Jan 2009  0.4  test_VIDIOC_ENUMOUTPUT.c added,
2710658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak#                   test_VIDIOC_QUERYCTRL.c added
2810658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak# 23 Dec 2008  0.3  test_VIDIOC_LOG_STATUS.c added
297a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak# 22 Dec 2008  0.2  test_VIDIOC_QUERYCAP.c added
307a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak# 18 Dec 2008  0.1  First release
317a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak#
327a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak# Written by M�rton N�meth <nm127@freemail.hu>
337a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak# Released under GPL
347a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak#
357a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak
3644226453e647bf90f8de0372c94f8fcd2f2bbe02vapierCFLAGS = -O2 -Wall -W
377a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak#CFLAGS += -g
387a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modakLDFLAGS = -lcunit
397a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak
4010658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak# TODO: handle dependencies
4110658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak
4210658ed800fa92bbfba86ed05d29ff26cb106844subrata_modakOBJS = dev_video.o \
43a8416d4639a5ea638dc4fc62c3f05512cd91e247subrata_modak       v4l2_validator.o \
4479c095df81db941d8e4d6595c045d90eae31c137subrata_modak       v4l2_foreach.o \
4510658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_QUERYCAP.o \
4610658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_ENUMAUDIO.o \
4710658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_ENUMAUDOUT.o \
4810658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_ENUM_FMT.o \
49e60c7bfa31efdb665eac3ccfe9c87b4210683027subrata_modak       test_VIDIOC_JPEGCOMP.o \
5010658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_ENUMINPUT.o \
5110658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_ENUMOUTPUT.o \
5210658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_ENUMSTD.o \
53e60c7bfa31efdb665eac3ccfe9c87b4210683027subrata_modak       test_VIDIOC_ENUM_FRAMESIZES.o \
5410658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_LOG_STATUS.o \
5510658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_CROPCAP.o \
56c6701fc589fbfd84c6219c5669f3b1a2716f50f3subrata_modak       test_VIDIOC_G_SLICED_VBI_CAP.o \
57a157bd2fcb85f064d776ec857b64f8e070b710a9subrata_modak       test_VIDIOC_CROP.o \
5810658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_QUERYCTRL.o \
59c6701fc589fbfd84c6219c5669f3b1a2716f50f3subrata_modak       test_VIDIOC_QUERYMENU.o \
60a8416d4639a5ea638dc4fc62c3f05512cd91e247subrata_modak       test_VIDIOC_QUERYSTD.o \
6110658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_STD.o \
6210658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_VIDIOC_INPUT.o \
63c6701fc589fbfd84c6219c5669f3b1a2716f50f3subrata_modak       test_VIDIOC_OUTPUT.o \
64a8416d4639a5ea638dc4fc62c3f05512cd91e247subrata_modak       test_VIDIOC_TUNER.o \
6545246f90c20c93f3e3539627e078196af4a0eae2subrata_modak       test_VIDIOC_MODULATOR.o \
66a8416d4639a5ea638dc4fc62c3f05512cd91e247subrata_modak       test_VIDIOC_FREQUENCY.o \
6745246f90c20c93f3e3539627e078196af4a0eae2subrata_modak       test_VIDIOC_PRIORITY.o \
6845246f90c20c93f3e3539627e078196af4a0eae2subrata_modak       test_VIDIOC_AUDIO.o \
6945246f90c20c93f3e3539627e078196af4a0eae2subrata_modak       test_VIDIOC_AUDOUT.o \
704edf14a85b2796a144943d7bd54c4e2c44d1ab32subrata_modak       test_VIDIOC_CTRL.o \
71fb89646921355702742d61af2a7fd161aea3f69fsubrata_modak       test_VIDIOC_EXT_CTRLS.o \
722578b06823e5669ed5d6a96c47e74563f577ed9fsubrata_modak       test_VIDIOC_PARM.o \
73c6701fc589fbfd84c6219c5669f3b1a2716f50f3subrata_modak       test_VIDIOC_FMT.o \
74c40b521b10941033d8b1c031bd02ab47240d5c93subrata_modak       test_VIDIOC_REQBUFS.o \
757564c8a7cf3d94e2d84b52c6e50c14bed1650b91subrata_modak       test_VIDIOC_QUERYBUF.o \
7610658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       test_invalid_ioctl.o \
777564c8a7cf3d94e2d84b52c6e50c14bed1650b91subrata_modak       v4l2_show.o \
7810658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak       v4l2_test.o
7910658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak
8010658ed800fa92bbfba86ed05d29ff26cb106844subrata_modakall: $(OBJS)
8110658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o v4l-test
827a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak
837a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modakclean:
8410658ed800fa92bbfba86ed05d29ff26cb106844subrata_modak	rm -f $(OBJS)
857a86bf3a7fbddf42ef6166f3bddd2278b1522b5asubrata_modak	rm -f v4l-test
86