2005-10-29 20:27:43 +04:00
|
|
|
SubDir HAIKU_TOP ;
|
2002-07-15 02:08:55 +04:00
|
|
|
|
2002-07-19 18:10:26 +04:00
|
|
|
NotFile alltests ;
|
|
|
|
Depends alltests : r5tests obostests ;
|
|
|
|
|
2005-05-15 05:44:35 +04:00
|
|
|
NotFile doc_files ;
|
|
|
|
Depends files : doc_files ;
|
|
|
|
|
2004-10-01 03:03:34 +04:00
|
|
|
# Pseudo-target to build the mail kit only
|
|
|
|
NotFile MailKit ;
|
|
|
|
Depends MailKit :
|
|
|
|
libmail.so
|
|
|
|
mail_daemon
|
|
|
|
E-mail
|
|
|
|
BeMail
|
|
|
|
|
|
|
|
# mail_daemon addons
|
|
|
|
Inbox
|
|
|
|
Outbox
|
|
|
|
Message\ Parser
|
|
|
|
New\ Mail\ Notification
|
|
|
|
Match\ Header
|
|
|
|
R5\ Daemon\ Filter
|
|
|
|
IMAP
|
|
|
|
POP3
|
|
|
|
SMTP
|
|
|
|
Fortune
|
2006-12-16 08:09:54 +03:00
|
|
|
Spam\ Filter
|
|
|
|
spamdbm
|
2004-10-01 03:03:34 +04:00
|
|
|
;
|
|
|
|
|
2003-05-31 03:04:41 +04:00
|
|
|
# Pseudo-target to build the media stuffs only
|
|
|
|
NotFile MediaKit ;
|
|
|
|
Depends MediaKit :
|
2008-12-06 21:42:33 +03:00
|
|
|
libmedia.so
|
2005-07-05 22:05:01 +04:00
|
|
|
libgame.so
|
2004-08-15 18:34:13 +04:00
|
|
|
|
2004-08-16 00:43:01 +04:00
|
|
|
# Servers
|
2008-12-06 21:42:33 +03:00
|
|
|
media_addon_server
|
2004-08-15 18:34:13 +04:00
|
|
|
media_server
|
2003-11-22 01:40:36 +03:00
|
|
|
|
2004-08-16 00:43:01 +04:00
|
|
|
# Preference
|
|
|
|
Sounds
|
|
|
|
Media
|
2008-12-06 21:42:33 +03:00
|
|
|
|
2004-08-16 00:43:01 +04:00
|
|
|
# Deskbar replicant
|
|
|
|
desklink
|
|
|
|
|
2003-11-22 01:40:36 +03:00
|
|
|
# add-ons
|
2008-12-06 21:42:33 +03:00
|
|
|
mixer.media_addon
|
|
|
|
tone_producer_demo.media_addon
|
2003-11-22 01:40:36 +03:00
|
|
|
video_producer_demo.media_addon
|
|
|
|
legacy.media_addon
|
|
|
|
multi_audio.media_addon
|
2003-12-06 19:26:08 +03:00
|
|
|
# reader.media_addon
|
|
|
|
# writer.media_addon
|
2008-12-06 21:42:33 +03:00
|
|
|
# demultiplexer.media_addon
|
2003-11-22 01:40:36 +03:00
|
|
|
|
|
|
|
# codecs
|
2004-03-07 01:41:38 +03:00
|
|
|
ac3_decoder
|
2003-12-26 03:01:08 +03:00
|
|
|
aiff_reader
|
|
|
|
au_reader
|
|
|
|
avcodec
|
|
|
|
avi_reader
|
2004-12-25 22:41:23 +03:00
|
|
|
matroska
|
2003-11-22 01:40:36 +03:00
|
|
|
mp3_decoder
|
2003-12-26 03:01:08 +03:00
|
|
|
mp3_reader
|
2004-01-26 01:01:23 +03:00
|
|
|
musepack
|
2003-12-26 03:01:08 +03:00
|
|
|
ogg
|
2004-01-26 01:01:23 +03:00
|
|
|
raw_decoder
|
|
|
|
speex
|
2003-12-26 03:01:08 +03:00
|
|
|
vorbis
|
|
|
|
wav_reader
|
2005-06-10 19:52:49 +04:00
|
|
|
mov_reader
|
2003-09-08 02:23:59 +04:00
|
|
|
;
|
2002-07-15 02:08:55 +04:00
|
|
|
|
2004-10-07 12:35:51 +04:00
|
|
|
# Pseudo-target to build the input kit only
|
|
|
|
NotFile InputKit ;
|
|
|
|
Depends InputKit :
|
|
|
|
# Servers
|
|
|
|
input_server
|
|
|
|
|
|
|
|
# Addons
|
|
|
|
<input>keyboard
|
|
|
|
<input>mouse
|
|
|
|
|
|
|
|
# Apps
|
|
|
|
keymap
|
|
|
|
|
|
|
|
# Preferences
|
|
|
|
Keymap
|
|
|
|
Keyboard
|
2008-12-06 21:42:33 +03:00
|
|
|
Mouse
|
2004-10-07 12:35:51 +04:00
|
|
|
;
|
|
|
|
|
2005-07-29 03:17:52 +04:00
|
|
|
# Pseudo-target to build the OpenGL kit only
|
|
|
|
NotFile OpenGLKit ;
|
|
|
|
Depends OpenGLKit :
|
|
|
|
libGL.so
|
|
|
|
GLTeapot
|
|
|
|
GLInfo
|
|
|
|
;
|
|
|
|
|
2005-08-30 16:22:22 +04:00
|
|
|
# Pseudo-target to build the screensaver kit only
|
|
|
|
NotFile ScreenSaverKit ;
|
|
|
|
Depends ScreenSaverKit :
|
|
|
|
libscreensaver.so
|
|
|
|
screen_saver
|
|
|
|
screen_blanker
|
|
|
|
ScreenSaver
|
|
|
|
Haiku
|
|
|
|
;
|
|
|
|
|
2009-05-02 01:56:16 +04:00
|
|
|
# Pseudo-target to build the locale kit only
|
|
|
|
NotFile LocaleKit ;
|
|
|
|
Depends LocaleKit :
|
|
|
|
liblocale.so
|
|
|
|
Locale
|
2009-05-27 05:12:34 +04:00
|
|
|
|
2009-05-02 01:56:16 +04:00
|
|
|
# binaries for building localized software on haiku
|
|
|
|
collectcatkeys
|
|
|
|
dumpcatalog
|
|
|
|
linkcatkeys
|
2009-05-27 05:12:34 +04:00
|
|
|
|
2009-05-02 01:56:16 +04:00
|
|
|
# addons
|
|
|
|
LocaleKitCollatorAddons
|
|
|
|
LocaleKitCatalogAddons
|
2009-05-27 05:12:34 +04:00
|
|
|
|
2009-05-02 01:56:16 +04:00
|
|
|
# tests
|
|
|
|
LocaleKitTests
|
|
|
|
;
|
|
|
|
|
2010-03-15 23:38:13 +03:00
|
|
|
# Prepare the optional build features before parsing the Jamfile tree.
|
2010-03-15 19:11:47 +03:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalBuildFeatures ] ;
|
|
|
|
|
2009-05-27 05:12:34 +04:00
|
|
|
# Add optional packages given via HAIKU_ADD_OPTIONAL_PACKAGES.
|
|
|
|
if $(HAIKU_ADD_OPTIONAL_PACKAGES) {
|
|
|
|
AddOptionalHaikuImagePackages
|
|
|
|
[ FSplitString $(HAIKU_ADD_OPTIONAL_PACKAGES) : / ] ;
|
|
|
|
}
|
|
|
|
|
2010-03-15 19:11:47 +03:00
|
|
|
# Include packages that are required by all images.
|
2010-03-12 21:07:19 +03:00
|
|
|
AddOptionalHaikuImagePackages MandatoryPackages ;
|
|
|
|
|
|
|
|
# If enabled, make sure that OpenSSL is added to the image.
|
|
|
|
if $(HAIKU_OPENSSL_ENABLED) {
|
|
|
|
AddOptionalHaikuImagePackages OpenSSL ;
|
|
|
|
}
|
2010-03-12 21:03:57 +03:00
|
|
|
|
2010-07-14 14:34:06 +04:00
|
|
|
AddOptionalHaikuImagePackages ICU ;
|
|
|
|
|
2010-10-23 23:24:06 +04:00
|
|
|
# Evaluate optional package dependencies
|
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalPackageDependencies ] ;
|
2009-04-08 14:07:17 +04:00
|
|
|
|
2007-03-04 08:09:59 +03:00
|
|
|
# Optionally we allow not to include the "src" subdirectory.
|
|
|
|
if $(HAIKU_DONT_INCLUDE_SRC) {
|
|
|
|
# Don't include "src", but at least include the stuff needed for the
|
|
|
|
# build.
|
|
|
|
SubInclude HAIKU_TOP src build ;
|
|
|
|
SubInclude HAIKU_TOP src tools ;
|
|
|
|
} else {
|
|
|
|
SubInclude HAIKU_TOP src ;
|
|
|
|
}
|
2008-01-11 21:14:51 +03:00
|
|
|
if $(HAIKU_INCLUDE_3RDPARTY) {
|
|
|
|
SubInclude HAIKU_TOP 3rdparty ;
|
|
|
|
}
|
2007-03-04 08:09:59 +03:00
|
|
|
|
2008-03-30 19:34:30 +04:00
|
|
|
# Perform deferred SubIncludes.
|
|
|
|
ExecuteDeferredSubIncludes ;
|
|
|
|
|
2007-07-27 03:09:18 +04:00
|
|
|
# reset subdir
|
|
|
|
SubDir HAIKU_TOP ;
|
|
|
|
|
2008-12-06 21:42:33 +03:00
|
|
|
# Execute post-build-target user config rules.
|
|
|
|
UserBuildConfigRulePostBuildTargets ;
|
|
|
|
|
2007-07-11 05:04:35 +04:00
|
|
|
# specify the Haiku image and network boot archive contents
|
2007-06-29 23:28:11 +04:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) HaikuImage ] ;
|
2007-07-11 05:04:35 +04:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) NetBootArchive ] ;
|
2008-03-02 06:05:23 +03:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) FloppyBootImage ] ;
|
2008-03-02 07:38:29 +03:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) CDBootImage ] ;
|
2008-11-07 05:35:46 +03:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) CDBootPPCImage ] ;
|
2009-02-15 05:34:32 +03:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) HaikuCD ] ;
|
2010-02-28 21:54:16 +03:00
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) AnybootImage ] ;
|
2009-02-24 01:33:09 +03:00
|
|
|
|
|
|
|
# Check whether all requested optional packages do actually exist.
|
|
|
|
local package ;
|
|
|
|
local packageError ;
|
|
|
|
for package in $(HAIKU_ADDED_OPTIONAL_PACKAGES) {
|
|
|
|
if ! [ on $(package) return $(HAIKU_OPTIONAL_PACKAGE_EXISTS) ] {
|
|
|
|
Echo "ERROR: Requested optional package \"$(package)\" does not"
|
|
|
|
"exist." ;
|
|
|
|
packageError = 1 ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if $(packageError) {
|
|
|
|
Exit ;
|
|
|
|
}
|
2010-10-24 00:26:08 +04:00
|
|
|
|
|
|
|
# Pseudo-target to build all targets that are localized.
|
2010-10-24 07:31:34 +04:00
|
|
|
NotFile LocalizedTargets ;
|
|
|
|
Depends LocalizedTargets : $(HAIKU_LOCALIZED_TARGETS) ;
|
2010-10-24 20:55:33 +04:00
|
|
|
|
|
|
|
NotFile catalogs ;
|
|
|
|
Depends catalogs : $(HAIKU_LOCALE_CATALOGS) ;
|
|
|
|
|
|
|
|
NotFile catkeys ;
|
|
|
|
Depends catkeys : $(HAIKU_LOCALE_OUTPUT_CATKEYS) ;
|