This should allow an autoregen and ./confiure to work. We only generate Makefiles for lib/* and ./Makefile for now. We'll ad more as we go along. Make still fails as we need to figure out TT - tirpc lib, rpcgen, etc. But it's a start!
40 lines
998 B
Makefile
40 lines
998 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
bin_PROGRAMS = rpc.ttdbserver
|
|
|
|
rpc_ttdbserver_CXXFLAGS = -I../../slib -I../../lib -I../../mini_isam \
|
|
$(TIRPC_DEFINES) $(TIRPCINC) $(TT_VERSION_DEFINE)
|
|
|
|
rpc_ttdbserver_LDADD = $(LIBTT) $(X_LIBS) ../../slib/libstt.a \
|
|
../../mini_isam/libisam.a
|
|
|
|
if LINUX
|
|
rpc_ttdbserver_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
|
endif
|
|
|
|
if SOLARIS
|
|
rpc_ttdbserver_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
|
endif
|
|
|
|
if OPENBSD
|
|
rpc_ttdbserver_LDADD += $(XTOOLLIB)
|
|
endif
|
|
|
|
rpc_ttdbserver_SOURCES = db_server_functions.C \
|
|
db_server_svc.C \
|
|
dm_access_cache.C \
|
|
dm_server.C \
|
|
tt_db_message_info_utils.C \
|
|
tt_db_msg_q_lock.C \
|
|
tt_db_msg_q_lock_entry_utils.C \
|
|
tt_db_partition_global_map_ref.C \
|
|
tt_db_partition_redirection_map.C \
|
|
tt_db_server_db.C \
|
|
tt_db_server_db_utils.C \
|
|
tt_isam_file.C \
|
|
tt_isam_file_utils.C \
|
|
tt_isam_key_descriptor.C \
|
|
tt_isam_key_descriptor_utils.C \
|
|
tt_isam_record.C \
|
|
tt_isam_record_utils.C
|