mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
f55af1eade
bug#24667 After ALTER TABLE operation ndb_dd table becomes regular ndb: disallowed TABLESPACE declaration for STORAGE MEMORY Makefile: Rename: storage/ndb/ndbapi-examples/mgmapi_logevent_dual/Makefile -> storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile mgmapi_logevent2.cpp: Rename: storage/ndb/ndbapi-examples/mgmapi_logevent_dual/mgmapi_logevent_dual.cpp -> storage/ndb/ndbapi-examples/mgmapi_logevent_dual/mgmapi_logevent2.cpp Makefile: Rename mgmapi_logevent_dual to mgmapi_logevent2 mgmapi_logevent2.cpp: Rename: storage/ndb/ndbapi-examples/mgmapi_logevent_dual/mgmapi_logevent2.cpp -> storage/ndb/ndbapi-examples/mgmapi_logevent2/mgmapi_logevent2.cpp
24 lines
735 B
Makefile
24 lines
735 B
Makefile
TARGET = mgmapi_logevent2
|
|
SRCS = $(TARGET).cpp
|
|
OBJS = $(TARGET).o
|
|
CXX = g++
|
|
CFLAGS = -c -Wall -fno-rtti -fno-exceptions
|
|
CXXFLAGS =
|
|
DEBUG =
|
|
LFLAGS = -Wall
|
|
TOP_SRCDIR = ../../../..
|
|
INCLUDE_DIR = $(TOP_SRCDIR)/storage/ndb/include
|
|
LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/src/.libs \
|
|
-L$(TOP_SRCDIR)/libmysql_r/.libs \
|
|
-L$(TOP_SRCDIR)/zlib/.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$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS)
|
|
|
|
clean:
|
|
rm -f *.o $(TARGET)
|