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:
Jon Trulson
2019-10-23 17:34:55 -06:00
parent 8ed2ce2c26
commit 1d7ed3a17e
25 changed files with 115 additions and 47 deletions

View File

@@ -8,7 +8,7 @@ if AIX
libDtCodelibs_la_CXXFLAGS = -qlanglvl=compat
endif
if SUN
if SOLARIS
libDtCodelibs_la_CXXFLAGS = -DNO_REGCOMP
endif

View File

@@ -7,7 +7,7 @@ libDtEncap_la_CFLAGS = -DMULTIBYTE -I../include -I../DtUtil2 $(TIRPCINC) \
-DCDE_INSTALLATION_TOP=\"${prefix}\" \
-DCDE_LOGFILES_TOP=\"$(CDE_LOGFILES_TOP)/tmp\"
if SUN
if SOLARIS
libDtEncap_la_CFLAGS += -DNO_REGCOMP
endif

View File

@@ -6,12 +6,12 @@ libDtUtil1_la_CFLAGS = -I../include $(TIRPCINC) -DMULTIBYTE \
-DCDE_INSTALLATION_TOP=\"${prefix}\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
if SUN
if SOLARIS
libDtUtil1_la_CFLAGS += -DNO_REGCOMP
endif
if HPUX
libDtUtil2_la_CFLAGS += -DMESSAGE_CAT
libDtUtil1_la_CFLAGS += -DMESSAGE_CAT
endif
libDtUtil1_la_SOURCES = Action.c ActionTt.c ActionDb.c ActionFind.c \

View File

@@ -6,15 +6,6 @@ libDtUtil2_la_CFLAGS = -DCDE_INSTALLATION_TOP=\"${prefix}\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-DMULTIBYTE -DUSE_XINERAMA $(TIRPCINC)
if SUN
libDtUtil2_la_SOURCES += SunDtHelp.c
libDtUtil2_la_CFLAGS += -I../../DtHelp -DNO_REGCOMP
endif
if HPUX
libDtUtil2_la_CFLAGS += -DMESSAGE_CAT
endif
libDtUtil2_la_SOURCES = ChkpntClient.c ChkpntListen.c DtEnvMap.c \
DtNlUtils.c EnvControl.c FileUtil.c \
@@ -26,3 +17,14 @@ libDtUtil2_la_SOURCES = ChkpntClient.c ChkpntListen.c DtEnvMap.c \
XmWrap.c addToRes.c lock.c \
SvcTT.c MsgCat.c MsgLog.c \
LocaleXlate.c XlationSvc.c
if SOLARIS
libDtUtil2_la_SOURCES += SunDtHelp.c
libDtUtil2_la_CFLAGS += -I../../DtHelp -DNO_REGCOMP
endif
if HPUX
libDtUtil2_la_CFLAGS += -DMESSAGE_CAT
endif