lib/tt: add automake files
This commit is contained in:
4
cde/lib/tt/bin/Makefile.am
Normal file
4
cde/lib/tt/bin/Makefile.am
Normal file
@@ -0,0 +1,4 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
SUBDIRS = dbck shell scripts tt_type_comp ttauth ttdbserverd ttsession tttar \
|
||||
tttrace
|
||||
27
cde/lib/tt/bin/dbck/Makefile.am
Normal file
27
cde/lib/tt/bin/dbck/Makefile.am
Normal file
@@ -0,0 +1,27 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include ../../tooltalk.tmpl
|
||||
|
||||
bin_PROGRAMS = ttdbck
|
||||
|
||||
ttdbck_LDADD = $(LIBTT) $(X_LIBS) ../../slib/libstt.a ../../mini_isam/libisam.a
|
||||
|
||||
if LINUX
|
||||
ttdbck_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
ttdbck_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if OPENBSD
|
||||
ttdbck_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
ttdbck_CXXFLAGS += $(TIRPCINC) -I../../slib -I../../lib -I../../mini_isam \
|
||||
$(TT_VERSION_DEFINE)
|
||||
|
||||
ttdbck_SOURCES = binkey.C binkey_utils.C common.C \
|
||||
options.C options_tt.C prop.C \
|
||||
prop_utils.C spec.C spec_repair.C \
|
||||
spec_utils.C ttdbck.C
|
||||
14
cde/lib/tt/bin/scripts/Makefile.am
Normal file
14
cde/lib/tt/bin/scripts/Makefile.am
Normal file
@@ -0,0 +1,14 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include ../../tooltalk.tmpl
|
||||
|
||||
noinst_SCRIPTS = ttce2xdr
|
||||
|
||||
ttce2xdr_CPPFLAGS = $(TIRPCINC) $(TT_VERSION_DEFINE)
|
||||
|
||||
all:: ttce2xdr
|
||||
|
||||
CPPTARGET = ttce2xdr
|
||||
CPPSRC = ttce2xdr.cpp
|
||||
|
||||
include $(srcdir)/include/cppfile.tmpl
|
||||
29
cde/lib/tt/bin/shell/Makefile.am
Normal file
29
cde/lib/tt/bin/shell/Makefile.am
Normal file
@@ -0,0 +1,29 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include ../../tooltalk.tmpl
|
||||
|
||||
bin_PROGRAMS = ttmv ttrm ttcp ttrmdir
|
||||
|
||||
AM_CXXFLAGS = -I../../lib $(TIRPCINC) $(TT_VERSION_DEFINE)
|
||||
|
||||
AM_LDADD = $(LIBTT) $(X_LIBS)
|
||||
|
||||
if LINUX
|
||||
AM_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
AM_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
if OPENBSD
|
||||
AM_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
ttmv_SOURCES = ttmv.C mover.C
|
||||
|
||||
ttrm_SOURCES = ttrm.C remover.C
|
||||
|
||||
ttcp_SOURCES = ttcp.C copier.C
|
||||
|
||||
ttrmdir_SOURCES = ttrm.C remover.C
|
||||
27
cde/lib/tt/bin/tt_type_comp/Makefile.am
Normal file
27
cde/lib/tt/bin/tt_type_comp/Makefile.am
Normal file
@@ -0,0 +1,27 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include ../../tooltalk.tmpl
|
||||
|
||||
bin_PROGRAMS = tt_type_comp
|
||||
|
||||
tt_type_comp_CXXFLAGS = $(TIRPCINC) -I../../lib -I../../slib \
|
||||
$(TT_VERSION_DEFINE)
|
||||
|
||||
tt_type_comp_LDADD = $(LIBTT) $(X_LIBS) ../../slib/libstt.a
|
||||
|
||||
if LINUX
|
||||
tt_type_comp_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
tt_type_comp_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
if OPENBSD
|
||||
tt_type_comp_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
tt_type_comp_SOURCES = mp_type_comp.C mp_types_table.C \
|
||||
frozen.mp_types_lex.C frozen.mp_types_gram.C
|
||||
|
||||
frozen.mp_types_lex.o: frozen.mp_types_gram.h
|
||||
21
cde/lib/tt/bin/ttauth/Makefile.am
Normal file
21
cde/lib/tt/bin/ttauth/Makefile.am
Normal file
@@ -0,0 +1,21 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
bin_PROGRAMS = ttauth
|
||||
|
||||
ttauth_CFLAGS = -I../../slib -I../../lib -DSIGNALRETURNSINT
|
||||
|
||||
ttauth_LDADD = $(LIBTT) $(X_LIBS)
|
||||
|
||||
if LINUX
|
||||
ttauth_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
ttauth_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
if OPENBSD
|
||||
ttauth_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
ttauth_SOURCES = ttauth.c process.c
|
||||
39
cde/lib/tt/bin/ttdbserverd/Makefile.am
Normal file
39
cde/lib/tt/bin/ttdbserverd/Makefile.am
Normal file
@@ -0,0 +1,39 @@
|
||||
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 SUN
|
||||
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
|
||||
23
cde/lib/tt/bin/ttsession/Makefile.am
Normal file
23
cde/lib/tt/bin/ttsession/Makefile.am
Normal file
@@ -0,0 +1,23 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include ../../tooltalk.tmpl
|
||||
|
||||
bin_PROGRAMS = ttsession
|
||||
|
||||
ttsession_CXXFLAGS = -I../../slib -I../../lib $(TIRPCINC) $(TT_VERSION_DEFINE)
|
||||
|
||||
ttsession_LDADD = $(LIBTT) $(X_LIBS) ../../slib/libstt.a
|
||||
|
||||
if LINUX
|
||||
ttsession_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
ttsession_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
if OPENBSD
|
||||
ttsession_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
ttsession_SOURCES = mp_server.C
|
||||
27
cde/lib/tt/bin/tttar/Makefile.am
Normal file
27
cde/lib/tt/bin/tttar/Makefile.am
Normal file
@@ -0,0 +1,27 @@
|
||||
MAINTAINERCLENAFILES = Makefile.in
|
||||
|
||||
bin_PROGRAMS = tttar
|
||||
|
||||
tttar_CXXFLAGS = $(TIRPCINC) -I../../lib $(TT_VERSION_DEFINE)
|
||||
|
||||
tttar_LDADD = $(LIBTT) $(X_LIBS) ../../slib/libstt.a ../../mini_isam/libisam.a
|
||||
|
||||
if LINUX
|
||||
tttar_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
tttar_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
if OPENBSD
|
||||
tttar_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
tttar_SOURCES = tttar.C \
|
||||
archiver.C \
|
||||
tttar_utils.C \
|
||||
tttar_api.C \
|
||||
tttar_spec.C \
|
||||
tttar_file_utils.C \
|
||||
tttar_string_map.C
|
||||
23
cde/lib/tt/bin/tttrace/Makefile.am
Normal file
23
cde/lib/tt/bin/tttrace/Makefile.am
Normal file
@@ -0,0 +1,23 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include ../../tooltalk.tmpl
|
||||
|
||||
bin_PROGRAMS = tttrace
|
||||
|
||||
tttrace_CXXFLAGS = $(TIRPCINC) -I../../lib
|
||||
|
||||
tttrace_LDADD = $(LIBTT) $(X_LIBS)
|
||||
|
||||
if LINUX
|
||||
tttrace_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
tttrace_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
if OPENBSD
|
||||
tttrace_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
tttrace_SOURCES = tttrace.C tttrace_objs.C
|
||||
Reference in New Issue
Block a user