diff --git a/examples/burst-app/Makefile b/examples/burst-app/Makefile index d441cb652b9c69d62f629ba159be47aeb755ac7b..0375cb36c918b60e0deb1daea1c27299a92cc3c6 100644 --- a/examples/burst-app/Makefile +++ b/examples/burst-app/Makefile @@ -48,14 +48,9 @@ LDLIBS = -lIPSec_MB SOURCES := main.c OBJECTS := $(SOURCES:%.c=%.o) -ifeq ("$(shell test -e $(INSTPATH) && echo -n yes)","yes") -# library installed -CFLAGS += -else # library not installed CFLAGS += -I$(LIB_DIR) LDFLAGS += -L$(LIB_DIR) -endif # targets come here all: $(APP) diff --git a/perf/Makefile b/perf/Makefile index abc138584f85f2a1ca63e06957169f2724a73fed..9aea0b7128a73286e90753b4669e797f0d5ad145 100644 --- a/perf/Makefile +++ b/perf/Makefile @@ -86,14 +86,9 @@ endif endif # aarch64 LDLIBS = -lIPSec_MB -ifeq ("$(shell test -e $(INSTPATH) && echo -n yes)","yes") -# library installed -CFLAGS += -else # library not installed CFLAGS += -I../lib LDFLAGS += -L$(LIB_DIR) -endif DEBUG_OPT ?= -O0 ifeq ($(DEBUG),y) diff --git a/test/common/common.mk b/test/common/common.mk index 311b7cc130ba2550fa179354e6b3a3af9da10b99..a6a32add323a487f8f6fc6cc358e2fae5d46d60f 100644 --- a/test/common/common.mk +++ b/test/common/common.mk @@ -102,15 +102,9 @@ endif # x86_64 LDLIBS = -lIPSec_MB -ifeq ("$(shell test -r $(INSTPATH) && echo -n yes)","yes") -# library installed -$(info INFO: Using system installed library version.) -CFLAGS += -I../include/ -else # library not installed CFLAGS += -I../../lib -I../include/ LDFLAGS += -L$(LIB_DIR) -endif DEBUG_OPT ?= -O0 ifeq ($(DEBUG),y)