summaryrefslogtreecommitdiff
path: root/nouveau/Makefile.am
blob: 344a84454e420044afb5f83bfd51f4f78eb75dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
include Makefile.sources

AM_CFLAGS = \
	$(WARN_CFLAGS) \
	-I$(top_srcdir) \
	$(PTHREADSTUBS_CFLAGS) \
	-I$(top_srcdir)/include/drm \
	-DDEBUG

libdrm_nouveau_la_LTLIBRARIES = libdrm_nouveau.la
libdrm_nouveau_ladir = $(libdir)
libdrm_nouveau_la_LDFLAGS = -version-number 2:0:0 -no-undefined
libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@

libdrm_nouveau_la_SOURCES = $(LIBDRM_NOUVEAU_FILES)

libdrm_nouveauincludedir = ${includedir}/libdrm/nouveau
libdrm_nouveauinclude_HEADERS = $(LIBDRM_NOUVEAU_H_FILES)

libdrm_nouveaunvifincludedir = ${includedir}/libdrm/nouveau/nvif
libdrm_nouveaunvifinclude_HEADERS = nvif/class.h \
				    nvif/cl0080.h \
				    nvif/cl9097.h \
				    nvif/if0002.h \
				    nvif/if0003.h \
				    nvif/ioctl.h \
				    nvif/unpack.h

pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = libdrm_nouveau.pc

TESTS = nouveau-symbol-check
EXTRA_DIST = $(TESTS)