Home | History | Annotate | Download | only in user_space
      1 #
      2 # v4l-test: Test environment for Video For Linux Two API
      3 #
      4 # 16 Jul 2009  0.19 test_VIDIOC_JPEGCOMP.c and
      5 #                   test_VIDIOC_ENUM_FRAMESIZES.c added
      6 #  5 Jul 2009  0.18 v4l2_foreach.c added
      7 # 19 May 2009  0.17 test_VIDIOC_EXT_CTRLS.c added
      8 #  7 May 2009  0.16 v4l2_show.c added
      9 #  5 May 2009  0.15 test_VIDIOC_QUERYBUF.c added
     10 # 25 Apr 2009  0.14 test_VIDIOC_REQBUFS.c added
     11 #  5 Apr 2009  0.13 test_VIDIOC_QUERYMENU.c added
     12 #  4 Apr 2009  0.12 test_VIDIOC_FMT.c added
     13 # 22 Mar 2009  0.11 test_VIDIOC_OUTPUT.c added,
     14 #                   test_VIDIOC_G_SLICED_VBI_CAP.c added
     15 # 18 Mar 2009  0.10 test_VIDIOC_PARM.c added
     16 # 19 Feb 2009  0.9  test_VIDIOC_CTRL.c added
     17 #  7 Feb 2009  0.8  test_VIDIOC_CROP.c added
     18 #  3 Feb 2009  0.7  test_VIDIOC_AUDIO.c added,
     19 #                   test_VIDIOC_AUDOUT.c added,
     20 #  2 Feb 2009  0.6  test_VIDIOC_MODULATOR.c added,
     21 #                   test_VIDIOC_PRIORITY.c added
     22 # 31 Jan 2009  0.5  test_VIDIOC_TUNER.c added,
     23 #                   test_VIDIOC_FREQUENCY.c added,
     24 #                   test_VIDIOC_QUERYSTD.c added,
     25 #                   v4l2_validator.c added
     26 #  1 Jan 2009  0.4  test_VIDIOC_ENUMOUTPUT.c added,
     27 #                   test_VIDIOC_QUERYCTRL.c added
     28 # 23 Dec 2008  0.3  test_VIDIOC_LOG_STATUS.c added
     29 # 22 Dec 2008  0.2  test_VIDIOC_QUERYCAP.c added
     30 # 18 Dec 2008  0.1  First release
     31 #
     32 # Written by Mrton Nmeth <nm127 (at] freemail.hu>
     33 # Released under GPL
     34 #
     35 
     36 CFLAGS = -O2 -Wall -W
     37 #CFLAGS += -g
     38 LDFLAGS = -lcunit
     39 
     40 # TODO: handle dependencies
     41 
     42 OBJS = dev_video.o \
     43        v4l2_validator.o \
     44        v4l2_foreach.o \
     45        test_VIDIOC_QUERYCAP.o \
     46        test_VIDIOC_ENUMAUDIO.o \
     47        test_VIDIOC_ENUMAUDOUT.o \
     48        test_VIDIOC_ENUM_FMT.o \
     49        test_VIDIOC_JPEGCOMP.o \
     50        test_VIDIOC_ENUMINPUT.o \
     51        test_VIDIOC_ENUMOUTPUT.o \
     52        test_VIDIOC_ENUMSTD.o \
     53        test_VIDIOC_ENUM_FRAMESIZES.o \
     54        test_VIDIOC_LOG_STATUS.o \
     55        test_VIDIOC_CROPCAP.o \
     56        test_VIDIOC_G_SLICED_VBI_CAP.o \
     57        test_VIDIOC_CROP.o \
     58        test_VIDIOC_QUERYCTRL.o \
     59        test_VIDIOC_QUERYMENU.o \
     60        test_VIDIOC_QUERYSTD.o \
     61        test_VIDIOC_STD.o \
     62        test_VIDIOC_INPUT.o \
     63        test_VIDIOC_OUTPUT.o \
     64        test_VIDIOC_TUNER.o \
     65        test_VIDIOC_MODULATOR.o \
     66        test_VIDIOC_FREQUENCY.o \
     67        test_VIDIOC_PRIORITY.o \
     68        test_VIDIOC_AUDIO.o \
     69        test_VIDIOC_AUDOUT.o \
     70        test_VIDIOC_CTRL.o \
     71        test_VIDIOC_EXT_CTRLS.o \
     72        test_VIDIOC_PARM.o \
     73        test_VIDIOC_FMT.o \
     74        test_VIDIOC_REQBUFS.o \
     75        test_VIDIOC_QUERYBUF.o \
     76        test_invalid_ioctl.o \
     77        v4l2_show.o \
     78        v4l2_test.o
     79 
     80 all: $(OBJS)
     81 	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o v4l-test
     82 
     83 clean:
     84 	rm -f $(OBJS)
     85 	rm -f v4l-test
     86