set install_name for library, don't build Framework

This commit is contained in:
matthias.ringwald 2009-09-28 18:18:03 +00:00
parent 5f974d96b9
commit 53bccd4f19
5 changed files with 21 additions and 8 deletions

View File

@ -4,6 +4,7 @@ CC = @CC@
OBJC = @OBJC@ OBJC = @OBJC@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
CPPFLAGS = @CPPFLAGS@ CPPFLAGS = @CPPFLAGS@
prefix = @prefix@
LIB_LDFLAGS = -lobjc \ LIB_LDFLAGS = -lobjc \
-multiply_defined suppress \ -multiply_defined suppress \
@ -24,3 +25,6 @@ $(NAME).dylib: $(NAME)Extension.mm
$(NAME)-test: $(NAME)-test.c $(NAME).c $(NAME)-test: $(NAME)-test.c $(NAME).c
$(OBJC) $(CPPFLAGS) -o $@ $(NAME).c $(NAME)-test.c $(LDFLAGS) $(APP_LDFLAGS) $(OBJC) $(CPPFLAGS) -o $@ $(NAME).c $(NAME)-test.c $(LDFLAGS) $(APP_LDFLAGS)
install:
echo "SpringBoardAccess is not installed. Use .deb package"

View File

@ -5,22 +5,24 @@ Last milestone reached: BTdaemon uses SpringBoardAccess to show status bar icons
NEXT: NEXT:
- replace Makefile.am in example and . by Makefile.in and drop automake - replace Makefile.am in example and . by Makefile.in and drop automake
- sign iPhone binaries - sign iPhone binaries
- add option to use ldid on the linked binaries - add option to use ldid on the linked binaries
- autodetect ldid on host
- decide on error reporting from BTdaemon - decide on error reporting from BTdaemon
- command_status_event with custom errors - command_status_event with custom errors
- hci open failed - hci open failed
- btstack error - btstack error
- add svn revision to package.sh tool for SpringBoardAccess - organize headers: e.g. use <btstack/btstack.h> instead of "btstack.h"
- add SVN revision to package.sh tool for SpringBoardAccess
- create script to build APT package for BTdeamon, Resources, and BTstack client library - create script to build APT package for BTdeamon, Resources, and BTstack client library
- create new pgp key for gmail account and sign APT package - create new GPG key for gmail account and sign APT package
- provide test version by setting up APT repository within BTstack SVN - provide test version by setting up APT repository within BTstack SVN
- instructions: http://www.saurik.com/id/7 - instructions: http://www.saurik.com/id/7
- bug: Status bar icon in wrong state (on instead of connected) with WiiMoteDemo
== Release Version 0.1 == Release Version 0.1
- implement rest of L2CAP state machine - implement rest of L2CAP state machine
- incoming connections - incoming connections
- list of supported PSM - list of supported PSM
@ -32,7 +34,9 @@ NEXT:
- CocoaTouch User Interface Components - CocoaTouch User Interface Components
- Inquiry - Inquiry
- Alerts and shutdown of Apple's stack - Alerts and shutdown of Apple's stack
== Release 0.2 - Incoming L2CAP supported + UI Support == Release 0.2 - Incoming L2CAP supported + UI Support
- better deal with Apple stack - better deal with Apple stack
- figure out how to shut it down - figure out how to shut it down
- user interface - user interface

View File

@ -70,6 +70,7 @@ if test "x$target" = xiphone; then
case "$host_os" in case "$host_os" in
darwin*) darwin*)
echo "Cross-compiling for iPhone/iPod touch using Apple's iPhone SDK" echo "Cross-compiling for iPhone/iPod touch using Apple's iPhone SDK"
# echo "iPhone staging dir: $prefix"
echo "iPhone IP for install-iphone target: $IPHONE_IP" echo "iPhone IP for install-iphone target: $IPHONE_IP"
CC="$DEVELOPER_PATH/usr/bin/arm-apple-darwin9-gcc-$GCC_VERSION" CC="$DEVELOPER_PATH/usr/bin/arm-apple-darwin9-gcc-$GCC_VERSION"
OBJC="$DEVELOPER_PATH/usr/bin/arm-apple-darwin9-g++-$GCC_VERSION" OBJC="$DEVELOPER_PATH/usr/bin/arm-apple-darwin9-g++-$GCC_VERSION"

View File

