btstack/SpringBoardAccess/Makefile.in

33 lines
1002 B
Makefile
Raw Normal View History

NAME = SpringBoardAccess
2009-09-16 21:37:32 +00:00
CC = @CC@
OBJC = @OBJC@
LDFLAGS = @LDFLAGS@
CPPFLAGS = @CPPFLAGS@
prefix = @prefix@
2009-09-16 21:37:32 +00:00
LIB_LDFLAGS = -lobjc \
-multiply_defined suppress \
-framework CoreFoundation \
-framework Foundation \
-framework UIKit \
-L../3rdparty -lsubstrate
2009-09-16 21:37:32 +00:00
APP_LDFLAGS = -framework CoreFoundation
all: $(NAME).dylib $(NAME)-test
clean:
rm -f $(NAME).dylib $(NAME)-test
2009-09-20 15:07:11 +00:00
$(NAME).dylib: $(NAME)Extension.mm
$(OBJC) $(CPPFLAGS) -dynamiclib -o $@ $(NAME)Extension.mm -init _$(NAME)Initialize $(LDFLAGS) $(LIB_LDFLAGS)
2009-09-28 21:23:31 +00:00
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
2009-09-16 21:37:32 +00:00
2009-09-20 15:07:11 +00:00
$(NAME)-test: $(NAME)-test.c $(NAME).c
$(OBJC) $(CPPFLAGS) -o $@ $(NAME).c $(NAME)-test.c $(LDFLAGS) $(APP_LDFLAGS)
2009-09-28 21:23:31 +00:00
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
install:
echo "SpringBoardAccess is not installed. Use .deb package"