|Description: avoid stripping binaries |Author: Jonas Smedegaard <dr@jones.dk> |Last-Update: 2012-03-04
|Description: enable out-of-tree compilation of Basilisk II | This patch affects the Makefile.in used to compile Basilisk II in | order to allow out-of-tree compilation. This is useful for building | multiple flavours of the Debian package. |Author: Giulio Paci <giuliopaci@gmail.com>
[patch by Mike Sliczniak] Here is a patch to allow compiling of SS and B2 with an SDL Framework. You can get this by downloading from: http://www.libsdl.org/release/SDL-1.2.13.dmg Here is how I tested on an intel 32-bit mac with Mac OS X 10.5.6: SS ./autogen.sh --disable-standalone-gui --enable-vosf --enable-sdl-framework --enable-sdl-framework-prefix=/Users/mzs/Library/Frameworks --enable-sdl-video --disable-sdl-audio --enable-addressing=real --without-esd --without-gtk --without-mon --without-x SS /autogen.sh --disable-standalone-gui --enable-vosf --disable-sdl-framework --disable-sdl-video --disable-sdl-audio --enable-addressing=real --without-esd --without-gtk --without-mon --with-x B2 ./autogen.sh --disable-standalone-gui --enable-vosf --enable-sdl-framework --enable-sdl-framework-prefix=/Users/mzs/Library/Frameworks --enable-sdl-video --enable-sdl-audio --enable-addressing=real --without-esd --without-gtk --without-mon --without-x --enable-jit-compiler B2 ./autogen.sh --disable-standalone-gui --enable-vosf --disable-sdl-framework --disable-sdl-video --disable-sdl-audio --enable-addressing=real --with-esd --without-gtk --without-mon --with-x --enable-jit-compiler (esound does not really work on mac, it needs some better coreaudio patches.) configure.ac for SS has two little additional fixes so that the Cocoa prefs gui does not get built if you are building for X11 and so that you can use esd, sdl, or coreaudio for sound.
[patch from Mike Sliczniak] Here is a patch that has a shell script cpr.sh to recursively copy directories but discarding things that cause problems at least on 10.4 when making the .app bundles.
some changes to make Basillisk build better on Leopard
Don't build a built-in GUI if --enable-standalone-gui was requested. The following configurations were tested: ./configure --without-mon --with-gtk=gtk1 --enable-jit-compiler [B.GTK1] ./configure --without-mon [B.GTK2] ./configure --without-mon --enable-standalone-gui --without-gtk [no GUI] ./configure --without-mon --enable-standalone-gui --with-gtk=gtk1 [S.GTK1] ./configure --enable-jit-compiler --enable-standalone-gui [S.GTK2]
Always build the STANDALONE_GUI hooks into Basilisk II.
Create MacOS X bundle for BasiliskIIGUI.app. Also make sure to only link in necessary GUI_LIBS and not all of the LIBS.
Make Basilisk II main application not use GTK libraries when compiling with STANDALONE_GUI. This is the second step towards a more interesting GUI alike to VMware. Communication from/to the GUI is held by some lightweight RPC. Note: The step should be enough to provide a tiny GTK GUI for MacOS X.
Enable build of a standalone GUI (first step).
MacOS X bundle
Don't remove config.h.in in distclean rule if we are still keeping configure
Restrict mandatory SLIRP_CFLAGS to minimum, i.e. -fno-strict-aliasing.
add missing rule to build extfs_macosx.mm
detect slirp at configure time, aka fix build when ether_dummy.cpp is used
Fix build on MacOS X: dedicated extfs_macosx.mm & static SDL libs
Recognize Intel Compilers. Add user mode network stack with slirp from qemu. Simply use "ether slirp" in the prefs file, no kernel module required. I could perform up to 450 KB/sec on my DSL line.
Add Lauri's icon for Basilisk II builds on Windows
Handle .exe suffix for Windows builds. Remove obsolete rules for cpuopti.
Handle SDL scancode -> Mac keycode map files
Use clip_unix.cpp only with X11 targets. Otherwise, default to clip_dummy.cpp
Initial SDL/video support. Fix VOSF code could lead to a crash on run-time resolution/depth switching. Rearrange blitter lookup code, aka make it cleaner.
TUN/TAP support
Make distclean remove some extra files/dirs generated by autoconf, and some Darwin test programs generated by configure. Note - Ideally it would also remove configure?
Merge in __PAGEZERO hack from Michael Z. Sliczniak so that REAL_ADDRESSING mode can work under Darwin.
Additions for the JIT compiler opcode translators + NOFLAGS variant of regular instruction handlers.
- it is now possible to make the serial drivers pipe their input/output to programs by using a '|' followed by a command line as the modem or printer port setting (instead of a device name like '/dev/ttyS0') [Brian Johnson] - the option "--config FILE" tells B2 to use a different config file
- configure.in: actually save CXXFLAGS instead of CFLAGS in the code to detect whether the compiler supports -fno-merge-constants or not - Makefile.in: make sure to link gencpu with g++ since it contains objects compiled from C++ code. Fix build problems with gcc 3.0.1
- added SIGSEGV support for Linux/Alpha (to be checked), Darwin/PPC - added uniform virtual memory allocation (supports mmap(), vm_allocate(), or fallbacks to malloc()/free()) - cleaned up memory allocation in main_unix.cpp
- new and updated SIGSEGV support functions: + configure script cleanups + possible support for Direct Addressing / VOSF on other platforms
Mainly changes to the VOSF code: - improved blitters selection - improved blitters performance if UNALIGNED_PROFITABLE is set - cleaned up 8 bpp blitters
DESTDIR was not respected by installdirs target
- updated spec file - make install/uninstall targets support DESTDIR variable - fixed compilation problem with DIRECT_ADDRESSING
- more cleanups - splitted prefs.cpp into prefs.cpp and prefs_items.cpp to make prefs.cpp reusable for other projects
- first version to run natively on NetBSD/m68k
- small fixes to Makefile.in and configure script - main_unix.cpp tested ENABLE_DGA instead of ENABLE_XF86_DGA
- audio_linux.cpp renamed to audio_oss_esd.cpp (now also used under FreeBSD) and added support for ESD - medium removal is allowed for CD-ROM on exit - added mkinstalldirs to "make install" target
- added fbdev video code and SPARC assembly optimizations
- added external file system - moved most init/deinit code to InitAll()/ExitAll() in main.cpp
- compilation of cpuemu.cpp is now split
- disk insertions are now checked for by the 60Hz interrupt routine - localizable strings are split into a common and a platform-specific set - fixed bug in CR->LF translation in AmigaOS/clip_amiga.cpp
- improved Makefile and man page
- "make depend" now works
- cosmetic fix
- improved configuration and installation
- sys_unix.cpp: changed one #ifdef that should really have been an #if - Makefile.in: provided uninstall target
- install target didn't install keycodes file in proper location
- renamed basilisk_ii_keycodes to keycodes - default location of keycodes file is now $(sharedir)/keycodes (depends on install prefix) - improved the install target
- improved the clean/distclean targets
Imported sources
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.