* Tracked down the mkdepend tool which Ingo used in his updated makefile-engine
which auto-generates dependencies. It was written by Lars Duening for BeOS and uses libglob, which is also part of make. To re-use libglob and since make is already part of the Haiku tree, I added mkdepend to the bin tools. * Added Lars Duening's copyright to AboutSystem. * Added skeleton makefile and makefile-engine to data/develop. * Added mkdepend and makefile-engine files to the Development optional package. It could be argued to move the make bin command there too, from it's current location in the HaikuImage file. However, make could be useful to always have available. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29609 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -197,6 +197,21 @@ if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 {
|
||||
# cc and c++ wrapper scripts
|
||||
AddFilesToHaikuImage beos bin : cc c++ ;
|
||||
|
||||
# mkdepend build tool, which is part of the Haiku source tree
|
||||
# (same as make, but make is already included independent of the
|
||||
# Development package)
|
||||
AddFilesToHaikuImage beos bin : mkdepend ;
|
||||
|
||||
# skeleton makefile and makefile-engine
|
||||
local makefileEngineFiles =
|
||||
<makefile-engine>makefile
|
||||
<makefile-engine>makefile-engine
|
||||
;
|
||||
SEARCH on $(makefileEngineFiles)
|
||||
= [ FDirName $(HAIKU_TOP) data develop ] ;
|
||||
AddFilesToHaikuImage develop etc
|
||||
: $(makefileEngineFiles) ;
|
||||
|
||||
# headers
|
||||
AddHeaderDirectoryToHaikuImage gnu : 3rdparty ;
|
||||
AddHeaderDirectoryToHaikuImage os ;
|
||||
|
||||
Reference in New Issue
Block a user