i965_drv_video: don't export internal driver functions.
[platform/upstream/libva-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         -I$(top_srcdir)         \
27         -I$(top_srcdir)/va      \
28         -I$(top_srcdir)/va/x11  \
29         -DPTHREADS              \
30         $(DRM_CFLAGS)           \
31         $(NULL)
32
33 driver_cflags = \
34         -Wall                   \
35         -fvisibility=hidden     \
36         $(NULL)
37
38 driver_ldflags = \
39         -module -avoid-version  \
40         -no-undefined           \
41         -Wl,--no-undefined      \
42         $(DRM_LIBS) -ldrm_intel \
43         $(NULL)
44
45 source_c = \
46         gen6_mfc.c              \
47         gen6_mfd.c              \
48         gen6_vme.c              \
49         gen7_mfd.c              \
50         i965_avc_bsd.c          \
51         i965_avc_hw_scoreboard.c\
52         i965_avc_ildb.c         \
53         i965_drv_video.c        \
54         i965_encoder.c          \
55         i965_media.c            \
56         i965_media_h264.c       \
57         i965_media_mpeg2.c      \
58         i965_post_processing.c  \
59         i965_render.c           \
60         intel_batchbuffer.c     \
61         intel_batchbuffer_dump.c\
62         intel_driver.c          \
63         intel_memman.c          \
64         object_heap.c           \
65         $(NULL)
66
67 source_h = \
68         gen6_mfc.h              \
69         gen6_mfd.h              \
70         gen6_vme.h              \
71         gen7_mfd.h              \
72         i965_avc_bsd.h          \
73         i965_avc_hw_scoreboard.h\
74         i965_avc_ildb.h         \
75         i965_defines.h          \
76         i965_drv_video.h        \
77         i965_encoder.h          \
78         i965_media.h            \
79         i965_media_h264.h       \
80         i965_media_mpeg2.h      \
81         i965_mutext.h           \
82         i965_post_processing.h  \
83         i965_render.h           \
84         i965_structs.h          \
85         intel_batchbuffer.h     \
86         intel_batchbuffer_dump.h\
87         intel_compiler.h        \
88         intel_driver.h          \
89         intel_memman.h          \
90         object_heap.h           \
91         $(NULL)
92
93 i965_drv_video_la_LTLIBRARIES   = i965_drv_video.la
94 i965_drv_video_ladir            = $(LIBVA_DRIVERS_PATH)
95 i965_drv_video_la_CFLAGS        = $(driver_cflags)
96 i965_drv_video_la_LDFLAGS       = $(driver_ldflags)
97 i965_drv_video_la_LIBADD        = $(top_builddir)/va/libva-x11.la -lpthread
98 i965_drv_video_la_SOURCES       = $(source_c)
99 noinst_HEADERS                  = $(source_h)