Przemyslaw Czerpak wrote:
 > And this is OK. Just simply in this place TOP variable should be set to
> "../../" by:
>    +...@$(MK) -C $(ARCH_DIR) -f $(GRANDP)Makefile 'TOP=$(GRANDP)' $(LIB_NAME) 
> $(MK_USR)
> from config/lib.cf so it should work. For some reasons it's not set.
> You can remove '@' from the above line to see executed command.

Here without '@',

(E:\repository\harbour-svn\source\common)IF NOT EXIST os2 md os2

(E:\repository\harbour-svn\source\common)IF NOT EXIST os2\gcc md os2\gcc

(E:\repository\harbour-svn\source\common)IF NOT EXIST ..\..\lib\os2 md
..\..\lib\os2

(E:\repository\harbour-svn\source\common)IF NOT EXIST ..\..\lib\os2\gcc md
..\..\lib\os2\gcc
make -C os2/gcc -f ../../Makefile 'TOP=../../' hbcommon.a
make[3]: Entering directory `E:/repository/harbour-svn/source/common/os2/gcc'
../../Makefile:29: ../../config/lib.cf: No such file or directory
make[3]: *** No rule to make target `../../config/lib.cf'.  Stop.
make[3]: Leaving directory `E:/repository/harbour-svn/source/common/os2/gcc'
make[2]: *** [descend] Error 2
make[2]: Leaving directory `E:/repository/harbour-svn/source/common'
make[1]: *** [common] Error 2
make[1]: Leaving directory `E:/repository/harbour-svn/source'
make: *** [source] Error 2


Has you can see, GRANDP has value '../../' which is ok to find Makefile, but
TOP (or ROOT) is not set, am I right?, since makefile:29 has

include $(TOP)$(ROOT)config/lib.cf

but from the error message, it looks for '../../config/lib.cf'

instead of

'../../../../config/lib.cf'

Does this help you?

Maurilio

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to