1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

Introduce library with ATSPI access functions (largely untested)

- tools/include/atspi.h, tools/lib/Makefile, tools/lib/atspi.c: library
  with ATSPI access functions
- tools/atspi-id/Makefile: use libatspi
- tools/atspi-id/atspi-id.c (main) use atspi_open instead of open_usb
- fw/atspi/at86rf230.h: moved to fw/include/
- fw/include/at86rf230.h: added ID registers
- fw/atspi/ep0.c: removed stray #endif
This commit is contained in:
Werner Almesberger
2010-08-20 16:27:24 -03:00
parent bf74a0348b
commit ac349b0bc0
7 changed files with 171 additions and 9 deletions

32
tools/lib/Makefile Normal file
View File

@@ -0,0 +1,32 @@
#
# lib/Makefile - Build the ATSPI library
#
# Written 2010 by Werner Almesberger
# Copyright 2010 Werner Almesberger
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
F32XBASE = ../../../f32xbase
LIB = libatspi.a
CFLAGS = -Wall -I$(F32XBASE)/include -I../../fw/include -I../include
OBJS = $(F32XBASE)/lib/usb.o atspi.o
.PHONY: all clean spotless
all: $(LIB)
$(LIB): $(OBJS)
$(AR) cr $@ $^
clean:
rm -f $(OBJS)
spotless: clean
rm -f $(LIB)