mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 13:01:05 +02:00
6ea7ec75d2
* adds a rewrite of the tapi drivers + sip app. this is the result of lars' gsoc 2010 project, Thanks ! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23840 3c298f89-4303-0410-b956-a3cf2f4a3e73
28 lines
382 B
Makefile
28 lines
382 B
Makefile
ifndef CFLAGS
|
|
CFLAGS = -O2 -g -I ../src
|
|
endif
|
|
|
|
FPIC=-fPIC
|
|
|
|
all: libtapi.so
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $^ $(FPIC)
|
|
|
|
TAPI_OBJS = \
|
|
timer_fd.o \
|
|
events.o \
|
|
tapi-port.o \
|
|
tapi-device.o \
|
|
tapi-session.o \
|
|
tapi-stream.o
|
|
|
|
tapidemo: tapidemo.o libtapi.so
|
|
$(CC) $(LDFLAGS) -o $@ $^
|
|
|
|
libtapi.so: $(TAPI_OBJS)
|
|
$(CC) $(LDFLAGS) -shared -o $@ $^ $(FPIC)
|
|
|
|
clean:
|
|
rm -rf *.o *.so
|