On Mon, Oct 15, 2012 at 10:52:37AM +0200, Kevin Wolf wrote:
> Am 12.10.2012 23:39, schrieb Michael Roth:
> > On Fri, Oct 05, 2012 at 10:24:30AM +0200, Paolo Bonzini wrote:
> >> Il 04/10/2012 19:33, Michael Roth ha scritto:
> >>> +
> >>> +%.qidl.c: %.c $(SRC_PATH)/qidl.h $(addprefix
> >>> $(SRC_PAT
Am 12.10.2012 23:39, schrieb Michael Roth:
> On Fri, Oct 05, 2012 at 10:24:30AM +0200, Paolo Bonzini wrote:
>> Il 04/10/2012 19:33, Michael Roth ha scritto:
>>> +
>>> +%.qidl.c: %.c $(SRC_PATH)/qidl.h $(addprefix $(SRC_PATH)/scripts/,lexer.py
>>> qidl.py qidl_parser.py qapi.py qapi_visit.py)
>>> +
Il 12/10/2012 23:39, Michael Roth ha scritto:
> So hopefully the current approach is a reasonable start for now.
Yes, I'll look into it possibly after merge.
Paolo
On Fri, Oct 05, 2012 at 10:24:30AM +0200, Paolo Bonzini wrote:
> Il 04/10/2012 19:33, Michael Roth ha scritto:
> > +
> > +%.qidl.c: %.c $(SRC_PATH)/qidl.h $(addprefix $(SRC_PATH)/scripts/,lexer.py
> > qidl.py qidl_parser.py qapi.py qapi_visit.py)
> > + $(call rm -f $(*D)/qidl-generated/$(*F).qid
Il 04/10/2012 19:33, Michael Roth ha scritto:
> +
> +%.qidl.c: %.c $(SRC_PATH)/qidl.h $(addprefix $(SRC_PATH)/scripts/,lexer.py
> qidl.py qidl_parser.py qapi.py qapi_visit.py)
> + $(call rm -f $(*D)/qidl-generated/$(*F).qidl.c)
> + $(if $(strip $(shell grep "QIDL_ENABLE()" $< 1>/dev/null &
Signed-off-by: Michael Roth
---
Makefile |2 +
rules.mak | 20 -
tests/Makefile |8 +-
tests/test-qidl-included.h | 31
tests/test-qidl-linked.c | 93 ++
tests/test-qidl-linked.h | 18 +
tests