From patchwork Sun Sep 7 21:30:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 4859361 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DEA53C033A for ; Sun, 7 Sep 2014 21:31:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C8F620122 for ; Sun, 7 Sep 2014 21:31:34 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 0CC7320131 for ; Sun, 7 Sep 2014 21:31:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B7F236E159; Sun, 7 Sep 2014 14:31:31 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) by gabe.freedesktop.org (Postfix) with ESMTP id 8394C6E148 for ; Sun, 7 Sep 2014 14:31:30 -0700 (PDT) Received: by mail-we0-f175.google.com with SMTP id k48so13881168wev.6 for ; Sun, 07 Sep 2014 14:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DEWkuOB89b3xcHohSOb3GRI+Ad9dAhoBW5+jF8UBUcA=; b=ZpRr+aozTlJui2z/UUKZMngPHFnyicH/Aql39s3t5oDKdISpmrWwyXwLAHdf5lq2jt lEasnGvsWBd5rGETWGx70dNIGFpYxlwXGrE1k+8ICK1CpjT3F0M8v5B0/E8RD3ytmKYb 5S4gnJ8WaFmBoKrBmo0p3c5Stx+CR8ycAIvIY4M5I5W/pzFg0XXviYY/drmzbK20gDDG teLpGpZzRRFIPpitm71zwlKEeOHv+sQwDBBB2e9Gv4h4sfyLE4oIu5/y4ozeozL8rqzF E9DE7hG2D7TFtKB7aJBL1YoTW6wXu80YeLWrwV5TcaLQFz9VSfAVUK2yfJUKX2aX6Hod ZFQg== X-Received: by 10.194.90.233 with SMTP id bz9mr30542712wjb.94.1410125489775; Sun, 07 Sep 2014 14:31:29 -0700 (PDT) Received: from localhost.localdomain (cpc20-stap10-2-0-cust563.12-2.cable.virginm.net. [82.20.130.52]) by mx.google.com with ESMTPSA id ub19sm9644662wib.9.2014.09.07.14.31.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Sep 2014 14:31:29 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 06/18] libkms: move sources lists to makefile.sources Date: Sun, 7 Sep 2014 22:30:01 +0100 Message-Id: <1410125413-19465-7-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.0.2 In-Reply-To: <1410125413-19465-1-git-send-email-emil.l.velikov@gmail.com> References: <1410125413-19465-1-git-send-email-emil.l.velikov@gmail.com> Cc: emil.l.velikov@gmail.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Emil Velikov --- libkms/Makefile.am | 20 +++++++++----------- libkms/Makefile.sources | 23 +++++++++++++++++++++++ 2 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 libkms/Makefile.sources diff --git a/libkms/Makefile.am b/libkms/Makefile.am index dae44e9..21c65ae 100644 --- a/libkms/Makefile.am +++ b/libkms/Makefile.am @@ -1,3 +1,5 @@ +include Makefile.sources + AM_CFLAGS = \ $(WARN_CFLAGS) \ -I$(top_srcdir)/include/drm \ @@ -12,35 +14,31 @@ libkms_la_LIBADD = ../libdrm.la #libkms_la_LIBADD += $(LIBUDEV_LIBS) #endif -libkms_la_SOURCES = \ - internal.h \ - linux.c \ - dumb.c \ - api.c +libkms_la_SOURCES = $(LIBKMS_FILES) if HAVE_VMWGFX -libkms_la_SOURCES += vmwgfx.c +libkms_la_SOURCES += $(LIBKMS_VMWGFX_FILES) endif if HAVE_INTEL -libkms_la_SOURCES += intel.c +libkms_la_SOURCES += $(LIBKMS_INTEL_FILES) endif if HAVE_NOUVEAU -libkms_la_SOURCES += nouveau.c +libkms_la_SOURCES += $(LIBKMS_NOUVEAU_FILES) endif if HAVE_RADEON -libkms_la_SOURCES += radeon.c +libkms_la_SOURCES += $(LIBKMS_RADEON_FILES) endif if HAVE_EXYNOS -libkms_la_SOURCES += exynos.c +libkms_la_SOURCES += $(LIBKMS_EXYNOS_FILES) AM_CFLAGS += -I$(top_srcdir)/exynos endif libkmsincludedir = ${includedir}/libkms -libkmsinclude_HEADERS = libkms.h +libkmsinclude_HEADERS = $(LIBKMS_H_FILES) pkgconfigdir = @pkgconfigdir@ pkgconfig_DATA = libkms.pc diff --git a/libkms/Makefile.sources b/libkms/Makefile.sources new file mode 100644 index 0000000..3191f51 --- /dev/null +++ b/libkms/Makefile.sources @@ -0,0 +1,23 @@ +LIBKMS_FILES := \ + internal.h \ + linux.c \ + dumb.c \ + api.c + +LIBKMS_VMWGFX_FILES := \ + vmwgfx.c + +LIBKMS_INTEL_FILES := \ + intel.c + +LIBKMS_NOUVEAU_FILES := \ + nouveau.c + +LIBKMS_RADEON_FILES := \ + radeon.c + +LIBKMS_EXYNOS_FILES := \ + exynos.c + +LIBKMS_H_FILES := \ + libkms.h