Makefile_old 753 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
include .defs.mk

TYPE := util

PIC_ARCHIVE    := Y
ARCHIVE_TARGET := general

SOURCES   = File.cpp md5_hash.cpp Properties.cpp socket_io.cpp \
            SimpleProperties.cpp Parser.cpp InputStream.cpp SocketServer.cpp \
	    OutputStream.cpp NdbOut.cpp BaseString.cpp Base64.cpp \
11
	    NdbSqlUtil.cpp ConfigValues.cpp new.cpp
12 13 14 15 16 17 18 19 20

SOURCES.c = uucode.c random.c getarg.c version.c

ifeq ($(NDB_OS), OSE)
	SOURCES += NdbErrHnd.cpp
endif
ifeq ($(NDB_OS), OSE)
	SOURCES += NdbErrHnd.cpp
endif
unknown's avatar
unknown committed
21
	SOURCES.c += strdup.c strlcat.c strlcpy.c
22

23
DIRS := testSimpleProperties testProperties testConfigValues
24 25 26 27 28

include $(NDB_TOP)/Epilogue.mk

testNdbSqlUtil: NdbSqlUtil.cpp
	$(CC) -o $@ NdbSqlUtil.cpp $(CCFLAGS) -DNDB_SQL_UTIL_TEST -L$(NDB_TOP)/lib -lportlib -lgeneral