move Makefile.in for daemon into platforms/daemon

This commit is contained in:
Matthias Ringwald 2015-05-02 23:12:11 +02:00
parent 50f0940e7f
commit da4528422a
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = platforms/posix/src example/daemon
SUBDIRS = platforms/daemon example/daemon
package:
./package.sh

View File

@ -59,8 +59,8 @@ echo "BTstack configured for HCI $HCI_TRANSPORT Transport"
HAVE_SO_NOSIGPIPE="no"
# from platform/posix/src
BTSTACK_ROOT="../../../"
# from platform/daemon
BTSTACK_ROOT="../../"
RUN_LOOP_SOURCES="$BTSTACK_ROOT/platforms/posix/src/run_loop_posix.c"
case "$host_os" in
@ -183,4 +183,4 @@ AC_SUBST(BTSTACK_LIB_LDFLAGS)
AC_SUBST(BTSTACK_LIB_EXTENSION)
AC_SUBST(LIBUSB_CFLAGS)
AC_SUBST(LIBUSB_LDFLAGS)
AC_OUTPUT(Makefile platforms/posix/src/Makefile example/daemon/Makefile)
AC_OUTPUT(Makefile platforms/daemon/Makefile example/daemon/Makefile)

View File

@ -1,4 +1,4 @@
BTSTACK_ROOT = ../../..
BTSTACK_ROOT = ../..
prefix = @prefix@
@ -15,7 +15,7 @@ run_loop_sources = @RUN_LOOP_SOURCES@
usb_sources = @USB_SOURCES@
libBTstack_SOURCES = \
btstack.c \
$(BTSTACK_ROOT)/platforms/daemon/btstack.c \
$(BTSTACK_ROOT)/platforms/daemon/socket_connection.c \
$(BTSTACK_ROOT)/src/hci_cmds.c \
$(BTSTACK_ROOT)/src/linked_list.c \
@ -26,7 +26,7 @@ libBTstack_SOURCES = \
BTdaemon_SOURCES = \
$(BTSTACK_ROOT)/platforms/daemon/daemon.c \
hci_transport_h4.c \
$(BTSTACK_ROOT)/platforms/posix/src/hci_transport_h4.c \
$(libBTstack_SOURCES) \
$(BTSTACK_ROOT)/src/btstack_memory.c \
$(BTSTACK_ROOT)/src/hci.c \