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:
@@ -1,3 +1,5 @@
|
|||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
SUBDIRS = parser dthelpview dthelpdemo dthelpgen dthelpprint
|
SUBDIRS = dthelpview dthelpgen dthelpdemo
|
||||||
|
|
||||||
|
#NOTYET = parser dthelpprint
|
||||||
|
|||||||
10
cde/programs/dthelp/dthelpdemo/Makefile.am
Normal file
10
cde/programs/dthelp/dthelpdemo/Makefile.am
Normal 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
|
||||||
@@ -4,9 +4,10 @@ bin_PROGRAMS = dthelpgen
|
|||||||
|
|
||||||
bin_SCRIPTS = dthelpgen.dtsh
|
bin_SCRIPTS = dthelpgen.dtsh
|
||||||
|
|
||||||
dthelpgen_CPPFLAGS = -I.. -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
|
dthelpgen_CPPFLAGS = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
|
||||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_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
|
dthelpgen_SOURCES = helpgen.c
|
||||||
|
|||||||
@@ -41,13 +41,13 @@
|
|||||||
#include <Dt/Help.h>
|
#include <Dt/Help.h>
|
||||||
#include <Dt/EnvControlP.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 "GenUtilsP.h" /* in DtHelp library */
|
||||||
#include "ObsoleteP.h" /* in DtHelp library */
|
#include "ObsoleteP.h" /* in DtHelp library */
|
||||||
#include "bufioI.h" /* for AccessI.h */
|
#include "DtI/bufioI.h" /* for AccessI.h */
|
||||||
#include "Access.h" /* in DtHelp library */
|
#include "DtI/Access.h" /* in DtHelp library */
|
||||||
#include "AccessP.h" /* in DtHelp library */
|
#include "DtI/AccessP.h" /* in DtHelp library */
|
||||||
#include "AccessI.h" /* in DtHelp library */
|
#include "DtI/AccessI.h" /* in DtHelp library */
|
||||||
#include "AccessCCDFI.h" /* in DtHelp library */
|
#include "AccessCCDFI.h" /* in DtHelp library */
|
||||||
#include "StringFuncsI.h" /* in DtHelp library */
|
#include "StringFuncsI.h" /* in DtHelp library */
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
/* Local Includes */
|
/* Local Includes */
|
||||||
|
|
||||||
#include <DtI/HelposI.h>
|
#include <DtI/HelposI.h>
|
||||||
#include <DtI/HelpP.h>
|
#include <Dt/HelpP.h>
|
||||||
#include <DtI/FileUtilsI.h>
|
#include <DtI/FileUtilsI.h>
|
||||||
#include "Main.h"
|
#include "Main.h"
|
||||||
#include "UtilI.h"
|
#include "UtilI.h"
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ bin_PROGRAMS = dthelpview
|
|||||||
|
|
||||||
dthelpview_CFLAGS = -D_BMS
|
dthelpview_CFLAGS = -D_BMS
|
||||||
|
|
||||||
dthelpview_LDADD = $(LIBHELP) $(LIBSVC) $(LIBTT) $(XTOOLLIB) ${X_LIBS}
|
dthelpview_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
|
||||||
|
|
||||||
dthelpview_SOURCES = Main.c ManPage.c Util.c
|
dthelpview_SOURCES = Main.c ManPage.c Util.c
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
#include <Xm/Text.h>
|
#include <Xm/Text.h>
|
||||||
|
|
||||||
#include <Dt/Help.h>
|
#include <Dt/Help.h>
|
||||||
#include <DtI/HelpP.h>
|
#include <Dt/HelpP.h>
|
||||||
#include <Dt/HelpDialog.h>
|
#include <Dt/HelpDialog.h>
|
||||||
#include <Dt/HelpQuickD.h>
|
#include <Dt/HelpQuickD.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user