summaryrefslogtreecommitdiff
path: root/tegra/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tegra/Makefile.am')
-rw-r--r--tegra/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/tegra/Makefile.am b/tegra/Makefile.am
new file mode 100644
index 00000000..53119970
--- /dev/null
+++ b/tegra/Makefile.am
@@ -0,0 +1,27 @@
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/include/drm
+
+AM_CFLAGS = \
+ @PTHREADSTUBS_CFLAGS@ \
+ $(WARN_CFLAGS) \
+ -fvisibility=hidden
+
+libdrm_tegra_ladir = $(libdir)
+libdrm_tegra_la_LTLIBRARIES = libdrm_tegra.la
+libdrm_tegra_la_LDFLAGS = -version-number 0:0:0 -no-undefined
+libdrm_tegra_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
+
+libdrm_tegra_la_SOURCES = \
+ private.h \
+ tegra.c
+
+libdrm_tegraincludedir = ${includedir}/libdrm
+libdrm_tegrainclude_HEADERS = tegra.h
+
+pkgconfigdir = @pkgconfigdir@
+pkgconfig_DATA = libdrm_tegra.pc
+
+AM_TESTS_ENVIRONMENT = NM='$(NM)'
+TESTS = tegra-symbol-check
+EXTRA_DIST = $(TESTS)