Move libdrm/ up one level
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 17 Nov 2009 16:14:54 +0000 (11:14 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 17 Nov 2009 16:15:06 +0000 (11:15 -0500)
58 files changed:
ChangeLog [moved from libdrm/ChangeLog with 100% similarity]
Makefile.am
TODO [moved from libdrm/TODO with 100% similarity]
configure.ac
intel/Makefile.am [moved from libdrm/intel/Makefile.am with 96% similarity]
intel/intel_atomic.h [moved from libdrm/intel/intel_atomic.h with 100% similarity]
intel/intel_bufmgr.c [moved from libdrm/intel/intel_bufmgr.c with 100% similarity]
intel/intel_bufmgr.h [moved from libdrm/intel/intel_bufmgr.h with 100% similarity]
intel/intel_bufmgr_fake.c [moved from libdrm/intel/intel_bufmgr_fake.c with 100% similarity]
intel/intel_bufmgr_gem.c [moved from libdrm/intel/intel_bufmgr_gem.c with 100% similarity]
intel/intel_bufmgr_priv.h [moved from libdrm/intel/intel_bufmgr_priv.h with 100% similarity]
intel/intel_chipset.h [moved from libdrm/intel/intel_chipset.h with 100% similarity]
intel/libdrm_intel.pc.in [moved from libdrm/intel/libdrm_intel.pc.in with 100% similarity]
intel/mm.c [moved from libdrm/intel/mm.c with 100% similarity]
intel/mm.h [moved from libdrm/intel/mm.h with 100% similarity]
libdrm/Makefile.am [deleted file]
libdrm_lists.h [moved from libdrm/libdrm_lists.h with 100% similarity]
nouveau/Makefile.am [moved from libdrm/nouveau/Makefile.am with 94% similarity]
nouveau/libdrm_nouveau.pc.in [moved from libdrm/nouveau/libdrm_nouveau.pc.in with 100% similarity]
nouveau/nouveau_bo.c [moved from libdrm/nouveau/nouveau_bo.c with 100% similarity]
nouveau/nouveau_bo.h [moved from libdrm/nouveau/nouveau_bo.h with 100% similarity]
nouveau/nouveau_channel.c [moved from libdrm/nouveau/nouveau_channel.c with 100% similarity]
nouveau/nouveau_channel.h [moved from libdrm/nouveau/nouveau_channel.h with 100% similarity]
nouveau/nouveau_class.h [moved from libdrm/nouveau/nouveau_class.h with 100% similarity]
nouveau/nouveau_device.c [moved from libdrm/nouveau/nouveau_device.c with 100% similarity]
nouveau/nouveau_device.h [moved from libdrm/nouveau/nouveau_device.h with 100% similarity]
nouveau/nouveau_drmif.h [moved from libdrm/nouveau/nouveau_drmif.h with 100% similarity]
nouveau/nouveau_grobj.c [moved from libdrm/nouveau/nouveau_grobj.c with 100% similarity]
nouveau/nouveau_grobj.h [moved from libdrm/nouveau/nouveau_grobj.h with 100% similarity]
nouveau/nouveau_notifier.c [moved from libdrm/nouveau/nouveau_notifier.c with 100% similarity]
nouveau/nouveau_notifier.h [moved from libdrm/nouveau/nouveau_notifier.h with 100% similarity]
nouveau/nouveau_private.h [moved from libdrm/nouveau/nouveau_private.h with 100% similarity]
nouveau/nouveau_pushbuf.c [moved from libdrm/nouveau/nouveau_pushbuf.c with 100% similarity]
nouveau/nouveau_pushbuf.h [moved from libdrm/nouveau/nouveau_pushbuf.h with 100% similarity]
nouveau/nouveau_resource.c [moved from libdrm/nouveau/nouveau_resource.c with 100% similarity]
nouveau/nouveau_resource.h [moved from libdrm/nouveau/nouveau_resource.h with 100% similarity]
radeon/Makefile.am [moved from libdrm/radeon/Makefile.am with 96% similarity]
radeon/libdrm_radeon.pc.in [moved from libdrm/radeon/libdrm_radeon.pc.in with 100% similarity]
radeon/radeon_bo.h [moved from libdrm/radeon/radeon_bo.h with 100% similarity]
radeon/radeon_bo_gem.c [moved from libdrm/radeon/radeon_bo_gem.c with 100% similarity]
radeon/radeon_bo_gem.h [moved from libdrm/radeon/radeon_bo_gem.h with 100% similarity]
radeon/radeon_cs.h [moved from libdrm/radeon/radeon_cs.h with 100% similarity]
radeon/radeon_cs_gem.c [moved from libdrm/radeon/radeon_cs_gem.c with 100% similarity]
radeon/radeon_cs_gem.h [moved from libdrm/radeon/radeon_cs_gem.h with 100% similarity]
radeon/radeon_cs_space.c [moved from libdrm/radeon/radeon_cs_space.c with 100% similarity]
radeon/radeon_track.c [moved from libdrm/radeon/radeon_track.c with 100% similarity]
radeon/radeon_track.h [moved from libdrm/radeon/radeon_track.h with 100% similarity]
tests/Makefile.am
tests/modeprint/Makefile.am
tests/modetest/Makefile.am
xf86drm.c [moved from libdrm/xf86drm.c with 100% similarity]
xf86drm.h [moved from libdrm/xf86drm.h with 100% similarity]
xf86drmHash.c [moved from libdrm/xf86drmHash.c with 100% similarity]
xf86drmMode.c [moved from libdrm/xf86drmMode.c with 100% similarity]
xf86drmMode.h [moved from libdrm/xf86drmMode.h with 100% similarity]
xf86drmRandom.c [moved from libdrm/xf86drmRandom.c with 100% similarity]
xf86drmSL.c [moved from libdrm/xf86drmSL.c with 100% similarity]
xf86mm.h [moved from libdrm/xf86mm.h with 100% similarity]

similarity index 100%
rename from libdrm/ChangeLog
rename to ChangeLog
index 31b20e954c8237928c3c81d29cc8c8295aad8767..aa5910106834e25077f0940fb5e90d927ac43ed5 100644 (file)
 #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 AUTOMAKE_OPTIONS = foreign
-SUBDIRS = libdrm tests
 
 pkgconfigdir = @pkgconfigdir@
 pkgconfig_DATA = libdrm.pc
 
-EXTRA_DIST = libdrm.pc.in include/drm/*
+if HAVE_INTEL
+INTEL_SUBDIR = intel
+endif
+
+if HAVE_NOUVEAU
+NOUVEAU_SUBDIR = nouveau
+endif
+
+if HAVE_RADEON
+RADEON_SUBDIR = radeon
+endif
+
+SUBDIRS = . $(INTEL_SUBDIR) $(NOUVEAU_SUBDIR) $(RADEON_SUBDIR) tests
+
+libdrm_la_LTLIBRARIES = libdrm.la
+libdrm_ladir = $(libdir)
+libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined
+libdrm_la_LIBADD = @CLOCK_LIB@
+
+libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm
+
+libdrm_la_SOURCES =                            \
+       xf86drm.c                               \
+       xf86drmHash.c                           \
+       xf86drmRandom.c                         \
+       xf86drmSL.c                             \
+       xf86drmMode.c                           \
+       libdrm_lists.h
+
+libdrmincludedir = ${includedir}
+libdrminclude_HEADERS = xf86drm.h xf86drmMode.h
+
+EXTRA_DIST = ChangeLog TODO libdrm.pc.in include/drm/*
 
 copy-headers :
        cp -r $(kernel_source)/usr/include/drm $(top_srcdir)/include
similarity index 100%
rename from libdrm/TODO
rename to TODO
index 971dead39f92b9ecb73922722e27523c9cad76a9..857fc0970302d2a9f2278f6fbf19468fe0cbfe91 100644 (file)
@@ -24,7 +24,7 @@ AC_USE_SYSTEM_EXTENSIONS
 AC_CONFIG_SRCDIR([Makefile.am])
 AM_INIT_AUTOMAKE([dist-bzip2])
 
-AM_CONFIG_HEADER([libdrm/config.h])
+AM_CONFIG_HEADER([config.h])
 
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
@@ -197,13 +197,12 @@ AC_SUBST(kernel_source)
 AC_SUBST(WARN_CFLAGS)
 AC_OUTPUT([
        Makefile
-       libdrm/Makefile
-       libdrm/intel/Makefile
-       libdrm/intel/libdrm_intel.pc
-       libdrm/radeon/Makefile
-       libdrm/radeon/libdrm_radeon.pc
-       libdrm/nouveau/Makefile
-       libdrm/nouveau/libdrm_nouveau.pc
+       intel/Makefile
+       intel/libdrm_intel.pc
+       radeon/Makefile
+       radeon/libdrm_radeon.pc
+       nouveau/Makefile
+       nouveau/libdrm_nouveau.pc
        tests/Makefile
        tests/modeprint/Makefile
        tests/modetest/Makefile
similarity index 96%
rename from libdrm/intel/Makefile.am
rename to intel/Makefile.am
index c3c563e4c70fe9e953e2e2c75d78b6518d22fc54..8bb2c6e31b969dd401d26245e683443f6d7fd530 100644 (file)
@@ -24,8 +24,8 @@
 
 AM_CFLAGS = \
        $(WARN_CFLAGS) \
-       -I$(top_srcdir)/libdrm \
-       -I$(top_srcdir)/libdrm/intel \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/intel \
        $(PTHREADSTUBS_CFLAGS) \
        -I$(top_srcdir)/include/drm
 
similarity index 100%
rename from libdrm/intel/mm.c
rename to intel/mm.c
similarity index 100%
rename from libdrm/intel/mm.h
rename to intel/mm.h
diff --git a/libdrm/Makefile.am b/libdrm/Makefile.am
deleted file mode 100644 (file)
index 10de8e3..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#  Copyright 2005 Adam Jackson.
-#
-#  Permission is hereby granted, free of charge, to any person obtaining a
-#  copy of this software and associated documentation files (the "Software"),
-#  to deal in the Software without restriction, including without limitation
-#  on the rights to use, copy, modify, merge, publish, distribute, sub
-#  license, and/or sell copies of the Software, and to permit persons to whom
-#  the Software is furnished to do so, subject to the following conditions:
-#
-#  The above copyright notice and this permission notice (including the next
-#  paragraph) shall be included in all copies or substantial portions of the
-#  Software.
-#
-#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
-#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-if HAVE_INTEL
-INTEL_SUBDIR = intel
-endif
-
-if HAVE_NOUVEAU
-NOUVEAU_SUBDIR = nouveau
-endif
-
-if HAVE_RADEON
-RADEON_SUBDIR = radeon
-endif
-
-SUBDIRS = . $(INTEL_SUBDIR) $(NOUVEAU_SUBDIR) $(RADEON_SUBDIR)
-
-libdrm_la_LTLIBRARIES = libdrm.la
-libdrm_ladir = $(libdir)
-libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined
-libdrm_la_LIBADD = @CLOCK_LIB@
-
-AM_CFLAGS = -I$(top_srcdir)/include/drm
-libdrm_la_SOURCES = xf86drm.c xf86drmHash.c xf86drmRandom.c xf86drmSL.c \
-       xf86drmMode.c libdrm_lists.h
-
-libdrmincludedir = ${includedir}
-libdrminclude_HEADERS = xf86drm.h xf86drmMode.h
-
-EXTRA_DIST = ChangeLog TODO
similarity index 100%
rename from libdrm/libdrm_lists.h
rename to libdrm_lists.h
similarity index 94%
rename from libdrm/nouveau/Makefile.am
rename to nouveau/Makefile.am
index db6243cc39d23b6dd0fa7f23f40b07055ec78df2..70bbbb272a4893790fdb75498e2fd376aef1395a 100644 (file)
@@ -1,7 +1,7 @@
 AM_CFLAGS = \
        $(WARN_CFLAGS) \
-       -I$(top_srcdir)/libdrm \
-       -I$(top_srcdir)/libdrm/nouveau \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/nouveau \
        $(PTHREADSTUBS_CFLAGS) \
        -I$(top_srcdir)/include/drm
 
@@ -31,6 +31,7 @@ libdrm_nouveaucommoninclude_HEADERS = \
                                nouveau_resource.h \
                                nouveau_class.h
 
+
 libdrm_nouveauincludedir = ${includedir}/drm
 libdrm_nouveauinclude_HEADERS = \
                                nouveau_drmif.h
similarity index 96%
rename from libdrm/radeon/Makefile.am
rename to radeon/Makefile.am
index 97801ead78338da59c55102063f1f9318c7484a9..dd136b1f50af1daa7a0e264184498580bb30cc81 100644 (file)
@@ -24,8 +24,8 @@
 
 AM_CFLAGS = \
        $(WARN_CFLAGS) \
-       -I$(top_srcdir)/libdrm \
-       -I$(top_srcdir)/libdrm/radeon \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/radeon \
        $(PTHREADSTUBS_CFLAGS) \
        -I$(top_srcdir)/include/drm
 
similarity index 100%
rename from libdrm/radeon/radeon_bo.h
rename to radeon/radeon_bo.h
similarity index 100%
rename from libdrm/radeon/radeon_cs.h
rename to radeon/radeon_cs.h
index 551589f87fa49903869900428c5188a0b69cc6c5..d044474d42f6918de2f4b88af762650451034b5a 100644 (file)
@@ -2,9 +2,9 @@ NULL:=#
 
 AM_CPPFLAGS = \
        -I $(top_srcdir)/include/drm \
-       -I $(top_srcdir)/libdrm
+       -I $(top_srcdir)
 
-LDADD = $(top_builddir)/libdrm/libdrm.la
+LDADD = $(top_builddir)/libdrm.la
 
 noinst_PROGRAMS = \
        dristat \
@@ -24,7 +24,7 @@ libdrmtest_la_SOURCES = \
        drmtest.h
 
 libdrmtest_la_LIBADD = \
-       $(top_builddir)/libdrm/libdrm.la \
+       $(top_builddir)/libdrm.la \
        $(LIBUDEV_LIBS)
 
 LDADD += libdrmtest.la
index 64f2f60314fed12eda01150320201c3d39593c56..2ae0fdc6e35e671b933b11db5bc602696e828445 100644 (file)
@@ -1,7 +1,7 @@
 AM_CFLAGS = \
        -I$(top_srcdir)/include/drm \
-       -I$(top_srcdir)/libdrm/intel/ \
-       -I$(top_srcdir)/libdrm
+       -I$(top_srcdir)/intel/ \
+       -I$(top_srcdir)
 
 noinst_PROGRAMS = \
        modeprint
@@ -9,5 +9,5 @@ noinst_PROGRAMS = \
 modeprint_SOURCES = \
        modeprint.c
 modeprint_LDADD = \
-       $(top_builddir)/libdrm/libdrm.la \
-       $(top_builddir)/libdrm/intel/libdrm_intel.la
+       $(top_builddir)/libdrm.la \
+       $(top_builddir)/intel/libdrm_intel.la
index 0fd59f1d60be4879bebe16edd4c7456c2a259e03..16f5e99535c8efd2f81e4e2b0c8b2c842b062527 100644 (file)
@@ -1,7 +1,7 @@
 AM_CFLAGS = \
        -I$(top_srcdir)/include/drm \
-       -I$(top_srcdir)/libdrm/intel/ \
-       -I$(top_srcdir)/libdrm \
+       -I$(top_srcdir)/intel/ \
+       -I$(top_srcdir) \
        $(CAIRO_CFLAGS)
 
 noinst_PROGRAMS = \
@@ -10,6 +10,6 @@ noinst_PROGRAMS = \
 modetest_SOURCES = \
        modetest.c
 modetest_LDADD = \
-       $(top_builddir)/libdrm/libdrm.la \
-       $(top_builddir)/libdrm/intel/libdrm_intel.la \
+       $(top_builddir)/libdrm.la \
+       $(top_builddir)/intel/libdrm_intel.la \
        $(CAIRO_LIBS)
similarity index 100%
rename from libdrm/xf86drm.c
rename to xf86drm.c
similarity index 100%
rename from libdrm/xf86drm.h
rename to xf86drm.h
similarity index 100%
rename from libdrm/xf86drmHash.c
rename to xf86drmHash.c
similarity index 100%
rename from libdrm/xf86drmMode.c
rename to xf86drmMode.c
similarity index 100%
rename from libdrm/xf86drmMode.h
rename to xf86drmMode.h
similarity index 100%
rename from libdrm/xf86drmRandom.c
rename to xf86drmRandom.c
similarity index 100%
rename from libdrm/xf86drmSL.c
rename to xf86drmSL.c
similarity index 100%
rename from libdrm/xf86mm.h
rename to xf86mm.h