diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2009-11-17 11:14:54 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2009-11-17 11:15:06 -0500 |
commit | 4f57abfe66091281c9f59c14e6ea27b524b55d5b (patch) | |
tree | f00d1022cf208b381b93aa5c96858164e6a3f602 /Makefile.am | |
parent | 9dd3613073aa2491cef440725fdfa0cf1e8f1a42 (diff) | |
download | libdrm-4f57abfe66091281c9f59c14e6ea27b524b55d5b.tar.gz libdrm-4f57abfe66091281c9f59c14e6ea27b524b55d5b.tar.bz2 libdrm-4f57abfe66091281c9f59c14e6ea27b524b55d5b.zip |
Move libdrm/ up one level
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 35 |
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 @@ # 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 |