OSDN Git Service

RELEASING: update instructions to use meson instead of autotools
[android-x86/external-libdrm.git] / freedreno / Makefile.am
1 AUTOMAKE_OPTIONS=subdir-objects
2 include Makefile.sources
3
4 AM_CFLAGS = \
5         $(WARN_CFLAGS) \
6         -fvisibility=hidden \
7         -I$(top_srcdir) \
8         $(PTHREADSTUBS_CFLAGS) \
9         $(VALGRIND_CFLAGS) \
10         -I$(top_srcdir)/include/drm
11
12 libdrm_freedreno_la_LTLIBRARIES = libdrm_freedreno.la
13 libdrm_freedreno_ladir = $(libdir)
14 libdrm_freedreno_la_LDFLAGS = -version-number 1:0:0 -no-undefined
15 libdrm_freedreno_la_LIBADD = \
16         ../libdrm.la \
17         @PTHREADSTUBS_LIBS@ \
18         @CLOCK_LIB@
19
20 libdrm_freedreno_la_SOURCES = $(LIBDRM_FREEDRENO_FILES)
21 if HAVE_FREEDRENO_KGSL
22 libdrm_freedreno_la_SOURCES += $(LIBDRM_FREEDRENO_KGSL_FILES)
23 endif
24
25 libdrm_freedrenocommonincludedir = ${includedir}/freedreno
26 libdrm_freedrenocommoninclude_HEADERS = $(LIBDRM_FREEDRENO_H_FILES)
27
28 pkgconfigdir = @pkgconfigdir@
29 pkgconfig_DATA = libdrm_freedreno.pc
30
31 AM_TESTS_ENVIRONMENT = NM='$(NM)'
32 TESTS = freedreno-symbol-check
33 EXTRA_DIST = $(TESTS)