2007-07-11 05:04:35 +04:00
|
|
|
# This file defines what ends up on the Haiku image (respectively in the Haiku
|
|
|
|
# installation directory) and it executes the rules building the image
|
|
|
|
# (respectively installing the files in the installation directory).
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# create directories that will remain empty
|
|
|
|
AddDirectoryToHaikuImage home Desktop ;
|
2006-06-03 19:13:39 +04:00
|
|
|
AddDirectoryToHaikuImage home config bin ;
|
|
|
|
AddDirectoryToHaikuImage home config lib ;
|
2007-12-02 17:30:52 +03:00
|
|
|
AddDirectoryToHaikuImage home mail ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddDirectoryToHaikuImage var log ;
|
|
|
|
AddDirectoryToHaikuImage var tmp ;
|
|
|
|
|
2007-07-11 05:04:35 +04:00
|
|
|
local X86_ONLY = ;
|
|
|
|
local PPC_ONLY = ;
|
2006-01-07 23:29:50 +03:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
X86_ONLY = "" ;
|
|
|
|
} else if $(TARGET_ARCH) = ppc {
|
|
|
|
X86_ONLY = ;
|
|
|
|
}
|
|
|
|
|
2007-07-11 05:04:35 +04:00
|
|
|
local GPL_ONLY = ;
|
2006-05-10 00:05:27 +04:00
|
|
|
if $(INCLUDE_GPL_ADDONS) = 1 {
|
|
|
|
GPL_ONLY = "" ;
|
|
|
|
}
|
|
|
|
|
2007-12-06 23:40:24 +03:00
|
|
|
BEOS_BIN = "[" addattr alert arp base64 basename bc beep bison bzip2 cal cat
|
|
|
|
catattr chgrp chmod chop chown cksum clear clockconfig cmp comm compress
|
|
|
|
cp copyattr $(X86_ONLY)CortexAddOnHost
|
2007-03-28 20:39:29 +04:00
|
|
|
csplit ctags cut date dc dd desklink df diff diff3 dircolors dirname
|
2007-10-14 17:10:37 +04:00
|
|
|
driveinfo dstcheck du echo eject env error expand expr
|
2008-02-03 19:37:49 +03:00
|
|
|
expr factor false fdinfo ffm find finddir fmt fold fortune frcode ftp ftpd
|
|
|
|
funzip fwcontrol
|
2007-09-03 22:44:57 +04:00
|
|
|
gawk $(X86_ONLY)gdb grep groups gzip gzexe hd head hey hostname id ident
|
|
|
|
ideinfo idestatus ifconfig <bin>install installsound iroster isvolume join
|
|
|
|
keymap kill less lessecho lesskey link listarea listattr listdev listimage
|
2007-07-04 20:34:43 +04:00
|
|
|
listport listres listsem ln locate logger login logname ls lsindex m4 make
|
2007-04-11 20:07:58 +04:00
|
|
|
makebootable md5sum merge mimeset mkdos mkdir mkindex modifiers mount
|
2007-10-14 17:10:37 +04:00
|
|
|
mount_nfs mountvolume mv nc netstat nl nohup od open paste patch pathchk pc
|
2007-03-28 20:39:29 +04:00
|
|
|
ping play playfile playsound playwav pr prio printenv printf ps ptx pwd
|
2007-10-13 16:50:37 +04:00
|
|
|
query quit readlink release renice rescan rlog rm rmattr rmindex rmdir roster route
|
2008-03-19 19:19:47 +03:00
|
|
|
safemode screen_blanker sed setdecor settype setversion setvolume seq sh sha1sum shar
|
2007-10-13 16:50:37 +04:00
|
|
|
shred shuf shutdown sleep sort split stat strace stty su sum sync sysinfo tac tail tar
|
2007-04-19 10:39:05 +04:00
|
|
|
tcpdump tcptester tee telnet telnetd test top touch tput tr traceroute
|
|
|
|
translate true tsort tty uname unchop unexpand unmount uniq unrar unshar
|
2007-04-26 13:49:39 +04:00
|
|
|
unzip unzipsfx <bin>updatedb uptime urlwrapper usb_dev_info uudecode uuencode vdir
|
2007-04-19 10:39:05 +04:00
|
|
|
version vim waitfor wc wget whoami xargs xres yes zdiff zforce zgrep zip
|
|
|
|
zipcloak zipgrep zipnote zipsplit zmore znew
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
2008-03-19 19:19:47 +03:00
|
|
|
|
2008-01-27 16:14:50 +03:00
|
|
|
BEOS_APPS = AboutSystem CodyCam DeskCalc DiskProbe DriveSetup CDPlayer Expander
|
2007-08-25 21:39:46 +04:00
|
|
|
Icon-O-Matic Installer LaunchBox Magnify Mail MediaPlayer MidiPlayer
|
2007-10-14 17:52:42 +04:00
|
|
|
NetworkStatus PackageInstaller People PowerStatus ProcessController
|
|
|
|
ShowImage SoundRecorder StyledEdit Terminal TV Workspaces
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2008-01-27 16:14:50 +03:00
|
|
|
BEOS_PREFERENCES = Appearance Backgrounds DataTranslations E-mail
|
2007-11-13 13:46:51 +03:00
|
|
|
FileTypes Fonts Keyboard Keymap Media Menu Mouse Network Printers Screen
|
|
|
|
ScreenSaver Sounds Time VirtualMemory
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2008-03-06 15:42:16 +03:00
|
|
|
BEOS_DEMOS = BSnow Chart Clock $(X86_ONLY)Cortex FontDemo
|
2007-06-09 16:07:55 +04:00
|
|
|
$(X86_ONLY)GLDirectMode $(X86_ONLY)GLTeapot Mandelbrot PictureTest
|
2007-08-25 21:39:46 +04:00
|
|
|
Playground Pulse Sudoku
|
2006-10-24 17:54:53 +04:00
|
|
|
;
|
2008-02-06 16:22:14 +03:00
|
|
|
BEOS_SYSTEM_LIBS = libbe.so $(HAIKU_LIBSTDC++) libmedia.so libtracker.so
|
2006-10-07 22:00:36 +04:00
|
|
|
libtranslation.so libnetwork.so libdebug.so libbsd.so libmail.so
|
2005-11-17 12:04:03 +03:00
|
|
|
libtextencoding.so libz.so libfreetype.so libpng.so libmidi.so libmidi2.so
|
2007-02-06 19:51:29 +03:00
|
|
|
libdevice.so libgame.so libscreensaver.so <revisioned>libroot.so
|
2008-02-06 13:51:44 +03:00
|
|
|
$(X86_ONLY)libGL.so libfluidsynth.so liblpsolve55.so liblinprog.so libalm.so
|
2008-02-09 20:48:10 +03:00
|
|
|
libilmimf.so
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2007-03-28 20:39:29 +04:00
|
|
|
BEOS_SYSTEM_SERVERS = registrar debug_server syslog_daemon media_server
|
|
|
|
net_server media_addon_server input_server app_server fake_app_server
|
2007-04-15 18:46:12 +04:00
|
|
|
midi_server print_server mail_daemon
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
2006-08-08 16:33:33 +04:00
|
|
|
BEOS_NETWORK_DEVICES = ethernet loopback ;
|
2008-01-04 00:15:25 +03:00
|
|
|
BEOS_NETWORK_DATALINK_PROTOCOLS = ethernet_frame <module>arp loopback_frame
|
|
|
|
ipv4_datagram ;
|
2006-08-08 16:33:33 +04:00
|
|
|
#BEOS_NETWORK_PPP = ipcp modem pap pppoe ;
|
|
|
|
BEOS_NETWORK_PROTOCOLS = ipv4 tcp udp icmp ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2007-05-04 11:49:53 +04:00
|
|
|
BEOS_ADD_ONS_ACCELERANTS = $(X86_ONLY)radeon.accelerant $(X86_ONLY)nvidia.accelerant
|
|
|
|
$(X86_ONLY)matrox.accelerant $(X86_ONLY)neomagic.accelerant
|
2007-06-21 14:14:11 +04:00
|
|
|
$(X86_ONLY)intel_extreme.accelerant $(X86_ONLY)s3savage.accelerant vesa.accelerant
|
2008-03-28 12:24:29 +03:00
|
|
|
#$(X86_ONLY)via.accelerant
|
2007-03-28 20:39:29 +04:00
|
|
|
#$(X86_ONLY)vmware.accelerant
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2008-02-09 20:48:10 +03:00
|
|
|
BEOS_ADD_ONS_TRANSLATORS = BMPTranslator EXRTranslator GIFTranslator JPEGTranslator
|
2008-02-17 15:02:15 +03:00
|
|
|
JPEG2000Translator PCXTranslator PNGTranslator PPMTranslator RAWTranslator
|
2006-04-30 00:14:26 +04:00
|
|
|
RTF-Translator SGITranslator STXTTranslator TGATranslator
|
2008-02-17 15:02:15 +03:00
|
|
|
TIFFTranslator WonderBrushTranslator
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2008-03-10 23:38:54 +03:00
|
|
|
BEOS_ADD_ONS_MEDIA = dvb.media_addon
|
2008-03-19 19:19:47 +03:00
|
|
|
hmulti_audio.media_addon
|
|
|
|
mixer.media_addon
|
2007-11-25 21:15:43 +03:00
|
|
|
opensound.media_addon
|
2008-03-10 23:38:54 +03:00
|
|
|
tone_producer_demo.media_addon
|
|
|
|
usb_webcam.media_addon
|
|
|
|
video_producer_demo.media_addon
|
|
|
|
video_window_demo.media_addon
|
2006-05-09 18:25:59 +04:00
|
|
|
#legacy.media_addon
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2006-05-10 00:05:27 +04:00
|
|
|
BEOS_ADD_ONS_MEDIA_PLUGINS = $(GPL_ONLY)ac3_decoder
|
2006-05-19 19:52:21 +04:00
|
|
|
aiff_reader au_reader $(X86_ONLY)avcodec avi_reader
|
2006-05-10 00:05:27 +04:00
|
|
|
matroska mov_reader
|
|
|
|
mp3_decoder mp3_reader
|
|
|
|
mp4_reader musepack
|
2008-03-19 19:19:47 +03:00
|
|
|
ogg raw_decoder speex
|
2006-05-10 00:05:27 +04:00
|
|
|
# theora
|
|
|
|
vorbis wav_reader
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2007-03-28 20:39:29 +04:00
|
|
|
BEOS_ADD_ONS_PRINT = Canon\ LIPS3\ Compatible Canon\ LIPS4\ Compatible
|
|
|
|
PCL5\ Compatible PCL6\ Compatible PDF\ Writer PS\ Compatible Preview
|
2006-10-07 23:21:22 +04:00
|
|
|
;
|
2007-03-28 20:39:29 +04:00
|
|
|
BEOS_ADD_ONS_PRINT_TRANSPORT = HP\ JetDirect IPP LPR Parallel\ Port
|
|
|
|
Print\ To\ File Serial\ Port USB\ Port
|
2006-10-07 23:21:22 +04:00
|
|
|
;
|
2007-11-13 14:48:35 +03:00
|
|
|
BEOS_ADD_ONS_SCREENSAVERS = Haiku IFS Spider ;
|
2008-03-12 13:18:25 +03:00
|
|
|
BEOS_ADD_ONS_DRIVERS_AUDIO = auich auvia emuxki ; #hda
|
2007-05-04 11:49:53 +04:00
|
|
|
BEOS_ADD_ONS_DRIVERS_GRAPHICS = $(X86_ONLY)radeon $(X86_ONLY)nvidia
|
2007-06-21 14:14:11 +04:00
|
|
|
$(X86_ONLY)neomagic $(X86_ONLY)matrox $(X86_ONLY)intel_extreme
|
2008-03-28 12:24:29 +03:00
|
|
|
$(X86_ONLY)s3savage vesa #$(X86_ONLY)via #$(X86_ONLY)vmware
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2006-08-28 14:21:58 +04:00
|
|
|
BEOS_ADD_ONS_DRIVERS_MIDI = emuxki ;
|
2008-01-04 00:15:25 +03:00
|
|
|
BEOS_ADD_ONS_DRIVERS_NET = $(X86_ONLY)3com etherpci $(X86_ONLY)ipro1000
|
|
|
|
$(X86_ONLY)rtl8139 rtl8169 sis900 $(X86_ONLY)via_rhine wb840 net_stack
|
2008-02-06 01:18:14 +03:00
|
|
|
$(X86_ONLY)ipro100 $(X86_ONLY)nforce #vlance
|
2008-02-07 02:14:37 +03:00
|
|
|
$(X86_ONLY)marvell_yukon
|
2006-05-10 00:05:27 +04:00
|
|
|
$(GPL_ONLY)bcm440x $(GPL_ONLY)bcm570x
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
2007-01-04 12:47:08 +03:00
|
|
|
#BEOS_ADD_ONS_DRIVERS_ACPI = $(X86_ONLY)acpi_button ;
|
2007-03-28 20:39:29 +04:00
|
|
|
BEOS_ADD_ONS_BUS_MANAGERS = pci $(X86_ONLY)ps2 $(X86_ONLY)isa ide scsi
|
2008-01-27 01:18:52 +03:00
|
|
|
config_manager agp_gart usb firewire
|
2006-05-02 23:10:10 +04:00
|
|
|
;
|
2008-02-26 01:03:39 +03:00
|
|
|
BEOS_ADD_ONS_FILE_SYSTEMS = bfs cdda fat googlefs iso9660 nfs $(GPL_ONLY)ntfs ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
|
|
|
|
# modules
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel bus_managers
|
|
|
|
: $(BEOS_ADD_ONS_BUS_MANAGERS) ;
|
2008-01-27 01:18:52 +03:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel busses agp_gart
|
2008-02-05 15:36:18 +03:00
|
|
|
: $(X86_ONLY)<agp_gart>intel ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel busses ide
|
2007-08-16 01:19:06 +04:00
|
|
|
: generic_ide_pci $(X86_ONLY)ide_isa silicon_image_3112 legacy_sata ;
|
2007-08-24 03:29:08 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel busses scsi
|
|
|
|
: ahci ;
|
2006-08-25 00:25:29 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel busses usb
|
2007-10-13 02:11:54 +04:00
|
|
|
: <usb>uhci <usb>ehci ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel console : vga_text ;
|
2008-02-20 03:40:07 +03:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel debugger
|
|
|
|
: <kdebug>hangman <kdebug>invalidate_on_exit ;
|
2007-03-28 20:39:29 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel file_systems
|
2007-05-22 17:21:58 +04:00
|
|
|
: $(BEOS_ADD_ONS_FILE_SYSTEMS) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel generic
|
2007-08-29 23:36:43 +04:00
|
|
|
: block_io dpc fast_log ide_adapter locked_pool mpu401 scsi_periph ;
|
2007-03-28 20:39:29 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel partitioning_systems
|
|
|
|
: intel session ;
|
2006-02-07 05:42:38 +03:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel interrupt_controllers
|
|
|
|
: $(PPC_ONLY)openpic ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2005-12-12 20:20:32 +03:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel cpu : generic_x86 ;
|
|
|
|
}
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
# drivers
|
2006-01-07 23:29:50 +03:00
|
|
|
AddDriversToHaikuImage : console dprintf $(X86_ONLY)keyboard null
|
|
|
|
random <driver>tty zero ;
|
2006-03-15 03:41:24 +03:00
|
|
|
AddDriversToHaikuImage audio hmulti : $(BEOS_ADD_ONS_DRIVERS_AUDIO) ;
|
2007-06-09 16:07:55 +04:00
|
|
|
AddDriversToHaikuImage midi : $(BEOS_ADD_ONS_DRIVERS_MIDI) ;
|
2007-09-03 22:44:57 +04:00
|
|
|
AddDriversToHaikuImage bus : fw_raw usb_raw ;
|
2007-08-22 22:44:38 +04:00
|
|
|
AddDriversToHaikuImage disk scsi : scsi_cd scsi_dsk ;
|
2007-05-15 21:58:12 +04:00
|
|
|
AddDriversToHaikuImage disk virtual : nbd ;
|
2007-04-16 02:44:37 +04:00
|
|
|
AddDriversToHaikuImage dvb : cx23882 ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddDriversToHaikuImage graphics : $(BEOS_ADD_ONS_DRIVERS_GRAPHICS) ;
|
2008-01-20 23:38:57 +03:00
|
|
|
AddDriversToHaikuImage input : ps2_hid usb_hid wacom ;
|
2007-04-23 23:11:02 +04:00
|
|
|
AddDriversToHaikuImage misc : <driver>poke <driver>test ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddDriversToHaikuImage net : $(BEOS_ADD_ONS_DRIVERS_NET) ;
|
2007-01-04 12:47:08 +03:00
|
|
|
#AddDriversToHaikuImage power : $(BEOS_ADD_ONS_DRIVERS_ACPI) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# kernel
|
2007-05-19 19:36:32 +04:00
|
|
|
AddFilesToHaikuImage beos system : <revisioned>kernel_$(TARGET_ARCH) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# libs
|
2008-02-06 16:22:14 +03:00
|
|
|
AddFilesToHaikuImage beos system lib : $(BEOS_SYSTEM_LIBS) ;
|
|
|
|
|
2006-10-06 21:20:50 +04:00
|
|
|
# libnetwork.so replaces quite a few libraries
|
2008-02-06 16:22:14 +03:00
|
|
|
BEOS_SYSTEM_LIBS_LIBNETWORK_ALIASES
|
|
|
|
= libsocket.so libbind.so libnet.so libnetapi.so libbnetapi.so ;
|
|
|
|
|
|
|
|
local lib ;
|
|
|
|
for lib in $(BEOS_SYSTEM_LIBS_LIBNETWORK_ALIASES) {
|
|
|
|
AddSymlinkToHaikuImage beos system lib : libnetwork.so : $(lib) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
# libGL.so has GLUT built-in
|
2007-07-30 22:43:32 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2007-08-22 22:44:38 +04:00
|
|
|
AddSymlinkToHaikuImage beos system lib : $(X86_ONLY)libGL.so : libglut.so ;
|
2007-07-30 22:43:32 +04:00
|
|
|
}
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# servers
|
|
|
|
AddFilesToHaikuImage beos system servers : $(BEOS_SYSTEM_SERVERS) ;
|
|
|
|
|
|
|
|
# apps
|
2006-03-30 22:08:51 +04:00
|
|
|
AddFilesToHaikuImage beos system : runtime_loader Deskbar Tracker ;
|
2006-06-29 22:47:10 +04:00
|
|
|
AddFilesToHaikuImage beos bin : $(BEOS_BIN) consoled ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos apps : $(BEOS_APPS) ;
|
2007-06-09 16:07:55 +04:00
|
|
|
AddFilesToHaikuImage beos preferences : $(BEOS_PREFERENCES) ;
|
2006-10-24 17:54:53 +04:00
|
|
|
AddFilesToHaikuImage beos demos : $(BEOS_DEMOS) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2008-03-27 04:02:30 +03:00
|
|
|
AddSymlinkToHaikuImage beos bin : sh : bash ;
|
|
|
|
|
2005-11-27 01:29:29 +03:00
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
|
|
|
|
|
2007-06-09 16:07:55 +04:00
|
|
|
# Deskbar Application links
|
|
|
|
AddDirectoryToHaikuImage home config be Applications ;
|
2007-07-14 15:41:09 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/CodyCam : CodyCam ;
|
2007-06-09 16:07:55 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/CDPlayer : CDPlayer ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/DeskCalc : DeskCalc ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/DiskProbe : DiskProbe ;
|
2008-01-27 16:14:50 +03:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/DriveSetup : DriveSetup ;
|
2007-06-09 16:07:55 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/Icon-O-Matic : Icon-O-Matic ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/Magnify : Magnify ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/Mail : Mail ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/MediaPlayer : MediaPlayer ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/MidiPlayer : MidiPlayer ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/People : People ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/SoundRecorder : SoundRecorder ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/StyledEdit : StyledEdit ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/Terminal : Terminal ;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/beos/apps/TV : TV ;
|
|
|
|
|
|
|
|
# Deskbar Desktop Applets links
|
|
|
|
AddDirectoryToHaikuImage home config be Desktop\ Applets ;
|
|
|
|
AddSymlinkToHaikuImage home config be Desktop\ Applets
|
|
|
|
: /boot/beos/apps/LaunchBox : LaunchBox ;
|
|
|
|
AddSymlinkToHaikuImage home config be Desktop\ Applets
|
|
|
|
: /boot/beos/apps/NetworkStatus : NetworkStatus ;
|
|
|
|
AddSymlinkToHaikuImage home config be Desktop\ Applets
|
|
|
|
: /boot/beos/apps/PowerStatus : PowerStatus ;
|
|
|
|
AddSymlinkToHaikuImage home config be Desktop\ Applets
|
|
|
|
: /boot/beos/apps/ProcessController : ProcessController ;
|
|
|
|
AddSymlinkToHaikuImage home config be Desktop\ Applets
|
|
|
|
: /boot/beos/apps/Workspaces : Workspaces ;
|
|
|
|
|
|
|
|
# Deskbar Preferences and Demos links
|
2005-11-27 01:04:33 +03:00
|
|
|
AddSymlinkToHaikuImage home config be : /boot/beos/preferences : Preferences ;
|
2006-10-24 17:54:53 +04:00
|
|
|
AddSymlinkToHaikuImage home config be : /boot/beos/demos : Demos ;
|
2005-11-27 01:04:33 +03:00
|
|
|
|
2007-04-27 02:11:52 +04:00
|
|
|
AddSymlinkToHaikuImage beos bin : bzip2 : bunzip2 ;
|
2005-11-27 01:04:33 +03:00
|
|
|
AddSymlinkToHaikuImage beos bin : less : more ;
|
2006-01-17 17:49:50 +03:00
|
|
|
AddSymlinkToHaikuImage beos bin : gzip : gunzip ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : gzip : zcat ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : zdiff : zcmp ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : unzip : zipinfo ;
|
2007-03-26 06:55:19 +04:00
|
|
|
AddSymlinkToHaikuImage beos bin : gawk : awk ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : grep : egrep ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : grep : fgrep ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : vim : vi ;
|
|
|
|
AddSymlinkToHaikuImage beos bin : vim : view ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
|
|
|
|
# scripts and data files
|
2008-03-06 06:04:28 +03:00
|
|
|
local bootScripts = Bootscript Bootscript.cd SetupEnvironment Netscript InstallerInitScript
|
2007-03-28 20:39:29 +04:00
|
|
|
InstallerFinishScript ;
|
2005-10-29 20:27:43 +04:00
|
|
|
SEARCH on $(bootScripts) = [ FDirName $(HAIKU_TOP) data system boot ] ;
|
|
|
|
AddFilesToHaikuImage beos system boot : $(bootScripts) ;
|
|
|
|
|
2007-03-28 20:39:29 +04:00
|
|
|
local logoArtwork = "HAIKU logo - white on blue - big.png"
|
|
|
|
"HAIKU logo - white on blue - small.png" ;
|
2006-05-29 18:45:45 +04:00
|
|
|
SEARCH on $(logoArtwork) = [ FDirName $(HAIKU_TOP) data artwork ] ;
|
|
|
|
AddFilesToHaikuImage beos etc artwork : $(logoArtwork) ;
|
|
|
|
|
2007-08-29 23:31:32 +04:00
|
|
|
# Mail spell check dictionaries
|
|
|
|
local spellFiles = words geekspeak ;
|
|
|
|
spellFiles = $(spellFiles:G=spell) ;
|
|
|
|
SEARCH on $(spellFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) src apps mail ] ;
|
|
|
|
AddFilesToHaikuImage beos etc word_dictionary : $(spellFiles) ;
|
|
|
|
|
2006-11-12 23:01:59 +03:00
|
|
|
local svgFiles = "lion.svg" ;
|
2007-03-28 20:39:29 +04:00
|
|
|
SEARCH on $(svgFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) src tests kits interface picture ] ;
|
2006-11-12 23:01:59 +03:00
|
|
|
AddFilesToHaikuImage beos etc artwork : $(svgFiles) ;
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
# TODO: Use data/etc/termcap or src/libs/termcap.src?
|
2007-10-14 17:52:42 +04:00
|
|
|
local etcFiles = inputrc profile termcap teapot.data ;
|
2005-10-29 20:27:43 +04:00
|
|
|
etcFiles = $(etcFiles:G=etc) ;
|
|
|
|
SEARCH on $(etcFiles) = [ FDirName $(HAIKU_TOP) data etc ] ;
|
|
|
|
AddFilesToHaikuImage beos etc : $(etcFiles) ;
|
|
|
|
|
2007-01-06 23:52:49 +03:00
|
|
|
local fortuneFiles = Art Computers Education Food Fortunes Goedel Haiku
|
|
|
|
Humorists Kids Law "Linux cookies" Love Magic Medicine Miscellaneous
|
|
|
|
News "One Liners" "OS Fortunes" Pets Platitudes Riddles "Songs & Poems"
|
|
|
|
Sports "Tech Support Excuses" ;
|
|
|
|
fortuneFiles = $(fortuneFiles:G=etc!fortunes) ;
|
|
|
|
SEARCH on $(fortuneFiles) = [ FDirName $(HAIKU_TOP) data etc fortunes ] ;
|
|
|
|
AddFilesToHaikuImage beos etc fortunes : $(fortuneFiles) ;
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
local fontDir = [ FDirName $(HAIKU_TOP) data etc fonts ] ;
|
|
|
|
local psFonts = [ Glob $(fontDir)/psfonts : *.afm *.pfb ] ;
|
|
|
|
local ttFonts = [ Glob $(fontDir)/ttfonts : *.ttf ] ;
|
|
|
|
AddFilesToHaikuImage beos etc fonts psfonts : $(psFonts) ;
|
|
|
|
AddFilesToHaikuImage beos etc fonts ttfonts : $(ttFonts) ;
|
|
|
|
|
|
|
|
local kanbeDir = [ FDirName $(HAIKU_TOP) data etc KanBe ] ;
|
|
|
|
local kanbeDefault = [ Glob $(kanbeDir)/default : *.canna *.gz ] ;
|
|
|
|
local kanbeDic = [ Glob $(kanbeDir)/dic : *.cbp ] ;
|
|
|
|
local kanbeDicCanna = [ Glob $(kanbeDir)/dic/canna
|
|
|
|
: *.cld *.ctd *.cbd *.dir ] ;
|
|
|
|
AddFilesToHaikuImage beos etc KanBe default : $(kanbeDefault) ;
|
|
|
|
AddFilesToHaikuImage beos etc KanBe dic : $(kanbeDic) ;
|
|
|
|
AddFilesToHaikuImage beos etc KanBe dic canna : $(kanbeDicCanna) ;
|
|
|
|
AddDirectoryToHaikuImage beos etc KanBe dic group ;
|
|
|
|
AddDirectoryToHaikuImage beos etc KanBe dic user ;
|
|
|
|
|
2007-03-28 20:39:29 +04:00
|
|
|
local keymapFiles = [ GLOB [ FDirName $(HAIKU_TOP) src data etc keymaps ]
|
|
|
|
: *.keymap ] ;
|
2005-10-29 20:27:43 +04:00
|
|
|
keymapFiles = $(keymapFiles:BG=keymap) ;
|
2005-11-05 02:55:39 +03:00
|
|
|
AddFilesToHaikuImage beos etc Keymap : $(keymapFiles) ;
|
2007-07-30 22:43:32 +04:00
|
|
|
AddSymlinkToHaikuImage beos etc Keymap : Swedish : Finnish ;
|
|
|
|
AddSymlinkToHaikuImage beos etc Keymap : Slovene : Croatian ;
|
|
|
|
AddSymlinkToHaikuImage beos etc Keymap : US-International : Brazilian ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
local timezones = [ FTimeZoneBinaries $(HAIKU_TIME_ZONE_SOURCES) : : true ] ;
|
|
|
|
for timezone in $(timezones) {
|
|
|
|
local dir = [ on $(timezone) return $(RELATIVE_TIMEZONE_DIR) ] ;
|
|
|
|
AddFilesToHaikuImage beos etc timezones $(dir) : $(timezone) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
local driverSettingsFiles = <driver-settings>kernel ;
|
|
|
|
SEARCH on $(driverSettingsFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ;
|
|
|
|
AddFilesToHaikuImage home config settings kernel drivers
|
|
|
|
: $(driverSettingsFiles) ;
|
|
|
|
|
2007-07-05 02:26:42 +04:00
|
|
|
local networkSettingsFiles = <network-settings>services ;
|
|
|
|
SEARCH on $(networkSettingsFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) data settings network ] ;
|
2008-02-25 19:57:47 +03:00
|
|
|
AddFilesToHaikuImage common settings network : $(networkSettingsFiles) ;
|
2007-07-05 02:26:42 +04:00
|
|
|
|
2007-08-02 16:29:02 +04:00
|
|
|
# bison files
|
|
|
|
SEARCH on <bison>m4sugar.m4
|
|
|
|
= [ FDirName $(HAIKU_TOP) src bin bison data m4sugar ] ;
|
|
|
|
AddFilesToHaikuImage beos etc m4sugar : <bison>m4sugar.m4 ;
|
|
|
|
|
2008-02-17 22:47:29 +03:00
|
|
|
local bisonFiles = "yacc.c" "c.m4" "c++.m4" ;
|
|
|
|
SEARCH on $(bisonFiles) = [ FDirName $(HAIKU_TOP) src bin bison data ] ;
|
|
|
|
AddFilesToHaikuImage beos etc : $(bisonFiles) ;
|
|
|
|
|
2008-03-06 01:25:33 +03:00
|
|
|
# fresh install indicator file
|
|
|
|
SEARCH on <settings>fresh_install = [ FDirName $(HAIKU_TOP) data settings ] ;
|
|
|
|
AddFilesToHaikuImage home config settings : <settings>fresh_install ;
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
# boot loader
|
|
|
|
AddFilesToHaikuImage beos system : zbeos ;
|
|
|
|
|
|
|
|
# boot module links
|
2008-03-19 19:19:47 +03:00
|
|
|
AddBootModuleSymlinksToHaikuImage
|
2008-03-04 04:01:00 +03:00
|
|
|
pci $(X86_ONLY)isa config_manager ide scsi
|
|
|
|
$(PPC_ONLY)openpic
|
|
|
|
block_io fast_log ide_adapter locked_pool scsi_periph
|
|
|
|
ahci generic_ide_pci $(X86_ONLY)ide_isa silicon_image_3112 legacy_sata
|
|
|
|
scsi_cd scsi_dsk
|
|
|
|
intel
|
|
|
|
bfs
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
# add-ons
|
|
|
|
AddFilesToHaikuImage beos system add-ons accelerants
|
|
|
|
: $(BEOS_ADD_ONS_ACCELERANTS) ;
|
2008-03-19 19:19:47 +03:00
|
|
|
AddFilesToHaikuImage beos system add-ons opengl
|
2006-12-13 22:58:50 +03:00
|
|
|
: $(X86_ONLY)Mesa\ Software\ Renderer ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons Translators
|
|
|
|
: $(BEOS_ADD_ONS_TRANSLATORS) ;
|
2007-05-01 21:30:29 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons mail_daemon inbound_protocols : POP3 IMAP ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons mail_daemon outbound_protocols : SMTP ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons mail_daemon inbound_filters : Match\ Header Spam\ Filter R5\ Daemon\ Filter ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons mail_daemon outbound_filters : Fortune ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons mail_daemon system_filters : Inbox New\ Mail\ Notification Outbox Message\ Parser ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons media : $(BEOS_ADD_ONS_MEDIA) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons media plugins
|
|
|
|
: $(BEOS_ADD_ONS_MEDIA_PLUGINS) ;
|
2006-02-07 19:50:27 +03:00
|
|
|
AddFilesToHaikuImage beos system add-ons Tracker : FileType-F ZipOMatic-Z ;
|
2007-03-28 20:39:29 +04:00
|
|
|
AddSymlinkToHaikuImage beos system add-ons Tracker
|
|
|
|
: /boot/beos/preferences/Backgrounds : Background-B ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons input_server devices
|
2008-01-20 23:38:57 +03:00
|
|
|
: <input>keyboard <input>mouse <input>wacom ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons input_server filters : screen_saver ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel network
|
2007-01-20 05:22:57 +03:00
|
|
|
: stack socket ;
|
2006-08-08 16:33:33 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel network devices
|
|
|
|
: $(BEOS_NETWORK_DEVICES) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel network datalink_protocols
|
|
|
|
: $(BEOS_NETWORK_DATALINK_PROTOCOLS) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons kernel network ppp
|
|
|
|
: $(BEOS_NETWORK_PPP) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons kernel network protocols
|
|
|
|
: $(BEOS_NETWORK_PROTOCOLS) ;
|
2006-10-07 23:21:22 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons Print : $(BEOS_ADD_ONS_PRINT) ;
|
|
|
|
AddFilesToHaikuImage beos system add-ons Print transport
|
|
|
|
: $(BEOS_ADD_ONS_PRINT_TRANSPORT) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddFilesToHaikuImage beos system add-ons Screen\ Savers
|
|
|
|
: $(BEOS_ADD_ONS_SCREENSAVERS) ;
|
|
|
|
|
2007-11-10 23:43:00 +03:00
|
|
|
AddFilesToHaikuImage beos system add-ons disk_systems
|
|
|
|
: <disk_system>intel <disk_system>bfs ;
|
|
|
|
|
2006-06-03 19:13:39 +04:00
|
|
|
AddDirectoryToHaikuImage home config add-ons Tracker ;
|
|
|
|
AddDirectoryToHaikuImage home config add-ons Screen\ Savers ;
|
|
|
|
AddDirectoryToHaikuImage home config add-ons Translators ;
|
2006-06-17 18:06:13 +04:00
|
|
|
AddDirectoryToHaikuImage beos etc synth ;
|
2007-05-01 22:58:22 +04:00
|
|
|
AddDirectoryToHaikuImage beos system add-ons input_server methods ;
|
2006-06-03 19:13:39 +04:00
|
|
|
|
2006-09-18 16:25:36 +04:00
|
|
|
#optional
|
|
|
|
AddFilesToHaikuImage optional beos system add-ons input_server methods : canna ;
|
|
|
|
|
2007-07-28 11:17:23 +04:00
|
|
|
# printers
|
|
|
|
AddDirectoryToHaikuImage home config settings printers Preview
|
|
|
|
: home-config-settings-printers-preview.rdef ;
|
2007-07-31 20:36:28 +04:00
|
|
|
AddDirectoryToHaikuImage home config settings printers "Save as PDF"
|
2007-07-28 11:17:23 +04:00
|
|
|
: home-config-settings-printers-save-as-pdf.rdef ;
|
|
|
|
|
|
|
|
|
2007-11-12 03:08:06 +03:00
|
|
|
#pragma mark - Tests
|
|
|
|
|
|
|
|
# PosixTestSuite
|
|
|
|
if $(HAIKU_ADD_POSIX_TEST_SUITE_TO_IMAGE) {
|
|
|
|
# add run script
|
|
|
|
AddFilesToHaikuImage home posixtestsuite : run_posix_tests ;
|
|
|
|
|
|
|
|
# add standard posix tests
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces difftime
|
|
|
|
: difftime_1-1 ;
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces fork
|
|
|
|
: fork_3-1 fork_4-1 fork_6-1 fork_8-1 fork_9-1 fork_12-1 ;
|
|
|
|
|
|
|
|
# add signal posix tests
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces kill
|
|
|
|
: kill_2-1 ;
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces sighold
|
|
|
|
: sighold_1-1 sighold_2-1 sighold_3-core-buildonly ;
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces sigignore
|
|
|
|
: sigignore_1-1 sigignore_4-1 sigignore_5-core-buildonly
|
|
|
|
sigignore_6-1 sigignore_6-2 ;
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces sigprocmask
|
|
|
|
: sigprocmask_8-1 sigprocmask_8-2 sigprocmask_8-3 sigprocmask_12-1 ;
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces sigrelse
|
|
|
|
: sigrelse_1-1 sigrelse_2-1 sigrelse_3-core-buildonly ;
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces signal
|
|
|
|
: signal_1-1 signal_2-1 signal_3-1 signal_5-1 signal_6-1 signal_7-1 ;
|
2007-11-21 03:54:06 +03:00
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces sigset
|
|
|
|
: sigset_1-1 sigset_2-1 sigset_3-1 sigset_4-1 sigset_5-1 sigset_6-1
|
|
|
|
sigset_7-1 sigset_8-1 sigset_9-1 sigset_10-1 ;
|
2007-11-27 02:25:59 +03:00
|
|
|
|
|
|
|
# add pthreads tests
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces pthread_getspecific
|
|
|
|
: pthread_getspecific_1-1 pthread_getspecific_3-1 ;
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces pthread_key_create
|
|
|
|
: pthread_key_create_1-1 pthread_key_create_1-2 pthread_key_create_2-1
|
|
|
|
pthread_key_create_3-1 ;
|
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces pthread_key_delete
|
|
|
|
: pthread_key_delete_1-1 pthread_key_delete_1-2 pthread_key_delete_2-1 ;
|
2007-12-08 00:02:59 +03:00
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces pthread_once
|
|
|
|
: pthread_once_1-1 pthread_once_1-2 pthread_once_1-3 pthread_once_2-1 ;
|
2007-11-27 02:25:59 +03:00
|
|
|
AddFilesToHaikuImage home posixtestsuite conformance interfaces pthread_setspecific
|
|
|
|
: pthread_setspecific_1-1 pthread_setspecific_1-2 ;
|
2007-11-12 03:08:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-09-05 22:36:17 +04:00
|
|
|
#pragma mark - Optional Packages
|
|
|
|
|
|
|
|
|
2008-02-06 16:22:14 +03:00
|
|
|
# Development
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Development ]
|
|
|
|
&& $(TARGET_ARCH) = x86 {
|
|
|
|
# glue code
|
|
|
|
AddFilesToHaikuImage develop lib x86
|
|
|
|
: <src!system!glue!arch!x86>crti.o <src!system!glue!arch!x86>crtn.o
|
|
|
|
<src!system!glue>init_term_dyn.o <src!system!glue>start_dyn.o ;
|
|
|
|
|
|
|
|
# library symlinks
|
|
|
|
local lib ;
|
2008-03-19 19:19:47 +03:00
|
|
|
for lib in $(BEOS_SYSTEM_LIBS)
|
2008-02-07 02:14:37 +03:00
|
|
|
$(BEOS_SYSTEM_LIBS_LIBNETWORK_ALIASES) libglut.so {
|
2008-02-06 16:22:14 +03:00
|
|
|
AddSymlinkToHaikuImage develop lib x86 : /system/lib/$(lib:BS) ;
|
|
|
|
}
|
2008-02-07 03:26:02 +03:00
|
|
|
|
2008-03-24 02:17:08 +03:00
|
|
|
# static libraries
|
|
|
|
AddFilesToHaikuImage develop lib x86 : libncurses.a ;
|
|
|
|
|
2008-02-07 03:26:02 +03:00
|
|
|
# cc and c++ wrapper scripts
|
|
|
|
AddFilesToHaikuImage beos bin : cc c++ ;
|
2008-02-22 13:33:43 +03:00
|
|
|
|
|
|
|
# headers
|
2008-03-27 02:48:41 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage gnu : 3rdparty ;
|
2008-02-22 13:33:43 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage os ;
|
|
|
|
AddHeaderDirectoryToHaikuImage posix ;
|
|
|
|
|
2008-03-22 18:13:21 +03:00
|
|
|
# add _G_config.h to posix/
|
|
|
|
SEARCH on <header>_G_config.h = [ FDirName $(HAIKU_TOP) headers glibc ] ;
|
|
|
|
AddFilesToHaikuImage develop headers posix : <header>_G_config.h ;
|
|
|
|
|
2008-03-27 02:48:41 +03:00
|
|
|
# create be -> os symlink for now
|
|
|
|
AddSymlinkToHaikuImage develop headers : os : be ;
|
|
|
|
|
|
|
|
# create gnu -> 3rdparty symlink
|
|
|
|
AddSymlinkToHaikuImage develop headers : 3rdparty : gnu ;
|
|
|
|
# TODO: Change BEINCLUDES and gcc to refer to 3rdparty rather than gnu.
|
|
|
|
|
|
|
|
# individual headers of third party libs
|
|
|
|
local zlibHeaders = <header>zlib.h <header>zconf.h ;
|
|
|
|
SEARCH on $(zlibHeaders) = [ FDirName $(HAIKU_TOP) headers libs zlib ] ;
|
|
|
|
local pngHeaders = <header>png.h <header>pngconf.h ;
|
|
|
|
SEARCH on $(pngHeaders) = [ FDirName $(HAIKU_TOP) headers libs png ] ;
|
|
|
|
AddFilesToHaikuImage develop headers 3rdparty
|
|
|
|
: $(zlibHeaders) $(pngHeaders) ;
|
2008-03-22 18:13:21 +03:00
|
|
|
|
2008-03-25 05:01:54 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) > 2 {
|
|
|
|
# gcc 4
|
|
|
|
|
|
|
|
# symlink cpp to g++'s headers
|
|
|
|
AddSymlinkToHaikuImage develop headers
|
|
|
|
: /boot/develop/tools/gnupro/include/g++ : cpp ;
|
|
|
|
} else {
|
|
|
|
# gcc 2.95.3
|
|
|
|
|
|
|
|
AddHeaderDirectoryToHaikuImage cpp ;
|
|
|
|
|
|
|
|
# gcc and binutils
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
|
|
InstallOptionalHaikuImagePackage gcc-2.95.3-haiku-080323
|
|
|
|
: $(baseURL)/gcc-2.95.3-haiku-080323.zip
|
|
|
|
: develop tools
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage develop tools : gcc-2.95.3-haiku-080323
|
|
|
|
: gnupro ;
|
|
|
|
|
|
|
|
# other tools
|
|
|
|
InstallOptionalHaikuImagePackage autoconf-2.61-gcc2-2008-03-24
|
|
|
|
: $(baseURL)/autoconf-2.61-gcc2-2008-03-24.zip
|
|
|
|
: home
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage automake-1.10.1-gcc2-2008-03-24
|
|
|
|
: $(baseURL)/automake-1.10.1-gcc2-2008-03-24.zip
|
|
|
|
: home
|
|
|
|
;
|
2008-03-28 10:41:33 +03:00
|
|
|
InstallOptionalHaikuImagePackage bison-2.3-gcc2-2008-03-28
|
|
|
|
: $(baseURL)/bison-2.3-gcc2-2008-03-28.zip
|
|
|
|
: home
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage flex-2.5.35-gcc2-2008-03-28
|
|
|
|
: $(baseURL)/flex-2.5.35-gcc2-2008-03-28.zip
|
|
|
|
: home
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage jam-haiku-gcc2-2008-03-27
|
|
|
|
: $(baseURL)/jam-haiku-gcc2-2008-03-27.zip
|
|
|
|
: home config bin
|
|
|
|
;
|
2008-03-25 05:01:54 +03:00
|
|
|
InstallOptionalHaikuImagePackage libtool-1.5.26-gcc2-2008-03-24
|
|
|
|
: $(baseURL)/libtool-1.5.26-gcc2-2008-03-24.zip
|
|
|
|
: home
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage texinfo-4.11-gcc2-2008-03-24
|
|
|
|
: $(baseURL)/texinfo-4.11-gcc2-2008-03-24.zip
|
|
|
|
: home
|
|
|
|
;
|
|
|
|
AddOptionalHaikuImagePackages Perl ; # required by the auto tools
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Perl
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Perl ] {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package Perl available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
|
|
InstallOptionalHaikuImagePackage perl-5.10.0-gcc2-2008-03-24
|
|
|
|
: $(baseURL)/perl-5.10.0-gcc2-2008-03-24.zip
|
|
|
|
: home
|
|
|
|
;
|
|
|
|
}
|
2008-02-06 16:22:14 +03:00
|
|
|
}
|
|
|
|
|
2007-09-30 21:24:57 +04:00
|
|
|
# Vision
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Vision ] {
|
2008-02-24 12:43:10 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package Vision available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Vision
|
2008-03-07 04:18:29 +03:00
|
|
|
: http://vision.sf.net/Vision-0.9.7-H-06032008.zip
|
2008-02-24 12:43:10 +03:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2008-03-07 04:18:29 +03:00
|
|
|
: /boot/apps/Vision-0.9.7-H-06032008/Vision ;
|
2008-02-24 12:43:10 +03:00
|
|
|
}
|
2007-09-30 21:24:57 +04:00
|
|
|
}
|
|
|
|
|
2007-09-05 22:36:17 +04:00
|
|
|
# WonderBrush
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WonderBrush ] {
|
2008-02-24 12:43:10 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package WonderBrush available for gcc4" ;
|
2008-03-19 19:19:47 +03:00
|
|
|
} else {
|
2008-02-24 12:43:10 +03:00
|
|
|
InstallOptionalHaikuImagePackage WonderBrush
|
|
|
|
: http://www.yellowbites.com/downloads/WonderBrush-2.1.1-demo-x86-R5.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/WonderBrush/WonderBrush ;
|
|
|
|
}
|
2007-09-05 22:36:17 +04:00
|
|
|
}
|
|
|
|
|
2007-11-18 02:46:01 +03:00
|
|
|
# OpenSound drivers
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSound ] {
|
2008-02-24 12:43:10 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package OpenSound available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage OpenSound
|
|
|
|
: http://revolf.free.fr/beos/oss-beos-v4.1test-bin.zip
|
2008-03-19 19:19:47 +03:00
|
|
|
:
|
2008-02-24 12:43:10 +03:00
|
|
|
;
|
|
|
|
}
|
2007-11-18 02:46:01 +03:00
|
|
|
#UnzipArchiveToHaikuImage home : data/vv.mp3.zip : 0 ;
|
|
|
|
}
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2007-12-09 21:58:48 +03:00
|
|
|
# Links web browser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Links ] {
|
2008-02-24 12:43:10 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package Links available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Links
|
|
|
|
: http://revolf.free.fr/beos/links-beos-bin.zip
|
2008-03-19 19:19:47 +03:00
|
|
|
:
|
2008-02-24 12:43:10 +03:00
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/home/config/bin/links ;
|
|
|
|
}
|
2007-12-09 21:58:48 +03:00
|
|
|
}
|
|
|
|
|
2008-01-20 23:38:57 +03:00
|
|
|
# Pe text editor
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Pe ] {
|
2008-02-24 12:43:10 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package Pe available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Pe
|
2008-03-07 17:12:05 +03:00
|
|
|
# : http://dl.hirschkaefer.de/beos/pe-2.4-x86.zip
|
|
|
|
: http://www.yellowbites.com/downloads/pe-2.4-x86.zip
|
2008-02-24 12:43:10 +03:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/pe-2.4-x86/pe ;
|
|
|
|
AddSymlinkToHaikuImage home config bin
|
|
|
|
: /boot/apps/pe-2.4-x86/lpe ;
|
|
|
|
}
|
2008-01-20 23:38:57 +03:00
|
|
|
}
|
|
|
|
|
2008-03-07 17:12:05 +03:00
|
|
|
# VLC media player
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded VLC ] {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package VLC available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage VLC
|
|
|
|
: http://www.yellowbites.com/downloads/vlc-0.8.6c.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/vlc-0.8.6c/vlc ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Firefox web browser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Firefox ] {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package Firefox available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Firefox
|
|
|
|
: http://www.sheltonfamily.org/firefoxbuilds/firefox-2.0.0.12.en-US.beosR5-i586.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/firefox/firefox ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-01-27 15:54:10 +03:00
|
|
|
#pragma mark - Build The Image
|
2005-10-29 20:27:43 +04:00
|
|
|
|
2007-09-05 22:36:17 +04:00
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
# Set image name and directory defaults and locate the image.
|
|
|
|
HAIKU_IMAGE_NAME ?= haiku.image ;
|
|
|
|
HAIKU_IMAGE_DIR ?= $(HAIKU_OUTPUT_DIR) ;
|
|
|
|
HAIKU_IMAGE ?= $(HAIKU_IMAGE_NAME) ;
|
2006-10-24 17:54:53 +04:00
|
|
|
HAIKU_IMAGE_SIZE ?= 100 ; # 100 MB
|
2005-10-29 20:27:43 +04:00
|
|
|
MakeLocate $(HAIKU_IMAGE) : $(HAIKU_IMAGE_DIR) ;
|
|
|
|
|
|
|
|
# Set the default installation directory.
|
2005-10-31 01:27:52 +03:00
|
|
|
HAIKU_INSTALL_DIR ?= /Haiku ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# the pseudo target all image contents is attached to
|
2007-07-11 05:04:35 +04:00
|
|
|
NotFile $(HAIKU_IMAGE_CONTAINER_NAME) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# prepare the script that initializes the shell variables
|
|
|
|
HAIKU_IMAGE_INIT_VARIABLES_SCRIPT = <HaikuImage>haiku.image-init-vars ;
|
|
|
|
local script = $(HAIKU_IMAGE_INIT_VARIABLES_SCRIPT) ;
|
|
|
|
MakeLocate $(script) : $(HAIKU_OUTPUT_DIR) ;
|
|
|
|
Always $(script) ;
|
|
|
|
|
|
|
|
AddVariableToScript $(script) : sourceDir : $(HAIKU_TOP) ;
|
|
|
|
AddVariableToScript $(script) : outputDir : $(HAIKU_OUTPUT_DIR) ;
|
|
|
|
AddVariableToScript $(script) : tmpDir : $(HAIKU_TMP_DIR) ;
|
|
|
|
AddVariableToScript $(script) : installDir : $(HAIKU_INSTALL_DIR) ;
|
|
|
|
#AddVariableToScript $(script) : isImage : 1 ;
|
|
|
|
AddVariableToScript $(script) : imageSize : $(HAIKU_IMAGE_SIZE) ;
|
|
|
|
AddVariableToScript $(script) : addBuildCompatibilityLibDir
|
|
|
|
: $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) ;
|
2007-10-01 21:27:13 +04:00
|
|
|
AddVariableToScript $(script) : dontClearImage : $(HAIKU_DONT_CLEAR_IMAGE) ;
|
2007-07-18 03:37:40 +04:00
|
|
|
AddVariableToScript $(script) : updateOnly : [ IsUpdateHaikuImageOnly ] ;
|
2007-05-02 18:12:04 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>bfs_shell : bfsShell ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>fs_shell_command : fsShellCommand ;
|
2005-10-29 20:27:43 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>copyattr ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>makebootable ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>rc ;
|
|
|
|
AddTargetVariableToScript $(script) : <build>resattr ;
|
2007-09-05 01:50:00 +04:00
|
|
|
AddTargetVariableToScript $(script) : <build>unzip ;
|
2008-02-17 16:54:32 +03:00
|
|
|
AddTargetVariableToScript $(script) : <build>vmdkheader ;
|
* BuildPlatformMain supports overriding HOST_LIBROOT on the target now,
so one can set it to the static libroot, if desired.
* Generic attribute emulation:
- Added build tool rm_attrs, a simple "rm" replacement, which also
removes the attributes directory for a given file.
- Added build/scripts/rm_attrs shell script, which wraps the
invocation of the rm_attrs tool. If it doesn't exist yet, the
ordinary rm is used.
- The RM jam variable refers to the rm_attrs script now, i.e. whenever
something is removed by the build system, the attributes are removed
too (if the build tool has already been built, that is).
- Removed the shell function attrrmrf() in build_haiku_image. We use
the rm_attrs tool instead, if necessary.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-23 00:05:03 +03:00
|
|
|
if $(HOST_RM_ATTRS_TARGET) {
|
|
|
|
AddTargetVariableToScript $(script) : $(HOST_RM_ATTRS_TARGET) : rmAttrs ;
|
|
|
|
} else {
|
|
|
|
AddVariableToScript $(script) : rmAttrs : rm ;
|
|
|
|
}
|
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# create the other scripts
|
|
|
|
HAIKU_IMAGE_MAKE_DIRS_SCRIPT = <HaikuImage>haiku.image-make-dirs ;
|
|
|
|
HAIKU_IMAGE_COPY_FILES_SCRIPT = <HaikuImage>haiku.image-copy-files ;
|
2007-09-05 01:50:00 +04:00
|
|
|
HAIKU_IMAGE_UNZIP_FILES_SCRIPT = <HaikuImage>haiku.image-unzip-files ;
|
2005-10-29 20:27:43 +04:00
|
|
|
MakeLocate $(HAIKU_IMAGE_MAKE_DIRS_SCRIPT) $(HAIKU_IMAGE_COPY_FILES_SCRIPT)
|
2007-09-05 01:50:00 +04:00
|
|
|
$(HAIKU_IMAGE_UNZIP_FILES_SCRIPT) : $(HAIKU_OUTPUT_DIR) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
CreateHaikuImageMakeDirectoriesScript $(HAIKU_IMAGE_MAKE_DIRS_SCRIPT) ;
|
|
|
|
CreateHaikuImageCopyFilesScript $(HAIKU_IMAGE_COPY_FILES_SCRIPT) ;
|
2007-09-05 01:50:00 +04:00
|
|
|
CreateHaikuImageUnzipFilesScript $(HAIKU_IMAGE_UNZIP_FILES_SCRIPT) ;
|
2005-10-29 20:27:43 +04:00
|
|
|
|
|
|
|
# Convenience wrapper rule around BuildHaikuImage.
|
2008-02-17 16:54:32 +03:00
|
|
|
rule _BuildHaikuImage image : isImage : isVMwareImage
|
2005-10-29 20:27:43 +04:00
|
|
|
{
|
2008-02-17 16:54:32 +03:00
|
|
|
# _BuildHaikuImage <image target> : <isImage> : <isVMwareImage> ;
|
2005-10-29 20:27:43 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# build the image
|
|
|
|
# HAIKU_IMAGE_EARLY_USER_SCRIPTS, HAIKU_IMAGE_LATE_USER_SCRIPTS can be
|
|
|
|
# specified by the user.
|
|
|
|
BuildHaikuImage $(image) :
|
|
|
|
$(HAIKU_IMAGE_INIT_VARIABLES_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_EARLY_USER_SCRIPTS)
|
|
|
|
$(HAIKU_IMAGE_MAKE_DIRS_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_COPY_FILES_SCRIPT)
|
2007-09-05 01:50:00 +04:00
|
|
|
$(HAIKU_IMAGE_UNZIP_FILES_SCRIPT)
|
2005-10-29 20:27:43 +04:00
|
|
|
$(HAIKU_IMAGE_LATE_USER_SCRIPTS)
|
|
|
|
: $(isImage)
|
2008-02-17 16:54:32 +03:00
|
|
|
: $(isVMwareImage)
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
# remove the scripts we have generated
|
|
|
|
RmTemps $(image) :
|
|
|
|
$(HAIKU_IMAGE_INIT_VARIABLES_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_MAKE_DIRS_SCRIPT)
|
|
|
|
$(HAIKU_IMAGE_COPY_FILES_SCRIPT)
|
2007-09-05 01:50:00 +04:00
|
|
|
$(HAIKU_IMAGE_UNZIP_FILES_SCRIPT)
|
2005-10-29 20:27:43 +04:00
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
# build the image
|
|
|
|
_BuildHaikuImage $(HAIKU_IMAGE) : true ;
|
|
|
|
NotFile haiku-image ;
|
|
|
|
Depends haiku-image : $(HAIKU_IMAGE) ;
|
|
|
|
|
2008-02-17 16:54:32 +03:00
|
|
|
|
2005-10-29 20:27:43 +04:00
|
|
|
# install Haiku into a directory
|
|
|
|
NotFile install-haiku ;
|
|
|
|
_BuildHaikuImage install-haiku : 0 ;
|
2007-01-27 15:54:10 +03:00
|
|
|
|
|
|
|
|
2008-02-17 16:54:32 +03:00
|
|
|
# build the VMware image
|
2007-01-27 15:54:10 +03:00
|
|
|
HAIKU_VMWARE_IMAGE_NAME ?= haiku.vmdk ;
|
|
|
|
HAIKU_VMWARE_IMAGE ?= $(HAIKU_VMWARE_IMAGE_NAME) ;
|
|
|
|
MakeLocate $(HAIKU_VMWARE_IMAGE) : $(HAIKU_IMAGE_DIR) ;
|
|
|
|
|
2008-02-17 16:54:32 +03:00
|
|
|
_BuildHaikuImage $(HAIKU_VMWARE_IMAGE) : true : true ;
|
2007-01-27 15:54:10 +03:00
|
|
|
NotFile haiku-vmware-image ;
|
|
|
|
Depends haiku-vmware-image : $(HAIKU_VMWARE_IMAGE) ;
|