diff --git a/Makefile b/Makefile index 80809dc..f123de6 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,6 @@ shoebill: make_gui debugger make_gui: make_core xcodebuild -project gui/Shoebill.xcodeproj SYMROOT=build -debugger: make_core - $(MAKE) -C debugger - make_core: $(MAKE) -C core -j 4 diff --git a/README.md b/README.md index 8fdb7c7..9eacd80 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

Shoebill

+

Shoebill

A Macintosh II emulator that runs A/UX (and A/UX only). diff --git a/core/Makefile b/core/Makefile index 043cca4..cc836ba 100644 --- a/core/Makefile +++ b/core/Makefile @@ -29,6 +29,8 @@ OBJ_x86_64 = $(OBJ_NEED_NOTHING) $(OBJ_NEED_PREPROCESSING) $(OBJ_NEED_DECODER) # The object files compiled for i386 (the same as x86_64 files, but with .i386 appended) OBJ_i386 = $(patsubst %,%.i386,$(OBJ_x86_64)) +# The object files compiled for arm64 (the same as x86_64 files, but with .arm64 appended) +OBJ_arm64 = $(patsubst %,%.arm64,$(OBJ_x86_64)) MACRO = perl macro.pl @@ -40,7 +42,8 @@ all: $(TEMP)/libshoebill_core.a $(TEMP)/libshoebill_core.a: $(TEMP) $(DEPS) $(OBJ_x86_64) libtool -static -v -o $(TEMP)/libshoebill_core.a.x86_64 $(OBJ_x86_64) libtool -static -v -o $(TEMP)/libshoebill_core.a.i386 $(OBJ_i386) - lipo -create -output $(TEMP)/libshoebill_core.a $(TEMP)/libshoebill_core.a.x86_64 $(TEMP)/libshoebill_core.a.i386 + libtool -static -v -o $(TEMP)/libshoebill_core.a.arm64 $(OBJ_arm64) + lipo -create -output $(TEMP)/libshoebill_core.a $(TEMP)/libshoebill_core.a.x86_64 $(TEMP)/libshoebill_core.a.i386 $(TEMP)/libshoebill_core.a.arm64 # Split object files into i386/x86_64 versions, since it seems that libtool is unable to @@ -52,14 +55,17 @@ $(TEMP)/libshoebill_core.a: $(TEMP) $(DEPS) $(OBJ_x86_64) $(OBJ_NEED_NOTHING): $(TEMP)/%.o: %.c $(DEPS) $(CC) -c -arch x86_64 $(CFLAGS) $< -o $@ $(CC) -c -arch i386 $(CFLAGS) $< -o $@.i386 + $(CC) -c -arch arm64 $(CFLAGS) $< -o $@.arm64 $(OBJ_NEED_PREPROCESSING): $(TEMP)/%.o: $(TEMP)/%.post.c $(DEPS) $(CC) -c -arch x86_64 $(CFLAGS) $< -o $@ $(CC) -c -arch i386 $(CFLAGS) $< -o $@.i386 + $(CC) -c -arch arm64 $(CFLAGS) $< -o $@.arm64 $(OBJ_NEED_DECODER): $(TEMP)/%.o: $(TEMP)/%.post.c $(DEPS) $(TEMP)/dis_decoder_guts.c $(TEMP)/inst_decoder_guts.c $(CC) -c -arch x86_64 $(CFLAGS) $< -o $@ $(CC) -c -arch i386 $(CFLAGS) $< -o $@.i386 + $(CC) -c -arch arm64 $(CFLAGS) $< -o $@.arm64 # Preprocess C files $(POST_PREPROCESSING): $(TEMP)/%.post.c: %.c $(DEPS) diff --git a/gui/Shoebill.xcodeproj/project.pbxproj b/gui/Shoebill.xcodeproj/project.pbxproj index 10a1d0d..4b0b1eb 100644 --- a/gui/Shoebill.xcodeproj/project.pbxproj +++ b/gui/Shoebill.xcodeproj/project.pbxproj @@ -283,6 +283,7 @@ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_ENABLE_OBJC_WEAK = YES; CLANG_LINK_OBJC_RUNTIME = NO; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; @@ -308,10 +309,10 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.8; + MACOSX_DEPLOYMENT_TARGET = 11.0; ONLY_ACTIVE_ARCH = NO; - SDKROOT = macosx10.8; - VALID_ARCHS = "x86_64 i386"; + SDKROOT = macosx; + VALID_ARCHS = "x86_64 arm64"; }; name = Debug; }; @@ -323,6 +324,7 @@ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_ENABLE_OBJC_WEAK = YES; CLANG_LINK_OBJC_RUNTIME = NO; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; @@ -343,9 +345,9 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.8; - SDKROOT = macosx10.8; - VALID_ARCHS = "x86_64 i386"; + MACOSX_DEPLOYMENT_TARGET = 11.0; + SDKROOT = macosx; + VALID_ARCHS = "x86_64 arm64"; }; name = Release; }; @@ -364,9 +366,10 @@ "$(inherited)", ../intermediates, ); + MACOSX_DEPLOYMENT_TARGET = 11.0; ONLY_ACTIVE_ARCH = NO; PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx10.8; + SDKROOT = macosx; WRAPPER_EXTENSION = app; }; name = Debug; @@ -386,8 +389,9 @@ "$(inherited)", ../intermediates, ); + MACOSX_DEPLOYMENT_TARGET = 11.0; PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx10.8; + SDKROOT = macosx; WRAPPER_EXTENSION = app; }; name = Release; diff --git a/gui/Shoebill/Shoebill-Info.plist b/gui/Shoebill/Shoebill-Info.plist index 3b6c97e..9417104 100644 --- a/gui/Shoebill/Shoebill-Info.plist +++ b/gui/Shoebill/Shoebill-Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.0.5 + 0.0.6 CFBundleSignature ???? CFBundleVersion - 0.0.5 + Apple Silicon/Intel LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSMainNibFile