49471e966fd00d93ee16c242734d4b60d80f317b
[platform/upstream/libdrm.git] / freedreno / Makefile.am
1 AUTOMAKE_OPTIONS=subdir-objects
2
3 AM_CFLAGS = \
4         $(WARN_CFLAGS) \
5         $(VISIBILITY_CFLAGS) \
6         -I$(top_srcdir) \
7         -I$(top_srcdir)/freedreno \
8         $(PTHREADSTUBS_CFLAGS) \
9         -I$(top_srcdir)/include/drm
10
11 libdrm_freedreno_la_LTLIBRARIES = libdrm_freedreno.la
12 libdrm_freedreno_ladir = $(libdir)
13 libdrm_freedreno_la_LDFLAGS = -version-number 1:0:0 -no-undefined
14 libdrm_freedreno_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
15
16 libdrm_freedreno_la_SOURCES = \
17         freedreno_device.c \
18         freedreno_pipe.c \
19         freedreno_priv.h \
20         freedreno_ringbuffer.c \
21         freedreno_bo.c \
22         kgsl/kgsl_bo.c \
23         kgsl/kgsl_device.c \
24         kgsl/kgsl_drm.h \
25         kgsl/kgsl_pipe.c \
26         kgsl/kgsl_priv.h \
27         kgsl/kgsl_ringbuffer.c \
28         kgsl/msm_kgsl.h \
29         msm/msm_bo.c \
30         msm/msm_device.c \
31         msm/msm_drm.h \
32         msm/msm_pipe.c \
33         msm/msm_priv.h \
34         msm/msm_ringbuffer.c \
35         list.h
36
37 libdrm_freedrenocommonincludedir = ${includedir}/freedreno
38 libdrm_freedrenocommoninclude_HEADERS = freedreno_drmif.h freedreno_ringbuffer.h
39
40 pkgconfigdir = @pkgconfigdir@
41 pkgconfig_DATA = libdrm_freedreno.pc