To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3069
3068  |  3070
Subject: 
Re: makedepend variable in Makefiles
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 6 Jan 2003 16:06:50 GMT
Viewed: 
3083 times
  
Investigating into this further, apparently from the comments in CVS, a
change was made to the makefile in legOS\boot (Rev 1.2) and legOS\demo (Rev
1.2) some three years ago. The comment stated "replaced makedepend by
MAKEDEPEND".  But no similar remarks are made for makefiles legOS/lib/c,
legOS/lib/c++, legOS/lib/float, or legOS/lib/mint. I believe that I right to
assume that this issue appeared as a result of the change from a single
colon rule to a double colon rule for the depends target (brickos\Makefile
Rev. 1.13). This change was made to fix a bug introduced when performing a
$make depend command before configure was run.

What is most surprising is that looking at the Makefiles I am not sure how
the files, memcpy.c memset.c strcmp.c strcpy.c strlen.c random.c printf.c,
ever get compiled without modification to the makefiles. If anyone has done
work with these files could you please email me or post here any
modifications you made to compile these files. I am working on a patch file
and will submit it to CVS barring any comments.

Ed Manlove

Ed Manlove <emanlove@ieee.org> wrote in message
news:H83xr4.9q0@lugnet.com...
While attempting to build brickOS under DJGPP I noticed a few • discrepancies
across the makefiles using the variable makedepend.  Under the directories
boot, demo, demo/c++ for the .depend rule it uses the variable • $(MAKEDEPEND)
while the makefiles in lib\c, lib\c++, lib\float, lib\mint use the term
makedepend.  This second set of makefiles causes my DJGPP port to crash
(makedepend: command not found).  I would expect this as I believe the
correct usage of the variable should be $(MAKEDEPEND).

Also, I am getting confused by the defines created by the auto configure
tool and then the redefinitions of certain terms whether or not the host
utilities are being built (BUILDING_HOST_UTILS). Are we overwriting
terms,MAKEDEPEND and CFLAGS, here?

--
Ed Manlove
emanlove@eclipse.net





Message is in Reply To:
  makedepend variable in Makefiles
 
While attempting to build brickOS under DJGPP I noticed a few discrepancies across the makefiles using the variable makedepend. Under the directories boot, demo, demo/c++ for the .depend rule it uses the variable $(MAKEDEPEND) while the makefiles in (...) (22 years ago, 2-Jan-03, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR