|
Revision 101, 0.6 kB
(checked in by dsmith, 2 years ago)
|
merge api_overhaul into head (#22, #24, #29)
|
| Line | |
|---|
| 1 |
#Copyright (C) 2006 L. Donnie Smith |
|---|
| 2 |
|
|---|
| 3 |
include @top_builddir@/defs.mak |
|---|
| 4 |
|
|---|
| 5 |
LIB_NAME = cwiid |
|---|
| 6 |
MAJOR_VER = 0 |
|---|
| 7 |
MINOR_VER = 1 |
|---|
| 8 |
SOURCES = bluetooth.c command.c connect.c interface.c process.c state.c \ |
|---|
| 9 |
thread.c util.c |
|---|
| 10 |
LDLIBS += -lbluetooth -lpthread -lrt |
|---|
| 11 |
LIB_INST_DIR = @libdir@ |
|---|
| 12 |
INC_INST_DIR = @includedir@ |
|---|
| 13 |
|
|---|
| 14 |
include $(COMMON)/include/lib.mak |
|---|
| 15 |
|
|---|
| 16 |
$(SHARED_LIB): $(SO_NAME) $(LINK_NAME) |
|---|
| 17 |
|
|---|
| 18 |
$(SO_NAME): |
|---|
| 19 |
ln -sf $(SHARED_LIB) $(SO_NAME) |
|---|
| 20 |
|
|---|
| 21 |
$(LINK_NAME): |
|---|
| 22 |
ln -sf $(SO_NAME) $(LINK_NAME) |
|---|
| 23 |
|
|---|
| 24 |
clean: remove_links |
|---|
| 25 |
|
|---|
| 26 |
remove_links: |
|---|
| 27 |
rm -f $(SO_NAME) $(LINK_NAME) |
|---|
| 28 |
|
|---|
| 29 |
distclean: clean |
|---|
| 30 |
rm Makefile |
|---|
| 31 |
|
|---|
| 32 |
.PHONY: distclean clean make_links remove_links |
|---|