1 local architecture = $(HAIKU_PACKAGING_ARCHS[1]) ;
4 local haikuDevelPackage = haiku_devel.hpkg ;
5 HaikuPackage $(haikuDevelPackage) ;
7 local arch = $(TARGET_ARCH) ;
10 AddFilesToPackage develop lib :
11 <src!system!glue!arch!$(arch)!$(architecture)>crti.o
12 <src!system!glue!arch!$(arch)!$(architecture)>crtn.o
13 <src!system!glue!$(architecture)>init_term_dyn.o
14 <src!system!glue!$(architecture)>start_dyn.o
15 <src!system!glue!$(architecture)>haiku_version_glue.o
19 AddFilesToPackage develop lib : kernel.so : _KERNEL_ ;
21 # additional libraries
22 local developmentLibs =
23 <revisioned>libroot_debug.so
26 AddFilesToPackage lib : $(developmentLibs) ;
30 for lib in [ HaikuImageGetSystemLibs ] $(developmentLibs) {
31 AddSymlinkToPackage develop lib : /system/lib $(lib:BS) ;
32 local abiVersion = [ on $(lib) return $(HAIKU_LIB_ABI_VERSION) ] ;
34 local abiVersionedLib = $(lib:BS).$(abiVersion) ;
35 AddSymlinkToPackage develop lib
36 : /system/lib $(abiVersionedLib) ;
41 AddFilesToPackage develop lib :
43 <$(architecture)>liblocalestub.a
45 libprint.a libprintutils.a
46 <$(architecture)>libshared.a ;
48 # the POSIX error code mapper library
49 AddFilesToPackage develop lib : libposix_error_mapper.a ;
51 # ABI independent stuff
54 AddHeaderDirectoryToPackage config ;
55 AddHeaderDirectoryToPackage glibc ;
56 AddHeaderDirectoryToPackage libs alm ;
57 AddHeaderDirectoryToPackage libs glut GL ;
58 AddHeaderDirectoryToPackage os ;
59 AddHeaderDirectoryToPackage posix ;
62 AddHeaderDirectoryToPackage private ;
63 CopyDirectoryToPackage develop headers private libs compat
64 : [ FDirName $(HAIKU_TOP) src libs compat freebsd_network ]
65 : : -x *.c -x *.cpp -x *.awk -x Jamfile -x miidevs ;
66 CopyDirectoryToPackage develop headers private libs compat
67 : [ FDirName $(HAIKU_TOP) src libs compat freebsd_wlan ]
68 : : -x *.c -x Jamfile ;
70 # create be -> os symlink for now
71 AddSymlinkToPackage develop headers : os : be ;
73 # BSD and GNU compatibility headers
74 AddHeaderDirectoryToPackage compatibility bsd : bsd ;
75 AddHeaderDirectoryToPackage compatibility gnu : gnu ;
78 if $(HAIKU_GCC_VERSION_$(architecture)[1]) = 2 {
79 # GCC 2 only -- for GCC 4 they come with the gcc package
80 CopyDirectoryToPackage develop headers c++
81 : [ FDirName $(HAIKU_TOP) headers cpp ] : 2.95.3 ;
85 # Deskbar menu symlinks
86 AddSymlinkToPackage data deskbar menu Applications
87 : ../../../../apps/Debugger : Debugger ;
90 SEARCH on leak_analyser.sh = [ FDirName $(HAIKU_TOP) src bin ] ;
91 AddFilesToPackage bin : leak_analyser.sh ;
93 BuildHaikuPackage $(haikuDevelPackage) : haiku_devel ;