From patchwork Thu Aug 31 11:18:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 9931917 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4428F6016C for ; Thu, 31 Aug 2017 11:18:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D0D9288D3 for ; Thu, 31 Aug 2017 11:18:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 321C6288D7; Thu, 31 Aug 2017 11:18:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 833CB288D3 for ; Thu, 31 Aug 2017 11:18:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C6FF26E6B0; Thu, 31 Aug 2017 11:18:38 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 039A16E057 for ; Thu, 31 Aug 2017 11:18:35 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id m85so4087926wma.0 for ; Thu, 31 Aug 2017 04:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+dVXcDRx2G+Xo2OGw4IAKsU5ZxprgAmdJkhBvkaHTig=; b=C3R0UKj3lFE1Ru7dzu/N5W+urbNyugHWKsABrONWMza9r9d3l7agZuEqKyhKj7VOPw CHPC1rKzZZouTxwYZZMYuzFiyprzuHHQ4MCCPq/hvvoJZGIow39vXH6rzvWJOWJtDWJ8 IlYJIHgc6zSGFTDLrow5hssRAAUTndXpzHIJg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+dVXcDRx2G+Xo2OGw4IAKsU5ZxprgAmdJkhBvkaHTig=; b=OSQMRnsPFo4Ov9SmNlq3yoBIk3Opn6Busclh/4TgkUQ4C14ChA2OiPI/FdBYKwUTKH KuYITek7nW7Yd0Erja7pkCmLpbx6tdnL3gd67C+Mi4/cp9AOkjrk3aQXDfrKM+obfb4F i2yAetimiaCqMZcfBsG816JDcl2CyRZ4mdZ1GFcFgKl8mcqrAQw5Q9LmJK8MIN4djzxR iY9Ww8AZzZGQmoNIIxlcKpqUhiqfI+OwwF52bJ+zuEmq+ACHWfrmOiazmLuoH2q4BieZ lA7ZcYlti8Led2ij7d55I26rLnTcDpfJCv68iFkEWdtwHNqdww9bxxz5butohcPuSmov Gf1g== X-Gm-Message-State: AHYfb5itSP/BWgG9y1sL/9qRT1hXBQpFWXCakCxoPgGnC4QvmIdjpAvB jxmr8QXb3pgtHXIj2ac= X-Google-Smtp-Source: ADKCNb44tp3tDw+SB2g1GRJpBsTPWQ2AAHqkw3qmiaJmDhYLq+qNR/Uz4MIEi69qhaLZ4VIcg2aPjw== X-Received: by 10.80.176.162 with SMTP id j31mr1249285edd.77.1504178314038; Thu, 31 Aug 2017 04:18:34 -0700 (PDT) Received: from wespe.ffwll.local ([2a02:168:5635:0:6631:50ff:fe8d:fd2e]) by smtp.gmail.com with ESMTPSA id i93sm3311821edc.42.2017.08.31.04.18.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Aug 2017 04:18:33 -0700 (PDT) From: Daniel Vetter To: Intel Graphics Development Date: Thu, 31 Aug 2017 13:18:26 +0200 Message-Id: <1504178306-19601-2-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1504178306-19601-1-git-send-email-daniel.vetter@ffwll.ch> References: <1504178306-19601-1-git-send-email-daniel.vetter@ffwll.ch> Cc: Daniel Vetter , Daniel Vetter Subject: [Intel-gfx] [PATCH i-g-t 2/2] lib: Attemp at .so libraries X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP I managed to get it built, but none of the executables is using it. At least one version of this also needed the alsa lib/flags added, so it'll build properly as an .so. No idea why it doesn't go boom when only building the .la. Signed-off-by: Daniel Vetter --- configure.ac | 2 ++ lib/Makefile.am | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 41ec4d26391a..97251883d11c 100644 --- a/configure.ac +++ b/configure.ac @@ -39,6 +39,8 @@ AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([1.12 foreign subdir-objects dist-bzip2]) AM_PATH_PYTHON([3],, [:]) +LT_INIT + AC_PROG_CC AC_PROG_LEX AC_PROG_YACC diff --git a/lib/Makefile.am b/lib/Makefile.am index 0c26186132d1..40399be12da9 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -5,9 +5,10 @@ SUBDIRS = . tests include Makefile.sources +lib_LTLIBRARIES = libigt.la + libigt_la_SOURCES = $(lib_source_list) -noinst_LTLIBRARIES = libigt.la noinst_HEADERS = check-ndebug.h if HAVE_LIBDRM_VC4 @@ -60,6 +61,7 @@ AM_CFLAGS = \ $(PIXMAN_CFLAGS) \ $(GLIB_CFLAGS) \ $(VALGRIND_CFLAGS) \ + $(ALSA_CFLAGS) \ -DIGT_SRCDIR=\""$(abs_top_srcdir)/tests"\" \ -DIGT_DATADIR=\""$(pkgdatadir)"\" \ -DIGT_LOG_DOMAIN=\""$(subst _,-,$*)"\" \ @@ -81,5 +83,5 @@ libigt_la_LIBADD = \ $(LIBUDEV_LIBS) \ $(PIXMAN_LIBS) \ $(GLIB_LIBS) \ + $(ALSA_LIBS) \ -lm -