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

@@ -20,10 +20,10 @@ build_CFLAGS = -I$(HELPUTILSRC)
build_LDADD = -l$(HELPUTILLIB)
if HPUX
build_LDADD += -Wl,-a archive
build_LDFLAGS = -Wl,-a archive
endif
if SUN
if SOLARIS
.NO_PARALLEL:
endif

View File

@@ -20,10 +20,10 @@ HELPTSSFILE = $(HELPTAGSRC)/htag.tss
eltdef_LDADD = -l$(HELPUTILLIB)
if HPUX
eltdef += -Wl,-a archive
eltdef_LDFLAGS = -Wl,-a archive
endif
if SUN
if SOLARIS
.NO_PARALLEL:
endif

View File

@@ -6,8 +6,6 @@ ARCCMD = arc u
UNARCCMD = arc x
ARCDELCMD = arc d
.SUFFIXES : .e .arc .c .h
HELPTAG = ..
HELPTAGSRC = $(HELPTAG)/helptag
HELPPARSERSRC = $(HELPTAG)/parser
@@ -21,12 +19,12 @@ HELPTSSFILE = $(HELPTAGSRC)/htag.tss
XLATESRC = $(DTHELPSRC)
XLATEHDRS = $(XLATESRC)/XlationSvc.h $(XLATESRC)/LocaleXlate.h
XLATESRCS = ${srcdir}/lib/DtSvc/DtUtil2/XlationSvc.c \
${srcdir}/lib/DtSvc/DtUtil2/LocaleXlate.c
XLATESRCS = ${top_srcdir}/lib/DtSvc/DtUtil2/XlationSvc.c \
${top_srcdir}/lib/DtSvc/DtUtil2/LocaleXlate.c
ELTHDRS = $(HELPUTILSRC)/entdef.h $(HELPUTILSRC)/entext.h
XCOMM PARSEHDRS are header files used by many parser routines
# PARSEHDRS are header files used by many parser routines
PARSEHDRS = $(HELPUTILSRC)/basic.h $(HELPUTILSRC)/trie.h \
$(HELPUTILSRC)/common.h $(HELPUTILSRC)/dtddef.h \
$(HELPUTILSRC)/dtdext.h $(HELPUTILSRC)/sparse.h \
@@ -45,17 +43,17 @@ dthelp_htag1_CFLAGS = -I$(HELPUTILSRC) -I$(HELPPARSERSRC) -I$(HELPELTDEFSRC) \
dthelp_htag1_LDADD = $(HELPUTILLIB)
if HPUX
dthelp_htag1_LDADD += -Wl,-a archive
dthelp_htag1_LDFLAGS = -Wl,-a archive
endif
if SUN
if SOLARIS
dthelp_htag1_LDADD += -lm -ldl -lgen
endif
dthelp_htag1_LDADD += custom.c default.c help.c make.c option.c out.c \
dthelp_htag1_SOURCES = custom.c default.c help.c make.c option.c out.c \
special.c xref.c $(XLATESRCS)
dthelp_htag1: $(HELPPARSERSRC)/parser
dthelp_htag1$(EXEEXT): $(HELPPARSERSRC)/parser
$(RM) dthelp_htag1
$(CP) $(HELPPARSERSRC)/parser dthelp_htag1
@@ -67,8 +65,3 @@ arcappl archptag :
unarcappl unarchptag :
$(UNARCCMD) hptag.arc
tags ::
etags -t *.c *.h *.if
etags ::
etags -t *.c *.h *.if