Skip to content
Snippets Groups Projects
Commit 67bb967f authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

build: properly carry build flags


Fix build flags for two directories, clean globals.

Change-Id: I2c2fb1fd7f73c8097de05f641ad3e71ccbabd965
Reviewed-by: default avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
parent 4776c563
No related branches found
No related tags found
No related merge requests found
......@@ -6,14 +6,6 @@ ringlibdir=$(DESTDIR)$(libdir)/ring
ASTYLERC="$(top_srcdir)/../astylerc"
indent="/usr/bin/astyle"
if BUILD_SPEEX
SPEEXCODEC=-DHAVE_SPEEX_CODEC
endif
if BUILD_OPUS
OPUSCODEC=-DHAVE_OPUS
endif
RING_DIRTY_REPO ?= $(shell git diff-index --quiet HEAD 2>/dev/null || echo dirty)
RING_REVISION ?= $(shell git log -1 --format="%h" --abbrev=10 2>/dev/null)
......@@ -31,10 +23,7 @@ AM_CPPFLAGS = \
-DRING_REVISION=\"$(RING_REVISION)\" \
-DRING_DIRTY_REPO=\"$(RING_DIRTY_REPO)\" \
-DPJSIP_MAX_PKT_LEN=8000 \
-DPJ_AUTOCONF=1 \
$(SPEEXCODEC) \
$(OPUSCODEC)
-DPJ_AUTOCONF=1
indent:
@echo "Indenting code:"
......
noinst_LTLIBRARIES = libconfig.la
include $(top_srcdir)/globals.mk
noinst_LTLIBRARIES = libconfig.la
libconfig_la_SOURCES = serializable.h yamlparser.h yamlparser.cpp
libconfig_la_CXXFLAGS = -I $(top_srcdir)/src
include $(top_srcdir)/globals.mk
AM_CPPFLAGS += -I../
AM_CPPFLAGS += -I$(top_srcdir)/src/ringdht/eth
noinst_LTLIBRARIES = libdevcrypto.la
libdevcrypto_la_CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/src -I$(top_srcdir)/src/ringdht/eth
libdevcrypto_la_SOURCES = Common.cpp
noinst_HEADERS = Common.h
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment