2013-08-29 14:31:53 -06:00
|
|
|
AUTOMAKE_OPTIONS=subdir-objects
|
2014-08-24 12:26:14 -06:00
|
|
|
include Makefile.sources
|
2013-08-29 14:31:53 -06:00
|
|
|
|
2012-10-07 17:57:31 -06:00
|
|
|
AM_CFLAGS = \
|
|
|
|
$(WARN_CFLAGS) \
|
2018-09-13 17:24:32 -06:00
|
|
|
-fvisibility=hidden \
|
2012-10-07 17:57:31 -06:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(PTHREADSTUBS_CFLAGS) \
|
2017-03-21 17:44:57 -06:00
|
|
|
$(VALGRIND_CFLAGS) \
|
2012-10-07 17:57:31 -06:00
|
|
|
-I$(top_srcdir)/include/drm
|
|
|
|
|
|
|
|
libdrm_freedreno_la_LTLIBRARIES = libdrm_freedreno.la
|
|
|
|
libdrm_freedreno_ladir = $(libdir)
|
|
|
|
libdrm_freedreno_la_LDFLAGS = -version-number 1:0:0 -no-undefined
|
2015-04-01 09:53:42 -06:00
|
|
|
libdrm_freedreno_la_LIBADD = \
|
|
|
|
../libdrm.la \
|
|
|
|
@PTHREADSTUBS_LIBS@ \
|
|
|
|
@CLOCK_LIB@
|
2012-10-07 17:57:31 -06:00
|
|
|
|
2014-08-24 12:26:14 -06:00
|
|
|
libdrm_freedreno_la_SOURCES = $(LIBDRM_FREEDRENO_FILES)
|
2015-01-13 08:53:42 -07:00
|
|
|
if HAVE_FREEDRENO_KGSL
|
|
|
|
libdrm_freedreno_la_SOURCES += $(LIBDRM_FREEDRENO_KGSL_FILES)
|
|
|
|
endif
|
2012-10-07 17:57:31 -06:00
|
|
|
|
|
|
|
libdrm_freedrenocommonincludedir = ${includedir}/freedreno
|
2014-08-24 12:26:14 -06:00
|
|
|
libdrm_freedrenocommoninclude_HEADERS = $(LIBDRM_FREEDRENO_H_FILES)
|
2012-10-07 17:57:31 -06:00
|
|
|
|
|
|
|
pkgconfigdir = @pkgconfigdir@
|
|
|
|
pkgconfig_DATA = libdrm_freedreno.pc
|
2014-09-07 08:48:48 -06:00
|
|
|
|
2018-09-06 08:46:16 -06:00
|
|
|
AM_TESTS_ENVIRONMENT = NM='$(NM)'
|
2015-03-31 12:24:23 -06:00
|
|
|
TESTS = freedreno-symbol-check
|
2016-07-21 04:05:03 -06:00
|
|
|
EXTRA_DIST = $(TESTS)
|