4 Depends files : doc_files ;
6 # Pseudo-target to build the mail kit only
18 New\ Mail\ Notification
29 # Pseudo-target to build the media stuffs only
30 # TODO: don't know how to make avcodec mp3_decoder mp3_reader ogg speex vorbis
49 tone_producer_demo.media_addon
50 video_producer_demo.media_addon
52 multi_audio.media_addon
55 # demultiplexer.media_addon
75 # Pseudo-target to build the input kit only
94 # Pseudo-target to build the OpenGL kit only
102 # Pseudo-target to build the screensaver kit only
103 NotFile ScreenSaverKit ;
104 Depends ScreenSaverKit :
112 # Pseudo-target to build the locale kit only
113 # TODO: src/add-ons/locale/collators/GermanDIN-2.cpp does not compile
118 # binaries for building localized software on haiku
124 LocaleKitCollatorAddons
125 LocaleKitCatalogAddons
131 # Add optional packages given via HAIKU_ADD_OPTIONAL_PACKAGES.
132 if $(HAIKU_ADD_OPTIONAL_PACKAGES) {
133 AddOptionalHaikuImagePackages
134 [ FSplitString $(HAIKU_ADD_OPTIONAL_PACKAGES) : / ] ;
137 # Prepare the optional build features before parsing the Jamfile tree.
138 include [ FDirName $(HAIKU_BUILD_RULES_DIR) BuildFeatures ] ;
140 # Include packages that are required by all images.
141 AddOptionalHaikuImagePackages MandatoryPackages ;
143 # If enabled, make sure that OpenSSL is added to the image.
144 if $(HAIKU_BUILD_FEATURE_OPENSSL_ENABLED) {
145 AddOptionalHaikuImagePackages OpenSSL ;
148 AddOptionalHaikuImagePackages ICU ;
150 # Evaluate optional package dependencies
151 include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalPackageDependencies ] ;
153 # Optionally we allow not to include the "src" subdirectory.
154 if $(HAIKU_DONT_INCLUDE_SRC) {
155 # Don't include "src", but at least include the stuff needed for the
157 SubInclude HAIKU_TOP src build ;
158 SubInclude HAIKU_TOP src tools ;
160 SubInclude HAIKU_TOP src ;
162 if $(HAIKU_INCLUDE_3RDPARTY) {
163 SubInclude HAIKU_TOP 3rdparty ;
166 # Perform deferred SubIncludes.
167 ExecuteDeferredSubIncludes ;
172 # Execute post-build-target user config rules.
173 UserBuildConfigRulePostBuildTargets ;
175 # specify the Haiku image and network boot archive contents
176 include [ FDirName $(HAIKU_BUILD_RULES_DIR) HaikuImage ] ;
177 include [ FDirName $(HAIKU_BUILD_RULES_DIR) NetBootArchive ] ;
178 include [ FDirName $(HAIKU_BUILD_RULES_DIR) FloppyBootImage ] ;
179 include [ FDirName $(HAIKU_BUILD_RULES_DIR) CDBootImage ] ;
180 include [ FDirName $(HAIKU_BUILD_RULES_DIR) CDBootPPCImage ] ;
181 include [ FDirName $(HAIKU_BUILD_RULES_DIR) HaikuCD ] ;
182 include [ FDirName $(HAIKU_BUILD_RULES_DIR) AnybootImage ] ;
184 # Check whether all requested optional packages do actually exist.
187 for package in $(HAIKU_ADDED_OPTIONAL_PACKAGES) {
188 if ! [ on $(package) return $(HAIKU_OPTIONAL_PACKAGE_EXISTS) ] {
189 Echo "ERROR: Requested optional package \"$(package)\" does not"
198 # Pseudo-target to build all targets that are localized.
199 NotFile LocalizedTargets ;
200 Depends LocalizedTargets : $(HAIKU_LOCALIZED_TARGETS) ;
203 Depends catalogs : $(HAIKU_LOCALE_CATALOGS) ;
206 Depends catkeys : $(HAIKU_LOCALE_OUTPUT_CATKEYS) ;