Index: build/jam/OptionalPackages =================================================================== --- build/jam/OptionalPackages (revision 29872) +++ build/jam/OptionalPackages (working copy) @@ -20,6 +20,7 @@ # BePDF # Bluetooth # CVS +# Dev-Minimal # Development # Firefox # LibLayout @@ -175,6 +176,71 @@ } +# Dev-Minimal +if [ IsOptionalHaikuImagePackageAdded Dev-Minimal ] && $(TARGET_ARCH) = x86 { + # glue code + AddFilesToHaikuImage develop lib x86 + : crti.o crtn.o + init_term_dyn.o start_dyn.o ; + + # kernel + AddFilesToHaikuImage develop lib x86 : kernel.so : _KERNEL_ ; + + # library symlinks + local lib ; + for lib in $(BEOS_SYSTEM_LIBS) libglut.so { + AddSymlinkToHaikuImage develop lib x86 : /system/lib/$(lib:BS) ; + } + + # static libraries + AddFilesToHaikuImage develop lib x86 : libncurses.a ; + + # the POSIX error code mapper library + AddFilesToHaikuImage develop lib x86 : libposix_error_mapper.a ; + + # 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 + makefile-engine + ; + SEARCH on $(makefileEngineFiles) + = [ FDirName $(HAIKU_TOP) data develop ] ; + AddFilesToHaikuImage develop etc + : $(makefileEngineFiles) ; + + # headers + AddHeaderDirectoryToHaikuImage gnu : 3rdparty ; + AddHeaderDirectoryToHaikuImage os ; + AddHeaderDirectoryToHaikuImage posix ; + + # add _G_config.h to posix/ + SEARCH on
_G_config.h = [ FDirName $(HAIKU_TOP) headers glibc ] ; + AddFilesToHaikuImage develop headers posix :
_G_config.h ; + + # create be -> os symlink for now + AddSymlinkToHaikuImage develop headers : os : be ; + + # BSD compatibility headers + AddHeaderDirectoryToHaikuImage compatibility bsd : bsd ; + + # third party libs headers + AddHeaderDirectoryToHaikuImage libs freetype2 : 3rdparty ; + AddHeaderDirectoryToHaikuImage libs iconv : 3rdparty ; + AddHeaderDirectoryToHaikuImage libs ncurses : 3rdparty ; + AddHeaderDirectoryToHaikuImage libs png : 3rdparty ; + AddHeaderDirectoryToHaikuImage libs zlib : 3rdparty ; + +} + + # Development if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 { # glue code