This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Toplevel patch: Autogenerate Makefile targets 3 (*-build-*)


> 	* Makefile.tpl: Autogenerate (*-build-*).
> 	* Makefile.def: Add build_modules.
> 	* Makefile.in: Regenerate.

This one is fine except for...

> -$(ALL_BUILD_MODULES):
> -	dir=`echo $@ | sed -e 's/all-build-//'`; \
> -	if [ -f ./$${dir}/Makefile ] ; then \
> +[+ FOR build_modules +]
> +.PHONY: all-build-[+module+]
> +all-build-[+module+]:
> +	if [ -f ./[+module+]/Makefile ] ; then \

There's supposed to be an '@' here, I don't know why the original
didn't have it...

> -$(CONFIGURE_BUILD_MODULES):
> -	@dir=`echo $@ | sed -e 's/configure-build-//'`; \
> +.PHONY: configure-build-[+module+]
> +configure-build-[+module+]:
>  	if [ ! -d $(BUILD_SUBDIR) ]; then \

'@' here.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]