Redo the way the main CDE libs are specified in configure.ac... The current way could not work due to evaluation issues, and the fact that variables like $srcdir and the like are only valid in Makefiles, not configure. Use @LIBNAME@ rather then $(LIBNAME) in Makefile.am files - this way the location is always evaluated when it's run, not in configure - which can't work for a variety of reasons. Got some of the TT binaries to build. Made a new include/cppfile.inc file that can be used to pre-process files. The downside is that currently you can only pre-process one file at a time per Makefile. Something more robust is needed, but at least tt/bin/shell now builds. Will need to come up with a better way.
40 lines
997 B
Makefile
40 lines
997 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
|