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-13 00:50:04 +04:00
|
|
|
# Pseudo-target to build the network kit only
|
|
|
|
NotFile NetworkingKit ;
|
|
|
|
Depends NetworkingKit :
|
2003-05-13 00:42:24 +04:00
|
|
|
net_stack_driver net_server_driver
|
|
|
|
core
|
2003-10-23 22:04:33 +04:00
|
|
|
ethernet loopback ppp
|
2004-03-30 14:51:10 +04:00
|
|
|
raw route ipv4 icmp udp tcp
|
2004-04-15 20:04:39 +04:00
|
|
|
libnet.so libnetapi.so libbind.so libsocket.so
|
2004-03-30 14:51:10 +04:00
|
|
|
ping ifconfig <bin>route traceroute arp pppconfig
|
2008-12-06 21:42:33 +03:00
|
|
|
|
2003-11-26 23:11:32 +03:00
|
|
|
# network drivers:
|
2008-12-06 21:42:33 +03:00
|
|
|
sis900 rtl8139 rtl8169 via-rhine ipro1000 wb840 bcm440x bcm570x
|
|
|
|
|
2003-11-26 23:11:32 +03:00
|
|
|
# PPP devices:
|
2004-04-15 20:04:39 +04:00
|
|
|
modem pppoe
|
2003-11-26 23:11:32 +03:00
|
|
|
# PPP protocols:
|
|
|
|
ipcp
|
|
|
|
# PPP authenticators:
|
|
|
|
pap
|
2003-10-23 22:04:33 +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-04-08 14:07:17 +04:00
|
|
|
# Evaluate optional package dependencies and prepare the optional build
|
|
|
|
# features before parsing the Jamfile tree.
|
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalPackageDependencies ] ;
|
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalBuildFeatures ] ;
|
|
|
|
|
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 ] ;
|
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 ;
|
|
|
|
}
|