From d9132e50f3523f3587a01266f80598c1563fde81 Mon Sep 17 00:00:00 2001 From: Pedro Berrocal Date: Sat, 11 Aug 2018 10:18:58 +0200 Subject: [PATCH] Glacier router config --- src/Makefile | 6 +++--- src/config.glacier2router | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index 39ced1f..1fdb52a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,19 +5,19 @@ CFLAGS=-I. -DICE_CPP11_MAPPING -I $(IDIR) -std=c++11 -pthread ODIR=obj LDIR =../lib -LIBS=-lm -lIce++11 +LIBS=-lIce++11 _DEPS = MW.h MWMap.h MWSession.h MWSessionI.h MWSessionManagerI.h DEPS = $(patsubst %,$(IDIR)/%,$(_DEPS)) -_OBJ = MW.o MWServer.o MWMap.o MWSession.o MWSessionManagerI.o MWUtils.o +_OBJ = MW.o MWServer.o MWMap.o MWSession.o MWSessionManagerI.o MWUtils.o OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ)) $(ODIR)/%.o: %.cpp $(DEPS) $(CC) -c -o $@ $< $(CFLAGS) mwserver: $(OBJ) - $(CC) -o $@ $^ $(CFLAGS) $(LIBS) + $(CC) -o $@ $^ -lIce++11 -std=c++11 -pthread slice: slice2cpp -I. -I../../ice/slice *.ice diff --git a/src/config.glacier2router b/src/config.glacier2router index 69912f7..a4c54e2 100644 --- a/src/config.glacier2router +++ b/src/config.glacier2router @@ -21,7 +21,7 @@ Glacier2.Server.Endpoints=tcp -h 127.0.0.1 # # The proxy of the session manager. # -Glacier2.SessionManager=ChatSessionManager:tcp -h 127.0.0.1 -p 10001 +Glacier2.SessionManager=MWSessionManager:tcp -h 127.0.0.1 -p 10001 # # Accept only requests to the machine where the session manager is