I hit this problem in GRUB2 and still am not sure what is the best way
to proceed.
GRUB2 autogenerates Makefile.am (using autogen), and Makefile.am
basically consists of series
if PLATFORM_A_ENABLED
module_1_SOURCES = ...
...
EXTRA_DIST += ...
...
endif
if PLATFORM_B_ENABLED
module_1_sources = .
Marko Kreen writes:
> Well, user might want few of following features for own rules:
> - out-of-tree builds
> - cross-compilation
> - nice output
> - automatic deps
> otherwise user's own rules don't match Automake's.
> Ofcourse, that means it's up to user to deal with the complexity, but is
>
Marko Kreen writes:
>> My experience adding custom make rules to Makefile.am (which AFAICT,
>> mostly just passes them through) is that I typically don't need to use
>> obscure features, mostly it's just bog-standard make rules with some
>> shell-scripting in the build recipe.
>
> Well, user might
On Thu, May 02, 2013 at 07:17:49AM +0900, Miles Bader wrote:
> My experience adding custom make rules to Makefile.am (which AFAICT,
> mostly just passes them through) is that I typically don't need to use
> obscure features, mostly it's just bog-standard make rules with some
> shell-scripting in th