(Theos iOS) Add Theos iOS target

This commit is contained in:
twinaphex 2014-12-23 10:29:11 +01:00
parent 2a00d04933
commit 17738b3f49
3 changed files with 29 additions and 1 deletions

View File

@ -72,6 +72,17 @@ ifeq ($(OSX_LT_MAVERICKS),"YES")
CC += -miphoneos-version-min=5.0
CFLAGS += -miphoneos-version-min=5.0
endif
else ifeq ($(platform), theos_ios)
# Theos iOS
DEPLOYMENT_IOSVERSION = 5.0
TARGET = iphone:latest:$(DEPLOYMENT_IOSVERSION)
ARCHS = armv7 armv7s
TARGET_IPHONEOS_DEPLOYMENT_VERSION=$(DEPLOYMENT_IOSVERSION)
THEOS_BUILD_DIR := objs
include $(THEOS)/makefiles/common.mk
LIBRARY_NAME = $(TARGET_NAME)_libretro_ios
else ifeq ($(platform), qnx)
TARGET := $(TARGET_NAME)_libretro_qnx.so
fpic := -fPIC
@ -194,6 +205,12 @@ ifeq ($(FRONTEND_SUPPORTS_RGB565), 1)
CFLAGS += -DFRONTEND_SUPPORTS_RGB565
endif
ifeq ($(platform), theos_ios)
COMMON_FLAGS := -DIOS $(COMMON_DEFINES) $(INCFLAGS) -I$(THEOS_INCLUDE_PATH) -Wno-error
$(LIBRARY_NAME)_CFLAGS += $(COMMON_FLAGS) $(CFLAGS)
${LIBRARY_NAME}_FILES = $(SOURCES_C)
include $(THEOS_MAKE_PATH)/library.mk
else
all: $(TARGET)
$(TARGET): $(OBJECTS)
@ -213,3 +230,4 @@ clean:
rm -f $(TARGET) $(OBJECTS)
.PHONY: clean
endif

10
control Normal file
View File

@ -0,0 +1,10 @@
Package: com.libretro.vecx
Name: vecx
Depends:
Version: 0.0.1
Architecture: iphoneos-arm
Description: Libretro iOS core of vecX
Maintainer: libretro
Author: libretro
Section: System
Tag: role::developer

View File

@ -1125,7 +1125,7 @@ static einline void inst_exg (void)
/* instruction: tfr */
einline void inst_tfr (void)
static void inst_tfr (void)
{
unsigned op;