commit
34f6884920
2
README
2
README
@ -182,7 +182,7 @@ on localhost:
|
||||
|
||||
* a master on port 3000, with server_id=2
|
||||
* a slave on port 3001, server_id doesn't matter
|
||||
* a slave on port 2002, server_id doesn't matter
|
||||
* a slave on port 3002, server_id doesn't matter
|
||||
|
||||
On the master full privileges on the databases "test" and "FOO"
|
||||
are needed, on the saves SELECT permissions on test.* should
|
||||
|
@ -20,6 +20,9 @@
|
||||
# client program
|
||||
# 18/06/14 Mark Riddoch Addition of conditional for histedit
|
||||
|
||||
include ../build_gateway.inc
|
||||
include ../makefile.inc
|
||||
|
||||
ifeq ($(wildcard /usr/include/histedit.h), )
|
||||
HISTLIB=
|
||||
HISTFLAG=
|
||||
@ -63,14 +66,14 @@ maxadmin: $(OBJ)
|
||||
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) maxadmin
|
||||
- rm *.so
|
||||
$(DEL) $(OBJ) maxadmin
|
||||
$(DEL) *.so
|
||||
|
||||
tags:
|
||||
ctags $(SRCS) $(HDRS)
|
||||
|
||||
depend:
|
||||
@rm -f depend.mk
|
||||
@$(DEL) depend.mk
|
||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||
|
||||
install: maxadmin
|
||||
|
@ -44,7 +44,7 @@ install: liblink
|
||||
install liblog_manager.so.1.0.1 liblog_manager.so $(DEST)/lib
|
||||
|
||||
depend:
|
||||
@rm -f depend
|
||||
@$(DEL) depend
|
||||
$(CPP) -M $(CFLAGS) \
|
||||
$(MYSQL_HEADERS) \
|
||||
-I$(UTILS_PATH) -I./ \
|
||||
|
@ -62,7 +62,7 @@ install: liblink
|
||||
install ./libquery_classifier.so.1.0.1 ./libquery_classifier.so $(DEST)/lib
|
||||
|
||||
depend:
|
||||
@rm -f depend
|
||||
@$(DEL) depend
|
||||
$(CPP) -M $(CFLAGS) \
|
||||
$(MYSQL_HEADERS) \
|
||||
-I$(LOG_MANAGER_PATH) \
|
||||
|
@ -24,6 +24,9 @@
|
||||
# 08/07/13 Mark Riddoch Addition of monitor modules
|
||||
# 16/07/13 Mark Riddoch Renamed things to match the new naming
|
||||
|
||||
include ../build_gateway.inc
|
||||
include ../makefile.inc
|
||||
|
||||
DEST=$(HOME)/usr/local/skysql
|
||||
|
||||
all:
|
||||
@ -45,7 +48,7 @@ testall:
|
||||
$(MAKE) -C test HAVE_SRV=$(HAVE_SRV) testall
|
||||
|
||||
clean:
|
||||
(cd Documentation; rm -rf html)
|
||||
(cd Documentation; $(DEL) html)
|
||||
(cd core; touch depend.mk ; make clean)
|
||||
(cd modules/routing; touch depend.mk ; make clean)
|
||||
(cd modules/protocol; touch depend.mk ; make clean)
|
||||
|
@ -108,14 +108,14 @@ maxpasswd: $(POBJS)
|
||||
echo '#define MAXSCALE_VERSION "'`cat ../../VERSION`'"' > ../include/version.h
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) maxscale
|
||||
- rm *.so
|
||||
$(DEL) $(OBJ) maxscale
|
||||
$(DEL) *.so
|
||||
|
||||
tags:
|
||||
ctags $(SRCS) $(HDRS)
|
||||
|
||||
depend: ../include/version.h
|
||||
@rm -f depend.mk
|
||||
@$(DEL) depend.mk
|
||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||
|
||||
install: maxscale maxkeys maxpasswd
|
||||
|
@ -69,13 +69,13 @@ libtee.so: $(TEEOBJ)
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(MODULES)
|
||||
$(DEL) $(OBJ) $(MODULES)
|
||||
|
||||
tags:
|
||||
ctags $(SRCS) $(HDRS)
|
||||
|
||||
depend:
|
||||
@rm -f depend.mk
|
||||
@$(DEL) depend.mk
|
||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||
|
||||
install: $(MODULES)
|
||||
|
@ -19,6 +19,8 @@
|
||||
# 08/07/13 Mark Riddoch Initial implementation
|
||||
|
||||
include ../../../build_gateway.inc
|
||||
include ../../../makefile.inc
|
||||
|
||||
LOGPATH := $(ROOT_PATH)/log_manager
|
||||
UTILSPATH := $(ROOT_PATH)/utils
|
||||
|
||||
@ -55,13 +57,13 @@ libgaleramon.so: $(GALERAOBJ)
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(MODULES)
|
||||
$(DEL) $(OBJ) $(MODULES)
|
||||
|
||||
tags:
|
||||
ctags $(SRCS) $(HDRS)
|
||||
|
||||
depend:
|
||||
@rm -f depend.mk
|
||||
@$(DEL) depend.mk
|
||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||
|
||||
install: $(MODULES)
|
||||
|
@ -76,7 +76,7 @@ libmaxscaled.so: $(MAXSCALEDOBJ)
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(MODULES)
|
||||
$(DEL) $(OBJ) $(MODULES)
|
||||
|
||||
tags:
|
||||
ctags $(SRCS) $(HDRS)
|
||||
@ -85,7 +85,7 @@ install: $(MODULES)
|
||||
install -D $(MODULES) $(DEST)/modules
|
||||
|
||||
depend:
|
||||
rm -f depend.mk
|
||||
@$(DEL) depend.mk
|
||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||
|
||||
include depend.mk
|
||||
|
@ -71,7 +71,7 @@ libreadwritesplit.so:
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(MODULES)
|
||||
$(DEL) $(OBJ) $(MODULES)
|
||||
(cd readwritesplit; touch depend.mk; make clean)
|
||||
|
||||
tags:
|
||||
@ -79,7 +79,7 @@ tags:
|
||||
(cd readwritesplit; make tags)
|
||||
|
||||
depend:
|
||||
@rm -f depend.mk
|
||||
@$(DEL) depend.mk
|
||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||
(cd readwritesplit; touch depend.mk ; make depend)
|
||||
|
||||
|
@ -50,13 +50,13 @@ libreadwritesplit.so: $(OBJ)
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(MODULES)
|
||||
$(DEL) $(OBJ) $(MODULES)
|
||||
|
||||
tags:
|
||||
ctags $(SRCS) $(HDRS)
|
||||
|
||||
depend:
|
||||
@rm -f depend.mk
|
||||
@$(DEL) depend.mk
|
||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||
|
||||
install: $(MODULES)
|
||||
|
Loading…
x
Reference in New Issue
Block a user