Makefile.am,build/linux/*/build.sh,README.me : Remove dependency on locally build libwebsockets.
This commit is contained in:
parent
74e0e274ba
commit
95f92b5346
@ -14,9 +14,6 @@ include_HEADERS =
|
|||||||
# -Wno-multichar - turns off multi-character constant warnings from cmAudioFile.c
|
# -Wno-multichar - turns off multi-character constant warnings from cmAudioFile.c
|
||||||
|
|
||||||
|
|
||||||
WS_DIR = $(HOME)/sdk/libwebsockets/build/out
|
|
||||||
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I.. -I$(srcdir)/src/libcw
|
AM_CPPFLAGS = -I.. -I$(srcdir)/src/libcw
|
||||||
AM_CFLAGS = -Wno-multichar
|
AM_CFLAGS = -Wno-multichar
|
||||||
AM_CXXFLAGS = -Wno-multichar
|
AM_CXXFLAGS = -Wno-multichar
|
||||||
@ -83,8 +80,6 @@ if cwWEB
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if cwWEBSOCK
|
if cwWEBSOCK
|
||||||
# AM_CPPFLAGS += -I$(WS_DIR)/include
|
|
||||||
# AM_LDFLAGS += -L$(WS_DIR)/lib
|
|
||||||
src_cwtest_cwtest_LDADD += -lwebsockets
|
src_cwtest_cwtest_LDADD += -lwebsockets
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -3,15 +3,15 @@ libcw Testing and Development App
|
|||||||
|
|
||||||
# GDB Setup:
|
# GDB Setup:
|
||||||
|
|
||||||
set env LD_LIBRARY_PATH /home/kevin/sdk/libwebsockets/build/out/lib::~/src/libcm/build/linux/debug/lib
|
set env LD_LIBRARY_PATH ~/src/libcm/build/linux/debug/lib
|
||||||
r ~/src/cwtest/src/cwtest/cfg/main.cfg mtx
|
r ~/src/cwtest/src/cwtest/cfg/main.cfg mtx
|
||||||
|
|
||||||
// if problems occur with gdb hanging while download debuginfo
|
// if problems occur with gdb hanging while download debuginfo
|
||||||
dnf upgrade --enablerepo=*-debuginfo "*-debuginfo" # update all debuginfo files
|
sudo dnf upgrade --enablerepo=*-debuginfo "*-debuginfo" # update all debuginfo files
|
||||||
|
|
||||||
# Valgrind setup
|
# Valgrind setup
|
||||||
|
|
||||||
export LD_LIBRARY_PATH=~/sdk/libwebsockets/build/out/lib:~/src/libcm/build/linux/debug/lib
|
export LD_LIBRARY_PATH=~/src/libcm/build/linux/debug/lib
|
||||||
valgrind --leak-check=yes --log-file=vg0.txt ./cwtest ~/src/cwtest/src/cwtest/cfg/main.cfg mtx
|
valgrind --leak-check=yes --log-file=vg0.txt ./cwtest ~/src/cwtest/src/cwtest/cfg/main.cfg mtx
|
||||||
|
|
||||||
#Design Questions:
|
#Design Questions:
|
||||||
|
@ -19,8 +19,8 @@ cd ${curdir}
|
|||||||
--enable-alsa \
|
--enable-alsa \
|
||||||
CFLAGS="-g -Wall" \
|
CFLAGS="-g -Wall" \
|
||||||
CXXFLAGS="-g -Wall" \
|
CXXFLAGS="-g -Wall" \
|
||||||
CPPFLAGS="-I${HOME}/sdk/libwebsockets/build/out/include -I${HOME}/src/libcm/build/linux/debug/include" \
|
CPPFLAGS="-I${HOME}/src/libcm/build/linux/debug/include" \
|
||||||
LDFLAGS="-L${HOME}/sdk/libwebsockets/build/out/lib -L${HOME}/src/libcm/build/linux/debug/lib" \
|
LDFLAGS="-L${HOME}/src/libcm/build/linux/debug/lib" \
|
||||||
LIBS=
|
LIBS=
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ cd ${curdir}
|
|||||||
../../../configure --prefix=${curdir} --enable-websock --enable-alsa \
|
../../../configure --prefix=${curdir} --enable-websock --enable-alsa \
|
||||||
CFLAGS="-Wall" \
|
CFLAGS="-Wall" \
|
||||||
CXXFLAGS="-Wall" \
|
CXXFLAGS="-Wall" \
|
||||||
CPPFLAGS="-I${HOME}/sdk/libwebsockets/build/out/include -I${HOME}/src/libcm/build/linux/debug/include" \
|
CPPFLAGS="-I${HOME}/src/libcm/build/linux/debug/include" \
|
||||||
LDFLAGS="-L${HOME}/sdk/libwebsockets/build/out/lib -L${HOME}/src/libcm/build/linux/debug/lib" \
|
LDFLAGS="-L${HOME}/src/libcm/build/linux/debug/lib" \
|
||||||
LIBS=
|
LIBS=
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user