14e630824SMatthias Ringwald# Makefile for windows-h4 examples 2f67eb7c2SMatthias RingwaldBTSTACK_ROOT ?= ../.. 34e630824SMatthias Ringwald 47ea7688aSMatthias RingwaldCORE += main.c btstack_stdin_windows.c 54e630824SMatthias Ringwald 64e630824SMatthias RingwaldCOMMON += \ 74e630824SMatthias Ringwald btstack_run_loop_windows.c \ 84e630824SMatthias Ringwald hci_transport_h4.c \ 94e630824SMatthias Ringwald btstack_uart_block_windows.c \ 104e630824SMatthias Ringwald le_device_db_fs.c \ 114e630824SMatthias Ringwald btstack_link_key_db_fs.c \ 122d0fc1beSMatthias Ringwald bluetooth_init_cc2564B_1.6_BT_Spec_4.1.c \ 13422979b1SMatthias Ringwald btstack_chipset_cc256x.c \ 14422979b1SMatthias Ringwald btstack_chipset_csr.c \ 15422979b1SMatthias Ringwald btstack_chipset_em9301.c \ 16422979b1SMatthias Ringwald btstack_chipset_stlc2500d.c \ 17422979b1SMatthias Ringwald btstack_chipset_tc3566x.c \ 18634a9874SMatthias Ringwald btstack_chipset_bcm.c \ 1908c0d996SMatthias Ringwald wav_util.c \ 204e630824SMatthias Ringwald 21422979b1SMatthias Ringwald# examples 224e630824SMatthias Ringwaldinclude ${BTSTACK_ROOT}/example/Makefile.inc 234e630824SMatthias Ringwald 24422979b1SMatthias Ringwald# fetch and convert TI init scripts 25422979b1SMatthias Ringwaldinclude ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc 26422979b1SMatthias Ringwald 27422979b1SMatthias Ringwald# fetch Broadcom init scripts 28422979b1SMatthias Ringwald# include ${BTSTACK_ROOT}/chipset/bcm/Makefile.inc 29422979b1SMatthias Ringwald 304e630824SMatthias Ringwald# CC = gcc-fsf-4.9 314e630824SMatthias RingwaldCFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Werror 324e630824SMatthias Ringwald# CFLAGS += -Werror 334e630824SMatthias Ringwald 344e630824SMatthias RingwaldCFLAGS += -I${BTSTACK_ROOT}/platform/posix \ 35ea739015SMatthias Ringwald -I${BTSTACK_ROOT}/platform/windows \ 36422979b1SMatthias Ringwald -I${BTSTACK_ROOT}/platform/embedded \ 37422979b1SMatthias Ringwald -I$(BTSTACK_ROOT)/chipset/bcm \ 38422979b1SMatthias Ringwald -I$(BTSTACK_ROOT)/chipset/cc256x \ 39422979b1SMatthias Ringwald -I$(BTSTACK_ROOT)/chipset/csr \ 40422979b1SMatthias Ringwald -I$(BTSTACK_ROOT)/chipset/em9301 \ 41422979b1SMatthias Ringwald -I$(BTSTACK_ROOT)/chipset/stlc2500d \ 42422979b1SMatthias Ringwald -I$(BTSTACK_ROOT)/chipset/tc3566x \ 43d08566fbSMatthias Ringwald -I${BTSTACK_ROOT}/3rd-party/tinydir 444e630824SMatthias Ringwald 45ea739015SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/windows 464e630824SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/platform/posix 474e630824SMatthias Ringwald 48422979b1SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/bcm 49422979b1SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/cc256x 50422979b1SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/csr 51422979b1SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/em9301 52422979b1SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/stlc2500d 53422979b1SMatthias RingwaldVPATH += ${BTSTACK_ROOT}/chipset/tc3566x 54422979b1SMatthias Ringwald 55*62ab70e9SMatthias RingwaldEXAMPLES += pan_lwip_http_server 56*62ab70e9SMatthias Ringwald 574e630824SMatthias Ringwald# assume portaudio is installed in /usr/local 584e630824SMatthias Ringwald# CFLAGS += -I/usr/local/include -DHAVE_PORTAUDIO 594e630824SMatthias Ringwald# LDFLAGS += -L/sw/lib -lportaudio 604e630824SMatthias Ringwald 614e630824SMatthias Ringwaldall: ${EXAMPLES} 62