(iOS) Start adding Theos Makefile - still missing some things (need
some way to convert xib files on the fly to nib, .app bundle still needs plists included, overlays bundled, etc.
29
apple/iOS/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
SDKVERSION=8.1
|
||||
ARCHS = armv7 armv7s
|
||||
include $(THEOS)/makefiles/common.mk
|
||||
|
||||
SRC_DIR := ../..
|
||||
|
||||
APPLICATION_NAME = retroarch
|
||||
retroarch_FILES = $(SRC_DIR)/griffin/griffin.c \
|
||||
$(SRC_DIR)/audio/utils_neon.S \
|
||||
$(SRC_DIR)/audio/resamplers/sinc_neon.S \
|
||||
$(SRC_DIR)/audio/resamplers/cc_resampler_neon.S \
|
||||
$(SRC_DIR)/apple/iOS/browser.m \
|
||||
$(SRC_DIR)/apple/iOS/menu.m \
|
||||
$(SRC_DIR)/apple/iOS/platform.m \
|
||||
$(SRC_DIR)/apple/common/apple_gamecontroller.m \
|
||||
$(SRC_DIR)/apple/common/CFExtensions.m \
|
||||
$(SRC_DIR)/apple/common/RAGameView.m \
|
||||
$(SRC_DIR)/apple/common/utility.m
|
||||
retroarch_FRAMEWORKS = Foundation UIKit CoreGraphics AudioToolbox GLKit OpenGLES CoreText CoreLocation CoreAudio AVFoundation CoreMedia CoreVideo GameController
|
||||
|
||||
COMMON_FLAGS := -DIOS -DHAVE_GRIFFIN -DHAVE_LOCATION -DHAVE_RGUI -DHAVE_MENU -DHAVE_DYNAMIC -DHAVE_OPENGL -DHAVE_FBO -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -DINLINE=inline -DLSB_FIRST -DHAVE_THREADS -D__LIBRETRO__ -DRARCH_MOBILE -std=gnu99 -DHAVE_COREAUDIO -DHAVE_FBO -DHAVE_OVERLAY -DHAVE_ZLIB -DWANT_MINIZ -DSINC_LOWER_QUALITY -DRARCH_INTERNAL -DHAVE_FILTERS_BUILTIN -DHAVE_LAKKA -DHAVE_XMB -D_LZMA_UINT32_IS_ULONG -DHAVE_STRL
|
||||
COMMON_FLAGS += -DHAVE_CAMERA
|
||||
COMMON_IOS_FLAGS := -Wno-deprecated-declarations -Wno-error
|
||||
COMMON_IOS_OBJCFLAGS := -fobjc-arc
|
||||
INCDIR := -I$(SRC_DIR) -I$(SRC_DIR)/libretro-sdk/include
|
||||
retroarch_CFLAGS += $(COMMON_FLAGS) $(COMMON_IOS_FLAGS) $(COMMON_IOS_OBJCFLAGS) $(INCDIR)
|
||||
retroarch_CCFLAGS += $(COMMON_FLAGS) $(COMMON_IOS_FLAGS) $(COMMON_IOS_OBJCFLAGS) $(INCDIR)
|
||||
|
||||
include $(THEOS_MAKE_PATH)/application.mk
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
@ -68,7 +68,7 @@
|
||||
83D632DD19ECFCC4009E3161 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
|
||||
83D632DE19ECFCC4009E3161 /* PauseIndicatorView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PauseIndicatorView.xib; sourceTree = "<group>"; };
|
||||
83EB675F19EEAF050096F441 /* modules */ = {isa = PBXFileReference; lastKnownFileType = folder; path = modules; sourceTree = SOURCE_ROOT; };
|
||||
83EB676119EEAF1B0096F441 /* overlays */ = {isa = PBXFileReference; lastKnownFileType = folder; name = overlays; path = ../../media/overlays; sourceTree = "<group>"; };
|
||||
83EB676119EEAF1B0096F441 /* overlays */ = {isa = PBXFileReference; lastKnownFileType = folder; name = overlays; path = ../../../media/overlays; sourceTree = "<group>"; };
|
||||
96366C5416C9AC3300D64A22 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
|
||||
96366C5816C9ACF500D64A22 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
||||
963C3C33186E3DED00A6EB1E /* GameController.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameController.framework; path = System/Library/Frameworks/GameController.framework; sourceTree = SDKROOT; };
|
||||
@ -133,7 +133,7 @@
|
||||
83D632DE19ECFCC4009E3161 /* PauseIndicatorView.xib */,
|
||||
);
|
||||
name = Assets;
|
||||
path = ../Assets;
|
||||
path = Resources;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
96AFAE1A16C1D4EA009DE44C = {
|
||||
|
9
apple/iOS/control
Normal file
@ -0,0 +1,9 @@
|
||||
Package: com.libretro.retroarch
|
||||
Name: retroarch
|
||||
Depends:
|
||||
Version: 0.0.1
|
||||
Architecture: iphoneos-arm
|
||||
Description: An awesome application!
|
||||
Maintainer: Libretro
|
||||
Author: Libretro
|
||||
Section: Utilities
|