aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Høgsberg2009-11-17 10:14:54 -0600
committerKristian Høgsberg2009-11-17 10:15:06 -0600
commit4f57abfe66091281c9f59c14e6ea27b524b55d5b (patch)
treef00d1022cf208b381b93aa5c96858164e6a3f602 /Makefile.am
parent9dd3613073aa2491cef440725fdfa0cf1e8f1a42 (diff)
downloadexternal-libdrm-4f57abfe66091281c9f59c14e6ea27b524b55d5b.tar.gz
external-libdrm-4f57abfe66091281c9f59c14e6ea27b524b55d5b.tar.xz
external-libdrm-4f57abfe66091281c9f59c14e6ea27b524b55d5b.zip
Move libdrm/ up one level
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am35
1 files changed, 33 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 31b20e95..aa591010 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,12 +19,43 @@
19# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 20
21AUTOMAKE_OPTIONS = foreign 21AUTOMAKE_OPTIONS = foreign
22SUBDIRS = libdrm tests
23 22
24pkgconfigdir = @pkgconfigdir@ 23pkgconfigdir = @pkgconfigdir@
25pkgconfig_DATA = libdrm.pc 24pkgconfig_DATA = libdrm.pc
26 25
27EXTRA_DIST = libdrm.pc.in include/drm/* 26if HAVE_INTEL
27INTEL_SUBDIR = intel
28endif
29
30if HAVE_NOUVEAU
31NOUVEAU_SUBDIR = nouveau
32endif
33
34if HAVE_RADEON
35RADEON_SUBDIR = radeon
36endif
37
38SUBDIRS = . $(INTEL_SUBDIR) $(NOUVEAU_SUBDIR) $(RADEON_SUBDIR) tests
39
40libdrm_la_LTLIBRARIES = libdrm.la
41libdrm_ladir = $(libdir)
42libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined
43libdrm_la_LIBADD = @CLOCK_LIB@
44
45libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm
46
47libdrm_la_SOURCES = \
48 xf86drm.c \
49 xf86drmHash.c \
50 xf86drmRandom.c \
51 xf86drmSL.c \
52 xf86drmMode.c \
53 libdrm_lists.h
54
55libdrmincludedir = ${includedir}
56libdrminclude_HEADERS = xf86drm.h xf86drmMode.h
57
58EXTRA_DIST = ChangeLog TODO libdrm.pc.in include/drm/*
28 59
29copy-headers : 60copy-headers :
30 cp -r $(kernel_source)/usr/include/drm $(top_srcdir)/include 61 cp -r $(kernel_source)/usr/include/drm $(top_srcdir)/include