@ -1,10 +1,10 @@
bin_PROGRAMS = test mitm rfcomm bin_PROGRAMS = test mitm rfcomm
test_SOURCES = test.c test_SOURCES = test.c
test_LDADD = -lBTstack -L../BTstack.Framework test_LDADD = -lBTstack -L../src
mitm_SOURCES = mitm.c mitm_SOURCES = mitm.c
mitm_LDADD = -lBTstack -L../BTstack.Framework mitm_LDADD = -lBTstack -L../src
rfcomm_SOURCES = rfcomm.c rfcomm_SOURCES = rfcomm.c
rfcomm_LDADD = -lBTstack -L../BTstack.Framework rfcomm_LDADD = -lBTstack -L../src

View File

@ -90,12 +90,14 @@
9C7ECBB40FCC95DD0085DAC5 /* hci_dump.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = hci_dump.c; path = src/hci_dump.c; sourceTree = "<group>"; }; 9C7ECBB40FCC95DD0085DAC5 /* hci_dump.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = hci_dump.c; path = src/hci_dump.c; sourceTree = "<group>"; };
9C88500C0FBF6702004980E4 /* l2cap.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = l2cap.c; path = src/l2cap.c; sourceTree = "<group>"; }; 9C88500C0FBF6702004980E4 /* l2cap.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = l2cap.c; path = src/l2cap.c; sourceTree = "<group>"; };
9C88500D0FBF6702004980E4 /* l2cap.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; name = l2cap.h; path = src/l2cap.h; sourceTree = "<group>"; }; 9C88500D0FBF6702004980E4 /* l2cap.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; name = l2cap.h; path = src/l2cap.h; sourceTree = "<group>"; };
9C994B8E106BEEB700C70311 /* rfcomm.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = rfcomm.c; path = example/rfcomm.c; sourceTree = "<group>"; };
9CA3C0900FB8B3C4005F48DE /* TODO.txt */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = text; path = TODO.txt; sourceTree = "<group>"; }; 9CA3C0900FB8B3C4005F48DE /* TODO.txt */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = text; path = TODO.txt; sourceTree = "<group>"; };
9CC152C61009052100223347 /* config.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; }; 9CC152C61009052100223347 /* config.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; };
9CC813A00FFC0774002816F9 /* btstack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = btstack.h; path = src/btstack.h; sourceTree = "<group>"; }; 9CC813A00FFC0774002816F9 /* btstack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = btstack.h; path = src/btstack.h; sourceTree = "<group>"; };
9CC813A10FFC0774002816F9 /* btstack.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = btstack.c; path = src/btstack.c; sourceTree = "<group>"; }; 9CC813A10FFC0774002816F9 /* btstack.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = btstack.c; path = src/btstack.c; sourceTree = "<group>"; };
9CC813A40FFC0A51002816F9 /* daemon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = daemon.c; path = src/daemon.c; sourceTree = "<group>"; }; 9CC813A40FFC0A51002816F9 /* daemon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = daemon.c; path = src/daemon.c; sourceTree = "<group>"; };
9CEB22DC1005345400FA2B98 /* hci_transport_usb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = hci_transport_usb.h; path = src/hci_transport_usb.h; sourceTree = "<group>"; }; 9CEB22DC1005345400FA2B98 /* hci_transport_usb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = hci_transport_usb.h; path = src/hci_transport_usb.h; sourceTree = "<group>"; };
9CEB4B62107118E800DD5720 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = text; name = Makefile.in; path = src/Makefile.in; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
@ -135,6 +137,7 @@
08FB7795FE84155DC02AAC07 /* Source */ = { 08FB7795FE84155DC02AAC07 /* Source */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
9CEB4B62107118E800DD5720 /* Makefile.in */,
9C7ECB810FCC85650085DAC5 /* bt_control.h */, 9C7ECB810FCC85650085DAC5 /* bt_control.h */,
9C7ECB820FCC85650085DAC5 /* bt_control_iphone.c */, 9C7ECB820FCC85650085DAC5 /* bt_control_iphone.c */,
9C7ECB830FCC85650085DAC5 /* bt_control_iphone.h */, 9C7ECB830FCC85650085DAC5 /* bt_control_iphone.h */,
@ -219,6 +222,7 @@
9C7B5B81100D04520065D87E /* Example */ = { 9C7B5B81100D04520065D87E /* Example */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
9C994B8E106BEEB700C70311 /* rfcomm.c */,
9C1813F71042FCCA00C68F09 /* mitm.c */, 9C1813F71042FCCA00C68F09 /* mitm.c */,
9C7B5B7E100D04450065D87E /* test.c */, 9C7B5B7E100D04450065D87E /* test.c */,
); );