Ticket #3713: diff.txt

File diff.txt, 2.5 KB (added by haiqu, 15 years ago)
Line 
1Index: build/jam/OptionalPackages
2===================================================================
3--- build/jam/OptionalPackages (revision 29872)
4+++ build/jam/OptionalPackages (working copy)
5@@ -20,6 +20,7 @@
6 # BePDF
7 # Bluetooth
8 # CVS
9+# Dev-Minimal
10 # Development
11 # Firefox
12 # LibLayout
13@@ -175,6 +176,71 @@
14 }
15
16
17+# Dev-Minimal
18+if [ IsOptionalHaikuImagePackageAdded Dev-Minimal ] && $(TARGET_ARCH) = x86 {
19+ # glue code
20+ AddFilesToHaikuImage develop lib x86
21+ : <src!system!glue!arch!x86>crti.o <src!system!glue!arch!x86>crtn.o
22+ <src!system!glue>init_term_dyn.o <src!system!glue>start_dyn.o ;
23+
24+ # kernel
25+ AddFilesToHaikuImage develop lib x86 : kernel.so : _KERNEL_ ;
26+
27+ # library symlinks
28+ local lib ;
29+ for lib in $(BEOS_SYSTEM_LIBS) libglut.so {
30+ AddSymlinkToHaikuImage develop lib x86 : /system/lib/$(lib:BS) ;
31+ }
32+
33+ # static libraries
34+ AddFilesToHaikuImage develop lib x86 : libncurses.a ;
35+
36+ # the POSIX error code mapper library
37+ AddFilesToHaikuImage develop lib x86 : libposix_error_mapper.a ;
38+
39+ # cc and c++ wrapper scripts
40+ AddFilesToHaikuImage beos bin : cc c++ ;
41+
42+ # mkdepend build tool, which is part of the Haiku source tree
43+ # (same as make, but make is already included independent of the
44+ # Development package)
45+ AddFilesToHaikuImage beos bin : mkdepend ;
46+
47+ # skeleton makefile and makefile-engine
48+ local makefileEngineFiles =
49+ <makefile-engine>makefile
50+ <makefile-engine>makefile-engine
51+ ;
52+ SEARCH on $(makefileEngineFiles)
53+ = [ FDirName $(HAIKU_TOP) data develop ] ;
54+ AddFilesToHaikuImage develop etc
55+ : $(makefileEngineFiles) ;
56+
57+ # headers
58+ AddHeaderDirectoryToHaikuImage gnu : 3rdparty ;
59+ AddHeaderDirectoryToHaikuImage os ;
60+ AddHeaderDirectoryToHaikuImage posix ;
61+
62+ # add _G_config.h to posix/
63+ SEARCH on <header>_G_config.h = [ FDirName $(HAIKU_TOP) headers glibc ] ;
64+ AddFilesToHaikuImage develop headers posix : <header>_G_config.h ;
65+
66+ # create be -> os symlink for now
67+ AddSymlinkToHaikuImage develop headers : os : be ;
68+
69+ # BSD compatibility headers
70+ AddHeaderDirectoryToHaikuImage compatibility bsd : bsd ;
71+
72+ # third party libs headers
73+ AddHeaderDirectoryToHaikuImage libs freetype2 : 3rdparty ;
74+ AddHeaderDirectoryToHaikuImage libs iconv : 3rdparty ;
75+ AddHeaderDirectoryToHaikuImage libs ncurses : 3rdparty ;
76+ AddHeaderDirectoryToHaikuImage libs png : 3rdparty ;
77+ AddHeaderDirectoryToHaikuImage libs zlib : 3rdparty ;
78+
79+}
80+
81+
82 # Development
83 if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 {
84 # glue code