Re: DTrace probe patch for OS X Leopard - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: DTrace probe patch for OS X Leopard
Date
Msg-id 20080227161031.GJ5694@alvh.no-ip.org
Whole thread Raw
In response to DTrace probe patch for OS X Leopard  (Robert Lor <Robert.Lor@Sun.COM>)
Responses Re: DTrace probe patch for OS X Leopard  (Robert Lor <Robert.Lor@Sun.COM>)
List pgsql-patches
Robert Lor wrote:

> 3) Note on src/backend/Makefile
>   The current rule below does not work. After expansion, utils/probes.d
> needs
>   to come right after -s, but currently it shows up at the end after all
> the .o files.
>
>   utils/probes.o: utils/probes.d $(SUBDIROBJS)
>       $(DTRACE) $(DTRACEFLAGS) -G -s $(call expand_subsys,$^) -o $@

Perhaps you need a $< there:

       $(DTRACE) $(DTRACEFLAGS) -G -s $< $(call expand_subsys,$^) -o $@

However I think you would also need to $(filter-out) the $< from $^.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-patches by date:

Previous
From: Robert Lor
Date:
Subject: DTrace probe patch for OS X Leopard
Next
From: Robert Lor
Date:
Subject: Re: DTrace probe patch for OS X Leopard