2009-09-30 20:42:47 +00:00
|
|
|
CC = @CC@
|
|
|
|
LDFLAGS = @LDFLAGS@ -lBTstack -L../src
|
2011-09-25 14:14:10 +00:00
|
|
|
CPPFLAGS = @CPPFLAGS@ -I.. -I../include
|
2009-09-30 20:42:47 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
|
2011-06-20 17:19:56 +00:00
|
|
|
all: test rfcomm-cat rfcomm-echo rfcomm-test inquiry l2cap-server l2cap-throughput
|
2009-09-30 20:42:47 +00:00
|
|
|
|
|
|
|
test: test.c
|
|
|
|
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
|
|
|
|
|
2010-01-25 19:46:00 +00:00
|
|
|
l2cap-server: l2cap-server.c
|
|
|
|
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
|
|
|
|
|
2010-07-31 20:01:48 +00:00
|
|
|
l2cap-throughput: l2cap-throughput.c
|
|
|
|
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
|
|
|
|
|
2009-11-07 16:40:12 +00:00
|
|
|
inquiry: inquiry.c
|
|
|
|
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
|
|
|
|
|
2011-05-01 11:07:56 +00:00
|
|
|
rfcomm-cat: rfcomm-cat.c
|
|
|
|
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
|
|
|
|
|
|
|
|
rfcomm-echo: rfcomm-echo.c
|
2009-09-30 20:42:47 +00:00
|
|
|
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
|
|
|
|
|
2011-06-20 17:19:56 +00:00
|
|
|
rfcomm-test: rfcomm-test.c
|
|
|
|
$(CC) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
|
|
|
|
|
2009-09-30 20:42:47 +00:00
|
|
|
clean:
|
2011-05-01 11:07:56 +00:00
|
|
|
rm -f test mitm rfcomm-cat rfcomm-echo inquiry l2cap-server l2cap-throughput obex
|
2009-09-30 20:42:47 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
echo "nothing to be done"
|
|
|
|
|