mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
a14059db51
storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp: Rename: storage/ndb/ndbapi-examples/ndbapi_simple_index/ndbapi_simple_index.cpp -> storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp: Rename: storage/ndb/ndbapi-examples/mgmapi_logevent/mgmapi_logevent.cpp -> storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp: Rename: storage/ndb/ndbapi-examples/mgmapi_logevent2/mgmapi_logevent2.cpp -> storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp storage/ndb/src/kernel/blocks/dblqh/redoLogReader/reader.cpp: Rename: storage/ndb/src/kernel/blocks/dblqh/redoLogReader/redoLogFileReader.cpp -> storage/ndb/src/kernel/blocks/dblqh/redoLogReader/reader.cpp storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp: Rename: storage/ndb/ndbapi-examples/ndbapi_simple_dual/ndbapi_simple_dual.cpp -> storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp
24 lines
706 B
Makefile
24 lines
706 B
Makefile
TARGET = ndbapi_simple_dual
|
|
SRCS = main.cpp
|
|
OBJS = main.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)
|
|
|
|
$(OBJS): $(SRCS)
|
|
$(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
|
|
|
|
clean:
|
|
rm -f *.o $(TARGET)
|