VPATH broken with multiple dirs

2003-01-18 Thread Christopher Seawood
I'm attempting to modify the Mozilla build system so that it heavily relies upon using multiple dirs in the VPATH and I ran into a problem. If I list multiple directories in the VPATH, only source files that are in the first directory are found. I added a couple of printfs to the cygwin make

Re: VPATH broken with multiple dirs

2003-01-18 Thread Christopher Seawood
Christopher Seawood wrote: Before: VPATH = c:/root/rmch/mozilla/js/src/xpconnect c:/root/rmch/mozilla/js/src/xpconnect/idl After: VPATH = /cygdrive/c/root/rmch/mozilla/js/src/xpconnect c:/root/rmch/mozilla/js/src/xpconnect/idl This implies that the cygwin_win32_to_posix_path_list() function

Re: VPATH broken with multiple dirs

2003-01-18 Thread David Means
An interesting problem. I'm not sure there's a programatic way to solve it. While spaces are allowed in unix paths, VPATH obviously doesn't account for this behaviour and assumes spaces are delimiters.. However, MSDOS/Windows VPATH requires semicolons. I would assume that it does not allow

Re: VPATH broken with multiple dirs

2003-01-18 Thread Christopher Faylor
On Sat, Jan 18, 2003 at 09:16:42AM -0500, David Means wrote: An interesting problem. I'm not sure there's a programatic way to solve it. While spaces are allowed in unix paths, VPATH obviously doesn't account for this behaviour and assumes spaces are delimiters.. However, MSDOS/Windows VPATH

Re: VPATH broken with multiple dirs

2003-01-18 Thread David Means
On Sat, 2003-01-18 at 11:46, Christopher Faylor wrote: {snip} http://www.delorie.com/gnu/docs/make/make_27.html This is cygwin make, not djgpp make. Cygwin make uses colons, not semicolons. If semicolons actually *work*, that's a bug. Actually, it's not cygwin make, it's GNU: $ make

Re: VPATH broken with multiple dirs

2003-01-18 Thread Christopher Faylor
On Sat, Jan 18, 2003 at 03:06:38PM -0500, David Means wrote: On Sat, 2003-01-18 at 11:46, Christopher Faylor wrote: {snip} http://www.delorie.com/gnu/docs/make/make_27.html This is cygwin make, not djgpp make. Cygwin make uses colons, not semicolons. If semicolons actually *work*, that's