i965_drv_video: cosmetics (cleanup Makefile).
[profile/ivi/vaapi-intel-driver.git] / Makefile.am
1 # Copyright (c) 2007 Intel Corporation. All Rights Reserved.
2 #
3 # Permission is hereby granted, free of charge, to any person obtaining a
4 # copy of this software and associated documentation files (the
5 # "Software"), to deal in the Software without restriction, including
6 # without limitation the rights to use, copy, modify, merge, publish,
7 # distribute, sub license, and/or sell copies of the Software, and to
8 # permit persons to whom the Software is furnished to do so, subject to
9 # the following conditions:
10
11 # The above copyright notice and this permission notice (including the
12 # next paragraph) shall be included in all copies or substantial portions
13 # of the Software.
14
15 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
18 # IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
19 # ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
23 SUBDIRS = shaders
24
25 INCLUDES = \
26         -Wall                   \
27         -I$(top_srcdir)         \
28         -I$(top_srcdir)/va      \
29         -I$(top_srcdir)/va/x11  \
30         -DPTHREADS              \
31         $(DRM_CFLAGS)           \
32         $(NULL)
33
34 driver_ldflags = \
35         -module -avoid-version  \
36         -no-undefined           \
37         -Wl,--no-undefined      \
38         $(DRM_LIBS) -ldrm_intel \
39         $(NULL)
40
41 source_c = \
42         gen6_mfc.c              \
43         gen6_mfd.c              \
44         gen6_vme.c              \
45         gen7_mfd.c              \
46         i965_avc_bsd.c          \
47         i965_avc_hw_scoreboard.c\
48         i965_avc_ildb.c         \
49         i965_drv_video.c        \
50         i965_encoder.c          \
51         i965_media.c            \
52         i965_media_h264.c       \
53         i965_media_mpeg2.c      \
54         i965_post_processing.c  \
55         i965_render.c           \
56         intel_batchbuffer.c     \
57         intel_batchbuffer_dump.c\
58         intel_driver.c          \
59         intel_memman.c          \
60         object_heap.c           \
61         $(NULL)
62
63 source_h = \
64         gen6_mfc.h              \
65         gen6_mfd.h              \
66         gen6_vme.h              \
67         gen7_mfd.h              \
68         i965_avc_bsd.h          \
69         i965_avc_hw_scoreboard.h\
70         i965_avc_ildb.h         \
71         i965_defines.h          \
72         i965_drv_video.h        \
73         i965_encoder.h          \
74         i965_media.h            \
75         i965_media_h264.h       \
76         i965_media_mpeg2.h      \
77         i965_mutext.h           \
78         i965_post_processing.h  \
79         i965_render.h           \
80         i965_structs.h          \
81         intel_batchbuffer.h     \
82         intel_batchbuffer_dump.h\
83         intel_compiler.h        \
84         intel_driver.h          \
85         intel_memman.h          \
86         object_heap.h           \
87         $(NULL)
88
89 i965_drv_video_la_LTLIBRARIES   = i965_drv_video.la
90 i965_drv_video_ladir            = $(LIBVA_DRIVERS_PATH)
91 i965_drv_video_la_LDFLAGS       = $(driver_ldflags)
92 i965_drv_video_la_LIBADD        = $(top_builddir)/va/libva-x11.la -lpthread
93 i965_drv_video_la_SOURCES       = $(source_c)
94 noinst_HEADERS                  = $(source_h)