autotools: many fixups, SUN->SOLARIS, typos, etc
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!
This commit is contained in:
@@ -10,7 +10,7 @@ if LINUX
|
||||
ttdbck_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
if SOLARIS
|
||||
ttdbck_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
@@ -18,7 +18,7 @@ if OPENBSD
|
||||
ttdbck_LDADD += $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
ttdbck_CXXFLAGS += $(TIRPCINC) -I../../slib -I../../lib -I../../mini_isam \
|
||||
ttdbck_CXXFLAGS = $(TIRPCINC) -I../../slib -I../../lib -I../../mini_isam \
|
||||
$(TT_VERSION_DEFINE)
|
||||
|
||||
ttdbck_SOURCES = binkey.C binkey_utils.C common.C \
|
||||
|
||||
@@ -11,4 +11,5 @@ all:: ttce2xdr
|
||||
CPPTARGET = ttce2xdr
|
||||
CPPSRC = ttce2xdr.cpp
|
||||
|
||||
include $(srcdir)/include/cppfile.tmpl
|
||||
# FIXME - need solution here
|
||||
# include $(srcdir)/include/cppfile.tmpl
|
||||
|
||||
@@ -12,7 +12,7 @@ if LINUX
|
||||
AM_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
if SOLARIS
|
||||
AM_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ if LINUX
|
||||
tt_type_comp_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
if SOLARIS
|
||||
tt_type_comp_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ if LINUX
|
||||
ttauth_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
if SOLARIS
|
||||
ttauth_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ if LINUX
|
||||
rpc_ttdbserver_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
if SOLARIS
|
||||
rpc_ttdbserver_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ if LINUX
|
||||
ttsession_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
if SOLARIS
|
||||
ttsession_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ if LINUX
|
||||
tttar_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
if SOLARIS
|
||||
tttar_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ if LINUX
|
||||
tttrace_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
||||
endif
|
||||
|
||||
if SUN
|
||||
if SOLARIS
|
||||
tttrace_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user