1AUTOMAKE_OPTIONS=subdir-objects
2include Makefile.sources
3
4AM_CFLAGS = \
5	$(WARN_CFLAGS) \
6	-I$(top_srcdir) \
7	$(PTHREADSTUBS_CFLAGS) \
8	-I$(top_srcdir)/include/drm
9
10libdrm_freedreno_la_LTLIBRARIES = libdrm_freedreno.la
11libdrm_freedreno_ladir = $(libdir)
12libdrm_freedreno_la_LDFLAGS = -version-number 1:0:0 -no-undefined
13libdrm_freedreno_la_LIBADD = \
14	../libdrm.la \
15	@PTHREADSTUBS_LIBS@ \
16	@CLOCK_LIB@
17
18libdrm_freedreno_la_SOURCES = $(LIBDRM_FREEDRENO_FILES)
19if HAVE_FREEDRENO_KGSL
20libdrm_freedreno_la_SOURCES += $(LIBDRM_FREEDRENO_KGSL_FILES)
21endif
22
23libdrm_freedrenocommonincludedir = ${includedir}/freedreno
24libdrm_freedrenocommoninclude_HEADERS = $(LIBDRM_FREEDRENO_H_FILES)
25
26pkgconfigdir = @pkgconfigdir@
27pkgconfig_DATA = libdrm_freedreno.pc
28
29TESTS = freedreno-symbol-check
30EXTRA_DIST = Android.mk $(TESTS)
31