dthelpprint: make it build.

This commit is contained in:
Jon Trulson
2020-04-13 16:21:27 -06:00
parent b64d91d5a9
commit 349802ddd3
5 changed files with 20 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = dthelpview dthelpgen dthelpdemo
SUBDIRS = dthelpview dthelpgen dthelpdemo dthelpprint
#NOTYET = parser dthelpprint
#NOTYET = parser

View File

@@ -1,9 +1,13 @@
bin_PROGRAMS = dthelpprint dthelpprint.sh
MAINTAINERCLEANFILES = Makefile.in
dthelpprint_CPPFLAGS = -I.. -DCDE_CONFIGURATION_TOP='"${prefix}"' \
-DCDE_INSTALLATION_TOP='"$(CDE_INSTALLATION_TOP)"'
bin_PROGRAMS = dthelpprint
bin_SCRIPTS = dthelpprint.sh
dthelpprint_LDADD = $(LIBSVC) $(LIBTT) $(LIBHELP) $(XTOOLLIB) ${X_LIBS}
dthelpprint_CPPFLAGS = -I.. -I ../../../lib/DtHelp \
-DCDE_CONFIGURATION_TOP='"${prefix}"' \
-DCDE_INSTALLATION_TOP='"$(CDE_INSTALLATION_TOP)"'
dthelpprint_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
if SOLARIS
dthelpprint_LDADD += -lw -ldl -lgen -lm

View File

@@ -58,15 +58,17 @@ $COPYRIGHT$:
#include <time.h>
#include "HelpPrintI.h" /* helpprint */
#include "HelpTermP.h" /* from libDtHelp */
#include "CanvasP.h" /* from libDtHelp */
#include "DtI/HelpTermP.h" /* from libDtHelp */
#include "Dt/CanvasP.h" /* from libDtHelp */
#include "StringFuncsI.h" /* from libDtHelp */
#include "LocaleXlate.h" /* from libDtHelp */
#include "bufioI.h" /* from libDtHelp; required for AccessI.h */
#include "FileUtilsI.h" /* from libDtHelp */
#include "Dt/LocaleXlate.h" /* from libDtHelp */
#include "DtI/bufioI.h" /* from libDtHelp; required for AccessI.h */
#include "DtI/FileUtilsI.h" /* from libDtHelp */
#include "GenUtilsP.h" /* from libDtHelp */
#include "HelpXlate.h" /* from libDtHelp */
/*#include "AccessI.h" ** from libDtHelp */
/* I can't include AccessI.h because it redefines the Boolean type,