mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
358ba900ef
temporary added trace printouts for ndb autotest
23 lines
637 B
Makefile
23 lines
637 B
Makefile
TARGET = ndbapi_event
|
|
SRCS = ndbapi_event.cpp
|
|
OBJS = ndbapi_event.o
|
|
CXX = g++
|
|
CFLAGS = -c -Wall -fno-rtti -fno-exceptions
|
|
CXXFLAGS =
|
|
DEBUG =
|
|
LFLAGS = -Wall
|
|
TOP_SRCDIR = ../../..
|
|
INCLUDE_DIR = $(TOP_SRCDIR)/ndb/include
|
|
LIB_DIR = -L$(TOP_SRCDIR)/ndb/src/.libs \
|
|
-L$(TOP_SRCDIR)/libmysql_r/.libs \
|
|
-L$(TOP_SRCDIR)/mysys -L$(TOP_SRCDIR)/strings
|
|
SYS_LIB =
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
|
|
|
|
$(TARGET).o: $(SRCS)
|
|
$(CXX) $(CFLAGS) -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
|
|
|
|
clean:
|
|
rm -f *.o $(TARGET)
|