Skip to content

Commit

Permalink
**[ci skip]** Add a build directory for making the old Pharo V3 VM.
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotmiranda committed Mar 13, 2019
1 parent 0e3761c commit 0266ad2
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 0 deletions.
31 changes: 31 additions & 0 deletions build.macos32x86/pharo.cog.v3/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
##############################################################################
# Makefile for Mac OS X Cog Spur Pharo Cocoa VM using clang and gnu make 3.81
# Do make init to allow make -n to function.
#

VMSRCDIR:=../../src/vm
VM:=Pharo
COGDEFS:= -DPharoVM=1
APPNAME:=Pharo
APPNAMEDEF:=$(APPNAME)
APPIDENTIFIER:=org.pharo.$(APPNAME)
USEPLUGINASDYLIB:=TRUE
THIRDPARTYLIBS:=pkgconfig freetype2 openssl libssh2 libgit2 libsdl2 pixman libpng cairo

#CFLAGS=$(CFLAGS) -DNSZombieEnabled=YES

# Now include the Makefile proper, which is common to all Mac OS builds.
#
include ../common/Makefile.app

# third-party libraries
#
include ../third-party/Makefile.pkgconfig
include ../third-party/Makefile.freetype2
include ../third-party/Makefile.openssl
include ../third-party/Makefile.libssh2
include ../third-party/Makefile.libgit2
include ../third-party/Makefile.libsdl2
include ../third-party/Makefile.pixman
include ../third-party/Makefile.libpng
include ../third-party/Makefile.cairo
34 changes: 34 additions & 0 deletions build.macos32x86/pharo.cog.v3/mvm
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env bash
set -e
A=;D=;F=
if [ $# = 0 ]; then
A=1;D=1;F=1
else
while getopts 'ASTadf?' opt "$@"; do
case $opt in
A) A=1;D=1;F=1;;
S) echo -S not yet implemented\; use -A for now 1>&1; exit 1;;
T) echo -T not yet implemented\; use -A for now 1>&1; exit 1;;
a) A=1;;
d) D=1;;
f) F=1;;
*) echo usage $0 [-A] [-a\ [-d] [-f]; exit 0;;
esac
done
if [ "$1" = -- ]; then
if [ "$A$D$F" = "" ]; then
A=1;D=1;F=1
fi
fi
shift `expr $OPTIND - 1`
fi
if ../../scripts/checkSCCSversion ; then exit 1; fi
if [ -n "$D" ]; then
make $@ debug 2>&1 | tee LOGD ; test ${PIPESTATUS[0]} -eq 0
fi
if [ -n "$A" ]; then
make $@ assert 2>&1 | tee LOGA ; test ${PIPESTATUS[0]} -eq 0
fi
if [ -n "$F" ]; then
make $@ 2>&1 | tee LOGF ; test ${PIPESTATUS[0]} -eq 0
fi
30 changes: 30 additions & 0 deletions build.macos32x86/pharo.cog.v3/plugins.ext
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copied, perhaps edited, from ../src/examplePlugins.ext
EXTERNAL_PLUGINS = \
B3DAcceleratorPlugin \
ClipboardExtendedPlugin \
CroquetPlugin \
FT2Plugin \
FloatMathPlugin \
JPEGReadWriter2Plugin \
JPEGReaderPlugin \
LocalePlugin \
Mpeg3Plugin \
RePlugin \
SqueakSSL \
SurfacePlugin \
UUIDPlugin \
SerialPlugin \
ObjectiveCPlugin \
SDL2DisplayPlugin \
EventsHandlerPlugin \
BochsIA32Plugin \
BochsX64Plugin \
GdbARMPlugin \
# TEMPORARY REMOVE
# B3DAcceleratorPlugin \
# could work, but I don't know if relevant:
# TestOSAPlugin \
# not working (because of Cocoa vs Carbon):
# MIDIPlugin \
# QuicktimePlugin \
# JoystickTabletPlugin
32 changes: 32 additions & 0 deletions build.macos32x86/pharo.cog.v3/plugins.int
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copied, perhaps edited, from ../src/examplePlugins.int
INTERNAL_PLUGINS = \
ADPCMCodecPlugin \
AioPlugin \
AsynchFilePlugin \
B2DPlugin \
BMPReadWriterPlugin \
BitBltPlugin \
DSAPrims \
DropPlugin \
FFTPlugin \
FilePlugin \
FileAttributesPlugin \
FloatArrayPlugin \
GeniePlugin \
HostWindowPlugin \
IA32ABI \
LargeIntegers \
Matrix2x3Plugin \
MiscPrimitivePlugin \
SecurityPlugin \
SocketPlugin \
SoundCodecPrims \
SoundGenerationPlugin \
SoundPlugin \
SqueakFFIPrims \
StarSqueakPlugin \
UnixOSProcessPlugin \
VMProfileMacSupportPlugin \
ZipPlugin \
# Klatt

0 comments on commit 0266ad2

Please sign in to comment.