summaryrefslogtreecommitdiff
path: root/omap/Makefile.am
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2019-10-16 17:33:28 -0400
committerMarek Olšák <marek.olsak@amd.com>2019-10-16 17:33:28 -0400
commit51e3bb566558b9b1b76fd81895ba3584907d02de (patch)
tree28fd20099c1f42adbaea79d2a7f95d2a86e69aa7 /omap/Makefile.am
parent05734951d68feaf1ce321676387dc383f7c3d7fc (diff)
downloadlibdrm-51e3bb566558b9b1b76fd81895ba3584907d02de.tar.gz
libdrm-51e3bb566558b9b1b76fd81895ba3584907d02de.tar.bz2
libdrm-51e3bb566558b9b1b76fd81895ba3584907d02de.zip
Revert "libdrm: remove autotools support"
This reverts commit f057dc91e93ae21e11ab48a26127d569972f3eae.
Diffstat (limited to 'omap/Makefile.am')
-rw-r--r--omap/Makefile.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/omap/Makefile.am b/omap/Makefile.am
new file mode 100644
index 00000000..38a1007b
--- /dev/null
+++ b/omap/Makefile.am
@@ -0,0 +1,26 @@
+AM_CFLAGS = \
+ $(WARN_CFLAGS) \
+ -fvisibility=hidden \
+ -I$(top_srcdir) \
+ $(PTHREADSTUBS_CFLAGS) \
+ -I$(top_srcdir)/include/drm
+
+libdrm_omap_la_LTLIBRARIES = libdrm_omap.la
+libdrm_omap_ladir = $(libdir)
+libdrm_omap_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+libdrm_omap_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
+
+libdrm_omap_la_SOURCES = omap_drm.c
+
+libdrm_omapcommonincludedir = ${includedir}/omap
+libdrm_omapcommoninclude_HEADERS = omap_drm.h
+
+libdrm_omapincludedir = ${includedir}/libdrm
+libdrm_omapinclude_HEADERS = omap_drmif.h
+
+pkgconfigdir = @pkgconfigdir@
+pkgconfig_DATA = libdrm_omap.pc
+
+AM_TESTS_ENVIRONMENT = NM='$(NM)'
+TESTS = omap-symbol-check
+EXTRA_DIST = $(TESTS)