Commit fcbc7aed authored by Ophélie Gagnard's avatar Ophélie Gagnard

Fix a bug in Makefiles for buildouts.

parent 3d4df09b
......@@ -17,7 +17,7 @@ bin/metadata-collect-agent:
mkdir -p build/metadata-collect-agent/logs ;\
cp src/main.cpp build/metadata-collect-agent/
cd build/metadata-collect-agent ;\
make
INCLUDE_PYTHON=$(INCLUDE_PYTHON) PREFIX=$(PREFIX) make
install -m 744 build/metadata-collect-agent/metadata-collect-agent bin/
lib/fluentbit_wendelin.so:
......
ifeq (,)
INCLUDE_PYTHON = $(shell pkg-config --cflags python3 | cut -f 1 -d " ")
ifeq ($(INCLUDE_PYTHON),)
INCLUDE_PYTHON = $(shell pkg-config --cflags python3 | cut -f 1 -d " ")
else
# INCLUDE_PYTHON = /test/test
INCLUDE_PYTHON = -I/srv/slapgrid/slappart6/srv/runner/shared/python3/2e435adf7e2cb7d97668da52532ac7f3/include/python3.7m
#INCLUDE_PYTHON = -I/srv/slapgrid/slappart6/srv/runner/shared/python3/2e435adf7e2cb7d97668da52532ac7f3/include/python3.7m
OPENSSL_PATH = /srv/slapgrid/slappart6/srv/runner/shared/openssl/24bd61db512fe6e4e0d214ae77943d75
INCLUDE_OPENSSL = -I$(OPENSSL_PATH)/include
LIBRARY_OPENSSL = -L$(OPENSSL_PATH)/lib
RUNPATH_OPENSSL = -Wl,-rpath=$(OPENSSL_PATH)/lib
#OPENSSL_PATH = /srv/slapgrid/slappart6/srv/runner/shared/openssl/24bd61db512fe6e4e0d214ae77943d75
#INCLUDE_OPENSSL = -I$(OPENSSL_PATH)/include
#LIBRARY_OPENSSL = -L$(OPENSSL_PATH)/lib
#RUNPATH_OPENSSL = -Wl,-rpath=$(OPENSSL_PATH)/lib
FMTLIB_PATH = /srv/slapgrid/slappart6/srv/runner/shared/fmtlib/d524cc3d1a798a140778558556ec6d0c
INCLUDE_FMTLIB = -I$(FMTLIB_PATH)/include
LIBRARY_FMTLIB = -L$(FMTLIB_PATH)/lib
RUNPATH_FMTLIB = -Wl,-rpath=$(FMTLIB_PATH)/lib
#FMTLIB_PATH = /srv/slapgrid/slappart6/srv/runner/shared/fmtlib/d524cc3d1a798a140778558556ec6d0c
#INCLUDE_FMTLIB = -I$(FMTLIB_PATH)/include
#LIBRARY_FMTLIB = -L$(FMTLIB_PATH)/lib
#RUNPATH_FMTLIB = -Wl,-rpath=$(FMTLIB_PATH)/lib
INCLUDE_DIRS = $(INCLUDE_PYTHON) $(INCLUDE_OPENSSL) $(INCLUDE_FMTLIB)
#INCLUDE_DIRS = $(INCLUDE_PYTHON) $(INCLUDE_OPENSSL) $(INCLUDE_FMTLIB)
LIBPATHS = $(LIBRARY_OPENSSL) $(LIBRARY_FMTLIB)
RUNPATHS = $(RUNPATH_OPENSSL) $(RUNPATH_FMTLIB)
#LIBPATHS = $(LIBRARY_OPENSSL) $(LIBRARY_FMTLIB)
#RUNPATHS = $(RUNPATH_OPENSSL) $(RUNPATH_FMTLIB)
LDFLAGS = $(LIBPATHS) $(RUNPATHS)
#LDFLAGS = $(LIBPATHS) $(RUNPATHS)
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment