Date: Sun, 2 Oct 2005 00:05:21 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 621 ************************************************** Saturday 01 October 2005 Number 621 ************************************************** Subjects for today 1 vpath support with make? : Paul Smedley 2 Re: vpath support with make? : Henry Sobotka 3 Re: vpath support with make? : Paul Smedley 4 Re: vpath support with make? : Henry Sobotka **= Email 1 ==========================** Date: Sat, 01 Oct 2005 08:42:30 +0930 From: Paul Smedley Subject: vpath support with make? Hi All, Quick one - anyone know if any of the various builds of make for OS/2 support vpath? xvidcore used vpath - and it failed to build on OS/2 using Make 3.81 until I copied files around to work around the not working vpath.... Cheers, Paul. **= Email 2 ==========================** Date: Fri, 30 Sep 2005 23:19:57 -0400 From: Henry Sobotka Subject: Re: vpath support with make? Paul Smedley wrote: > Hi All, > Quick one - anyone know if any of the various builds of make for OS/2 > support vpath? Both vpath and VPATH work here with 3.76.1 as well as 3.81rc1 (including across drives). Perhaps it's something else weird in the xvidcore makefiles? h~ **= Email 3 ==========================** Date: Sat, 01 Oct 2005 18:55:53 +0930 From: Paul Smedley Subject: Re: vpath support with make? Hi Henry, Henry Sobotka wrote: > Paul Smedley wrote: >> Hi All, >> Quick one - anyone know if any of the various builds of make for OS/2 >> support vpath? > > Both vpath and VPATH work here with 3.76.1 as well as 3.81rc1 (including > across drives). Perhaps it's something else weird in the xvidcore > makefiles? Just tried 3.76.1 with xvidcore. Could you perhaps try your setup with http://smedley.info/xvidcore-1.1.0-beta2.zip ? to build - extract archive - change to build/generic - run configure - then run make. I get: [E:\dev\xvid\xvidcore-1.1.0-beta2\build\generic]make-os2 D: =build L: libxvidcore.a ar: decoder.o: No such file or directory make-os2: *** [libxvidcore.a] Error 1 Unless I could all files from the src directory into the directory containing the makefile. The makefile has "VPATH = $(SRC_DIR):$(BUILD_DIR)" in it which seems pretty self explantory. Does anything special need to be done to get vpath support working? Being run from a particular shell maybe? I generally use ash? Eggdrop has similar problems building due to vpath not working here. Cheers, Paul **= Email 4 ==========================** Date: Sat, 01 Oct 2005 09:26:18 -0400 From: Henry Sobotka Subject: Re: vpath support with make? Paul Smedley wrote: > > The makefile has "VPATH = $(SRC_DIR):$(BUILD_DIR)" in it which seems > pretty self explantory. Change the colon to a semicolon (path separator) and it should work. h~