1 local architecture = $(TARGET_PACKAGING_ARCH) ;
4 local haikuDevelPackage = haiku_$(architecture)_devel.hpkg ;
5 HaikuPackage $(haikuDevelPackage) ;
7 local arch = $(TARGET_ARCH) ;
10 AddFilesToPackage develop lib $(architecture) :
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
18 # additional libraries
19 local developmentLibs = [ MultiArchDefaultGristFiles libroot_debug.so : revisioned ] ;
20 AddFilesToPackage lib $(architecture) : $(developmentLibs) ;
24 for lib in [ HaikuImageGetSystemLibs ] $(developmentLibs) {
25 AddSymlinkToPackage develop lib $(architecture)
26 : /system/lib/$(architecture) $(lib:BS) ;
27 local abiVersion = [ on $(lib) return $(HAIKU_LIB_ABI_VERSION) ] ;
29 local abiVersionedLib = $(lib:BS).$(abiVersion) ;
30 AddSymlinkToPackage develop lib $(architecture)
31 : /system/lib/$(architecture) $(abiVersionedLib) ;
36 AddFilesToPackage develop lib $(architecture) :
37 <$(architecture)>libcolumnlistview.a
38 <$(architecture)>liblocalestub.a
39 <$(architecture)>libm.a
40 <$(architecture)>libpthread.a
41 <$(architecture)>libshared.a ;
43 # the POSIX error code mapper library
44 AddFilesToPackage develop lib $(architecture)
45 : libposix_error_mapper.a ;
47 # ABI independent stuff
50 if $(HAIKU_GCC_VERSION_$(architecture)[1]) = 2 {
51 # GCC 2 only -- for GCC 4 they come with the gcc package
52 CopyDirectoryToPackage develop headers c++
53 : [ FDirName $(HAIKU_TOP) headers cpp ] : 2.95.3 ;
57 BuildHaikuPackage $(haikuDevelPackage) : haiku_devel_secondary ;