Commit 67dae3e7 authored by yiwenshao's avatar yiwenshao

add test_parser

parent 422057f2
...@@ -97,6 +97,9 @@ mtl/test_util_exe/%:$(OBJDIR)/test_util/%.o ...@@ -97,6 +97,9 @@ mtl/test_util_exe/%:$(OBJDIR)/test_util/%.o
@mkdir -p $(@D) @mkdir -p $(@D)
$(CXX) -g -o $@ $^ $(CXXFLAGS) $(LDFLAGS) -L/$(MYBUILD)/libmysqld -lmysqld -laio -lz -ldl -lm -lcrypt -lpthread -lcryptdb -ledbcrypto -ledbutil -ledbparser -lntl -lcrypto $(CXX) -g -o $@ $^ $(CXXFLAGS) $(LDFLAGS) -L/$(MYBUILD)/libmysqld -lmysqld -laio -lz -ldl -lm -lcrypt -lpthread -lcryptdb -ledbcrypto -ledbutil -ledbparser -lntl -lcrypto
mtl/test_parser_exe/%:$(OBJDIR)/test_parser/%.o
@mkdir -p $(@D)
$(CXX) -g -o $@ $^ $(CXXFLAGS) $(LDFLAGS) -L/$(MYBUILD)/libmysqld -lmysqld -laio -lz -ldl -lm -lcrypt -lpthread -lcryptdb -ledbcrypto -ledbutil -ledbparser -lntl -lcrypto
include crypto/Makefrag include crypto/Makefrag
include parser/Makefrag include parser/Makefrag
...@@ -107,6 +110,7 @@ include mysqlproxy/Makefrag ...@@ -107,6 +110,7 @@ include mysqlproxy/Makefrag
include debug/Makefrag include debug/Makefrag
include test_wrapper/Makefrag include test_wrapper/Makefrag
include test_util/Makefrag include test_util/Makefrag
include test_parser/Makefrag
include wrapper/Makefrag include wrapper/Makefrag
......
OBJDIRS += test_parser
##note that xx=*.cc will not expand. wildcard *.cc will include files from other directories.
##%.o will include testall
TESTALL_OBJS := $(patsubst %.cc,$(OBJDIR)/%.o,$(wildcard test_parser/*.cc))
TESTALL_EXES := $(patsubst test_parser/%.cc,mtl/test_parser_exe/%,$(wildcard test_parser/*.cc))
all: $(TESTALL_OBJS) $(TESTALL_EXES)
int main() {
return 0;
}
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