1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

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

@ -513,6 +513,7 @@ programs/dthelp/Makefile
programs/dthelp/dthelpview/Makefile
programs/dthelp/dthelpgen/Makefile
programs/dthelp/dthelpdemo/Makefile
programs/dthelp/dthelpprint/Makefile
programs/nsgmls/Makefile

View file

@ -41,8 +41,8 @@
#ifndef _DtHELP_XLATE_I
#define _DtHELP_XLATE_I
#include <LocaleXlate.h>
#include <XlationSvc.h>
#include <Dt/LocaleXlate.h>
#include <Dt/XlationSvc.h>
#ifdef __cplusplus
extern "C" {

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,