From: Damien Lespiau Subject: [PATCH 26/90] assembler: Make an libbrw library Date: Mon, 4 Feb 2013 15:27:21 +0000 Message-ID: <1359991705-5254-27-git-send-email-damien.lespiau@intel.com> References: <1359991705-5254-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id CE261E60BF for ; Mon, 4 Feb 2013 07:29:18 -0800 (PST) In-Reply-To: <1359991705-5254-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org With the brw_* files imported from mesa. There are still a few things in that library that needs gen4asm.h, for instance the GLuint and GLint types. The hope is that eventually libbrw can be split out in its own directory and shared. Signed-off-by: Damien Lespiau --- assembler/Makefile.am | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 deletions(-) diff --git a/assembler/Makefile.am b/assembler/Makefile.am index 9bd3289..d5affd0 100644 --- a/assembler/Makefile.am +++ b/assembler/Makefile.am @@ -1,7 +1,22 @@ SUBDIRS = doc test +noinst_LTLIBRARIES = libbrw.la + bin_PROGRAMS = intel-gen4asm intel-gen4disasm +libbrw_la_SOURCES = \ + brw_compat.h \ + brw_context.c \ + brw_context.h \ + brw_disasm.c \ + brw_defines.h \ + brw_eu.h \ + brw_reg.h \ + brw_structs.h \ + ralloc.c \ + ralloc.h \ + $(NULL) + AM_YFLAGS = -d --warnings=all AM_CFLAGS= $(ASSEMBLER_WARN_CFLAGS) @@ -10,23 +25,16 @@ BUILT_SOURCES = gram.h gram.c lex.c gram.h: gram.c intel_gen4asm_SOURCES = \ - brw_compat.h \ - brw_context.c \ - brw_context.h \ - ralloc.c \ - ralloc.h \ - brw_defines.h \ - brw_eu.h \ - brw_reg.h \ - brw_structs.h \ gen4asm.h \ gram.y \ lex.l \ main.c \ $(NULL) -intel_gen4disasm_SOURCES = \ - brw_disasm.c disasm-main.c +intel_gen4asm_LDADD = libbrw.la + +intel_gen4disasm_SOURCES = disasm-main.c +intel_gen4disasm_LDADD = libbrw.la pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = intel-gen4asm.pc -- 1.7.7.5