Re: AM Conditional for SUBDIRS

2008-08-07 Thread Ralf Wildenhues
Hello Vikram, * Vikram Ambrose wrote on Thu, Aug 07, 2008 at 10:49:58PM CEST: > Monty Taylor wrote: >> Vikram Ambrose wrote: >>> >>> SUBDIRS = pkgA pkgB $(extra_pkgs) >>> >>> extra_pkgs = >>> if BUILD_pkgC >>> extra_pkgs += pkgC >>> endif >>> >>> Both of which work, for make; make install; make

Re: AM Conditional for SUBDIRS

2008-08-07 Thread Vikram Ambrose
Monty Taylor wrote: Vikram Ambrose wrote: I have a problem trying to conditional include a subdir into a build configuration or not. I have tried two things. 1) - SUBDIRS = pkgA pkgB if BUILD_pkgC SUBDIRS += pkgC endif --

Re: AM Conditional for SUBDIRS

2008-08-07 Thread Monty Taylor
Vikram Ambrose wrote: > I have a problem trying to conditional include a subdir into a build > configuration or not. > > I have tried two things. > 1) > - > SUBDIRS = pkgA pkgB > > if BUILD_pkgC > SUBDIRS += pkgC > endif >

AM Conditional for SUBDIRS

2008-08-07 Thread Vikram Ambrose
I have a problem trying to conditional include a subdir into a build configuration or not. I have tried two things. 1) - SUBDIRS = pkgA pkgB if BUILD_pkgC SUBDIRS += pkgC endif - 2) -