1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

dthelp: get parts of it building.

This was a patch from Peter G, though modified a bit regarding the
LDADDs the way we do them now.
This commit is contained in:
Jon Trulson 2020-03-23 13:51:01 -06:00
parent dcda29d67a
commit 137bbf383e
7 changed files with 25 additions and 12 deletions

View file

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

View file

@ -0,0 +1,10 @@
MAINTAINERCLEANFILES = Makefile.in
bin_PROGRAMS = dthelpdemo
dthelpdemo_CPPFLAGS = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
dthelpdemo_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
dthelpdemo_SOURCES = Main.c HourGlass.c HelpCache.c

View file

@ -4,9 +4,10 @@ bin_PROGRAMS = dthelpgen
bin_SCRIPTS = dthelpgen.dtsh
dthelpgen_CPPFLAGS = -I.. -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
dthelpgen_CPPFLAGS = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-I ../../../lib/DtHelp
dthelpgen_LDADD = $(LIBHELP) $(LIBSVC) $(LIBTT) $(XTOOLLIB) ${X_LIBS}
dthelpgen_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
dthelpgen_SOURCES = helpgen.c

View file

@ -41,13 +41,13 @@
#include <Dt/Help.h>
#include <Dt/EnvControlP.h>
#include "HelpP.h" /* in DtHelp library */
#include "Dt/HelpP.h" /* in DtHelp library */
#include "GenUtilsP.h" /* in DtHelp library */
#include "ObsoleteP.h" /* in DtHelp library */
#include "bufioI.h" /* for AccessI.h */
#include "Access.h" /* in DtHelp library */
#include "AccessP.h" /* in DtHelp library */
#include "AccessI.h" /* in DtHelp library */
#include "DtI/bufioI.h" /* for AccessI.h */
#include "DtI/Access.h" /* in DtHelp library */
#include "DtI/AccessP.h" /* in DtHelp library */
#include "DtI/AccessI.h" /* in DtHelp library */
#include "AccessCCDFI.h" /* in DtHelp library */
#include "StringFuncsI.h" /* in DtHelp library */

View file

@ -74,7 +74,7 @@
/* Local Includes */
#include <DtI/HelposI.h>
#include <DtI/HelpP.h>
#include <Dt/HelpP.h>
#include <DtI/FileUtilsI.h>
#include "Main.h"
#include "UtilI.h"

View file

@ -4,6 +4,6 @@ bin_PROGRAMS = dthelpview
dthelpview_CFLAGS = -D_BMS
dthelpview_LDADD = $(LIBHELP) $(LIBSVC) $(LIBTT) $(XTOOLLIB) ${X_LIBS}
dthelpview_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
dthelpview_SOURCES = Main.c ManPage.c Util.c

View file

@ -58,7 +58,7 @@
#include <Xm/Text.h>
#include <Dt/Help.h>
#include <DtI/HelpP.h>
#include <Dt/HelpP.h>
#include <Dt/HelpDialog.h>
#include <Dt/HelpQuickD.h>