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 31b20e9..aa59101 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 971dead..857fc09 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 c3c563e..8bb2c6e 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 db6243c..70bbbb2 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 97801ea..dd136b1 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 551589f..d044474 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 64f2f60..2ae0fdc 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 0fd59f1..16f5e99 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