libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MAD SCIENCE EXPERIMENT]: Replace some libtool functionality with ha


From: Alexandre Oliva
Subject: Re: [MAD SCIENCE EXPERIMENT]: Replace some libtool functionality with handcoded C
Date: 06 Apr 2004 00:10:44 -0300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

On Dec  8, 2003, Steve Ellcey <address@hidden> wrote:

> I'm curious.  I thought I knew shell scripting and the basics of
> automake but I don't know what 'fnord' is

  set fnord [expansion]; shift

is a common idiom to ensure that the variable expansion doesn't start
with say -e, causing set to do something other than setting the
argument list.

>> From: Alexandre Oliva <address@hidden>
>> 
>> LIBTOOL_BEGIN_COMPILE_CC = set fnord \
>> 
>> LIBTOOL_END_COMPILE_CC = ; shift 1; \
>> { test -d $$dir"/$(libtool_libdir) || \
>> $(mkdir_p) "$$dir"/$(libtool_libdir); } && \
>> rm -f "$$lofile"T "$$lofile" "$$dir/$$ofile" \
>> "$$dir/$(libtool_libdir)/$$ofile" || : ; \
>> $(LIBTOOL_COMPILE_CC_PIC) -o "$$dir/$(libtool_libdir)/$$ofile" \
>> $${1+"$$@"} && \
>> $(LIBTOOL_COMPILE_CC_NONPIC) -o "$$dir/$$ofile" $${1+"$$@"} && \
>> { echo pic_object=$(LIBTOOL_PIC_OBJECT); \
>> echo non_pic_object=$(LIBTOOL_NONPIC_OBJECT); } > "$$lofile"T && \
>> mv "$$lofile"T "$$lofile"


> _______________________________________________
> Libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool


-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   address@hidden, gcc.gnu.org}
Free Software Evangelist  address@hidden, gnu.org}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]