configure: add programs/ dthelp, dsdm, dtmail, dtpad, and dtfile

At this stage, these certainly won't actually build yet.

Just fix up the relevent Makefile.am files so that autogen does not
emit errors and warnings for them.

Removed AIX/HPUX support in Makefile.am files.  No point in
propogating that stuff when we've already removed much of that
unmaintained code from the codebase.

Commented out all of the Sun Pro stuff.  Someone whos using that will
need to go through and fix it.  This is mostly in dtmail and dthelp.

In fact, someone who does Solaris in general will need to go through
this stuff.

Next up, we'll replace any remaining 'if SUN' conditionals with 'if
SOLARIS' which is a more appropriate name and was already defined in
configure.ac.

Then we'll see about getting these new directories building.
This commit is contained in:
Jon Trulson
2019-10-28 18:39:21 -06:00
parent 4b8a65e884
commit 24171c3194
15 changed files with 130 additions and 163 deletions

View File

@@ -9,31 +9,31 @@ dtmail_CXXFLAGS = -I../include -I../include/MotifApp -I../include/utils \
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a
if SUN
dtmail_LDADD += -lw
if SUNPRODIR
SUNPRO_DIR = SUNPRODIR
else
SUNPRO_DIR = /opt/SUNWspro
endif
C++LIBPATH = -L$(SUNPRO_DIR)/lib
if USE_SPRO_V3
SPRO_V3_OPTIONS = -noex -USPRO_V2
if DEBUGTREE
SPRO_V3_OPTIONS += -xsb
endif
else
EXTRA_CCOPTIONS += -DSPRO_V2
endif
EXTRA_C++OPTIONS = -xF +w $(SPRO_V3_OPTIONS)
EXTRA_CCOPTIONS = -xF -xstrconst -Xa -v
if USE_EDITRES
EXTRA_LIBRARIES = $(XMULIB) ExtraLibraries
endif
endif
# FIXME solaris....
#if SOLARIS
#dtmail_LDFLAGS = -lw
#if SUNPRODIR
#SUNPRO_DIR = SUNPRODIR
#else
#SUNPRO_DIR = /opt/SUNWspro
#endif
#C++LIBPATH = -L$(SUNPRO_DIR)/lib
#
#if USE_SPRO_V3
#SPRO_V3_OPTIONS = -noex -USPRO_V2
#if DEBUGTREE
#3SPRO_V3_OPTIONS += -xsb
#endif
#else
#EXTRA_CCOPTIONS += -DSPRO_V2
#endif
#
#EXTRA_C++OPTIONS = -xF +w $(SPRO_V3_OPTIONS)
#EXTRA_CCOPTIONS = -xF -xstrconst -Xa -v
#if USE_EDITRES
#EXTRA_LIBRARIES = $(XMULIB) ExtraLibraries
#endif
#endif SOLARIS
dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \