From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 2 23:05:33 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66361106566C for ; Fri, 2 Jul 2010 23:05:33 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 148398FC08 for ; Fri, 2 Jul 2010 23:05:32 +0000 (UTC) Received: by vws6 with SMTP id 6so3958408vws.13 for ; Fri, 02 Jul 2010 16:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tvmEcjMzbKssSNXFxpambnprUDvkn2shYkx8ukDr0h8=; b=qb8S+sARI93JjkmXuwh+DN6mwII1kywoVKalMbpMTW+J4d3nrnQJWuqDRsLX54ytH8 9JCUyUWT+5wUUD78Ywscq5+hqbivJrSxa4hpL6rq0IklZR+m56tss4ks5Ttg+bxVz2Cv G3ZOJp4ah5/6n7AJwgYUW4Aky+fIGP1jAy8U0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HIxKsBx/LgFHorP4arxCCCjO4JQmCAZyd5MUj6ZiQN53LAP1qFRHtSFXW+xifmjo2p Ql6DKE1nlRj6dbxGDbKuiqLnSe17nqeg0M8cZI/7vW35T6oJ8P7ewdnn+EewFf8xarIk LX4ETM8OA0WkZsON8o+p9CcJBTPqODqIRlVnE= MIME-Version: 1.0 Received: by 10.229.230.3 with SMTP id jk3mr987638qcb.214.1278111928234; Fri, 02 Jul 2010 16:05:28 -0700 (PDT) Received: by 10.229.192.201 with HTTP; Fri, 2 Jul 2010 16:05:28 -0700 (PDT) In-Reply-To: References: Date: Fri, 2 Jul 2010 16:05:28 -0700 Message-ID: From: Garrett Cooper To: Philip Herron Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Matthew Fleming Subject: Re: Using lex in a shared library X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2010 23:05:33 -0000 On Fri, Jul 2, 2010 at 3:53 PM, Philip Herron wrote: > On 2 July 2010 23:31, Matthew Fleming wrote: >> On Fri, Jul 2, 2010 at 2:54 PM, Philip Herron wro= te: >>> Although maybe not helpful but have you considered using >>> automake/libtool instead makes it so much simpler in my opinion. >> >> Instead of... ? =A0Instead of this makefile? > > Yeah to create your self a shared library using automake: ... > This will generate you all the Makefie.in files recursively over your > work dir. When building these Makefile.in you only need do it once > really, unless you change your makefile.am files. The makefiles.in are > designed to be portable. All they need is some configuration though > autoconf to tell it what compiler to use etc. Why create a dependency on several ports (which tends to be painful to maintain) instead of using what's available to you in the base system? Thanks, -Garrett