create dummy SpringBoardAccess MobileSubstrate extension when configured for iPhone

This commit is contained in:
matthias.ringwald 2009-09-15 21:13:32 +00:00
parent eedbedf604
commit f474b6814f
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,20 @@
NAME = SpringBoardAccess
OBJC = @OBJC@
LDFLAGS = @LDFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS += -lobjc \
-multiply_defined suppress \
-framework CoreFoundation \
-framework Foundation \
-framework UIKit \
-L../3rdparty -lsubstrate
all: $(NAME).dylib
clean:
rm -f $(NAME).dylib
$(NAME).dylib: $(NAME).m
$(OBJC) $(CPPFLAGS) -dynamiclib -o $@ $(NAME).m -init _$(NAME)Initialize $(LDFLAGS)

View File

@ -0,0 +1,14 @@
//
// SpringBoardAccess.m
//
// Created by Matthias Ringwald on 9/15/09.
//
#import <Foundation/Foundation.h>
#import <CoreFoundation/CoreFoundation.h>
#import "../3rdparty/substrate.h"
void SpringBoardAccessInitialize(){
NSLog(@"SpringBoardAccessInitialize called!");
}