Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
############################################################################## | ||
# 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:=../../spurstacksrc/vm | ||
PLUGINSRCDIR:=../../spurstacksrc/plugins | ||
VM:=Pharo | ||
COGDEFS:=-DPharoVM=1 | ||
APPNAME:=Pharo | ||
APPNAMEDEF:=$(APPNAME) | ||
USEPLUGINASDYLIB:=TRUE | ||
THIRDPARTYLIBS:=pkgconfig freetype2 libssh2 libgit2 pixman libpng cairo | ||
|
||
# Now include the Makefile proper, which is common to all Mac OS builds. | ||
# | ||
include ../common/Makefile.app | ||
|
||
# third-party libraries | ||
# | ||
include ../third-party/pkgconfig/Makefile.lib | ||
include ../third-party/freetype2/Makefile.lib | ||
include ../third-party/libssh2/Makefile.lib | ||
include ../third-party/libgit2/Makefile.lib | ||
include ../third-party/pixman/Makefile.lib | ||
include ../third-party/libpng/Makefile.lib | ||
include ../third-party/cairo/Makefile.lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
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 [ -n "$D" ]; then | ||
make $@ debug 2>&1 | tee LOGD | ||
fi | ||
if [ -n "$A" ]; then | ||
make $@ assert 2>&1 | tee LOGA | ||
fi | ||
if [ -n "$F" ]; then | ||
make $@ 2>&1 | tee LOGF | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copied, perhaps edited, from ../src/examplePlugins.ext | ||
EXTERNAL_PLUGINS = \ | ||
CroquetPlugin \ | ||
FT2Plugin \ | ||
FloatMathPlugin \ | ||
JPEGReadWriter2Plugin \ | ||
JPEGReaderPlugin \ | ||
LocalePlugin \ | ||
MIDIPlugin \ | ||
Mpeg3Plugin \ | ||
RePlugin \ | ||
SqueakSSL \ | ||
SurfacePlugin \ | ||
UUIDPlugin \ | ||
SerialPlugin \ | ||
SDL2DisplayPlugin \ | ||
ObjectiveCPlugin \ | ||
# could work, but I don't know if relevant: | ||
# TestOSAPlugin \ | ||
# not working (because of Cocoa vs Carbon): | ||
# QuicktimePlugin \ | ||
# JoystickTabletPlugin \ | ||
# B3DAcceleratorPlugin \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copied, perhaps edited, from ../src/examplePlugins.int | ||
INTERNAL_PLUGINS = \ | ||
ADPCMCodecPlugin \ | ||
AioPlugin \ | ||
AsynchFilePlugin \ | ||
B2DPlugin \ | ||
BMPReadWriterPlugin \ | ||
BitBltPlugin \ | ||
ClipboardExtendedPlugin \ | ||
DSAPrims \ | ||
DropPlugin \ | ||
FFTPlugin \ | ||
FilePlugin \ | ||
FloatArrayPlugin \ | ||
GeniePlugin \ | ||
HostWindowPlugin \ | ||
IA32ABI \ | ||
LargeIntegers \ | ||
Matrix2x3Plugin \ | ||
MiscPrimitivePlugin \ | ||
SecurityPlugin \ | ||
SocketPlugin \ | ||
SoundCodecPrims \ | ||
SoundGenerationPlugin \ | ||
SoundPlugin \ | ||
SqueakFFIPrims \ | ||
StarSqueakPlugin \ | ||
UnixOSProcessPlugin \ | ||
ZipPlugin \ | ||
# IA32FFIPlugin \ | ||
# Klatt \ |