diff --git a/cde/configure.ac b/cde/configure.ac index 171c70b1f..2b0ad349f 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -629,6 +629,12 @@ programs/util/dttypes/Makefile programs/dtopen/Makefile +programs/dtdocbook/Makefile +programs/dtdocbook/lib/Makefile +programs/dtdocbook/lib/tptregexp/Makefile +programs/dtdocbook/instant/Makefile +programs/dtdocbook/xlate_locale/Makefile + programs/localized/Makefile programs/localized/util/Makefile programs/localized/C/Makefile diff --git a/cde/m4/tcl.m4 b/cde/m4/tcl.m4 index e87d49830..55538c5a5 100644 --- a/cde/m4/tcl.m4 +++ b/cde/m4/tcl.m4 @@ -333,6 +333,8 @@ AC_DEFUN([SC_LOAD_TCLCONFIG], [ eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\"" eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\"" + eval "TCL_INCLUDE_SPEC=\"${TCL_INCLUDE_SPEC}\"" + AC_SUBST(TCL_VERSION) AC_SUBST(TCL_PATCH_LEVEL) AC_SUBST(TCL_BIN_DIR) @@ -341,6 +343,7 @@ AC_DEFUN([SC_LOAD_TCLCONFIG], [ AC_SUBST(TCL_LIB_FILE) AC_SUBST(TCL_LIB_FLAG) AC_SUBST(TCL_LIB_SPEC) + AC_SUBST(TCL_INCLUDE_SPEC) AC_SUBST(TCL_STUB_LIB_FILE) AC_SUBST(TCL_STUB_LIB_FLAG) diff --git a/cde/programs/Makefile.am b/cde/programs/Makefile.am index dedd1ebbd..74ead60c8 100644 --- a/cde/programs/Makefile.am +++ b/cde/programs/Makefile.am @@ -5,6 +5,6 @@ SUBDIRS = backdrops icons dsdm dtmail dtpad dtfile dtwm dtlogin \ dtaction dtspcd dtscreen dtcm dtsearchpath dtappbuilder palettes \ dtappintegrate dtprintegrate dtconfig dtcreate dtprintinfo fontaliases \ dtdspmsg dtimsstart dtpdm dtsr dtpdmd types \ - tttypes util dtopen localized dthelp nsgmls + tttypes util dtopen localized dthelp nsgmls dtdocbook -# NOTYET = dtksh dtdocbook dtinfo ttsnoop +# NOTYET = dtksh dtinfo ttsnoop diff --git a/cde/programs/dtdocbook/Makefile.am b/cde/programs/dtdocbook/Makefile.am index 249ac8eba..1a80dee71 100644 --- a/cde/programs/dtdocbook/Makefile.am +++ b/cde/programs/dtdocbook/Makefile.am @@ -1,3 +1,3 @@ MAINTAINERCLEANFILES = Makefile.in -SUBDIRS = doc2sdl lib instant xlate_locale +SUBDIRS = lib instant xlate_locale diff --git a/cde/programs/dtdocbook/doc2sdl/Makefile.am b/cde/programs/dtdocbook/doc2sdl/Makefile.am deleted file mode 100644 index 07e7b5062..000000000 --- a/cde/programs/dtdocbook/doc2sdl/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -MAINTAINERCLEANFILE = Makefile.in - -SUBDIRS = SGML diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/Imakefile b/cde/programs/dtdocbook/doc2sdl/SGML/Imakefile deleted file mode 100644 index 2d4000cf5..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/Imakefile +++ /dev/null @@ -1,35 +0,0 @@ -XCOMM $XConsortium: Imakefile /main/6 1996/09/23 09:29:42 rws $ - -LinkSourceFile(dtinfo.af,$(CDESRC)/dtinfo/dtinfogen/infolib/C.ISO-8859-1/SGML) -LinkSourceFile(docbook.dtd,$(CDESRC)/dtinfo/dtinfogen/infolib/C.ISO-8859-1/SGML) - -#if !UseNSGMLS -XCOMM symlinks used by dtdocbook when run from the build tree -XCOMM really ugly but will do the trick until nsgmls is used... - -includes:: clean - $(LN) dtinfo.af "-%%Common_Desktop_Environment%%ENTITIES_DtInfo_Architectural_Forms%%EN" - $(LN) docbook.dtd "-%%HaL_and_O'Reilly%%DTD_DocBook%%EN" - $(LN) iso-lat1.gml "ISO_8879-1986%%ENTITIES_Added_Latin_1%%EN" - $(LN) iso-lat2.gml "ISO_8879-1986%%ENTITIES_Added_Latin_2%%EN" - $(LN) iso-box.gml "ISO_8879-1986%%ENTITIES_Box_and_Line_Drawing%%EN" - $(LN) iso-dia.gml "ISO_8879-1986%%ENTITIES_Diacritical_Marks%%EN" - $(LN) iso-tech.gml "ISO_8879-1986%%ENTITIES_General_Technical%%EN" - $(LN) iso-grk1.gml "ISO_8879-1986%%ENTITIES_Greek_Letters%%EN" - $(LN) iso-grk3.gml "ISO_8879-1986%%ENTITIES_Greek_Symbols%%EN" - $(LN) iso-num.gml "ISO_8879-1986%%ENTITIES_Numeric_and_Special_Graphic%%EN" - $(LN) iso-pub.gml "ISO_8879-1986%%ENTITIES_Publishing%%EN" - -clean:: - $(RM) -- "-%%Common_Desktop_Environment%%ENTITIES_DtInfo_Architectural_Forms%%EN" - $(RM) -- "-%%HaL_and_O'Reilly%%DTD_DocBook%%EN" - $(RM) "ISO_8879-1986%%ENTITIES_Added_Latin_1%%EN" - $(RM) "ISO_8879-1986%%ENTITIES_Added_Latin_2%%EN" - $(RM) "ISO_8879-1986%%ENTITIES_Box_and_Line_Drawing%%EN" - $(RM) "ISO_8879-1986%%ENTITIES_Diacritical_Marks%%EN" - $(RM) "ISO_8879-1986%%ENTITIES_General_Technical%%EN" - $(RM) "ISO_8879-1986%%ENTITIES_Greek_Letters%%EN" - $(RM) "ISO_8879-1986%%ENTITIES_Greek_Symbols%%EN" - $(RM) "ISO_8879-1986%%ENTITIES_Numeric_and_Special_Graphic%%EN" - $(RM) "ISO_8879-1986%%ENTITIES_Publishing%%EN" -#endif /* !UseNSGMLS */ diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/Makefile.am b/cde/programs/dtdocbook/doc2sdl/SGML/Makefile.am deleted file mode 100644 index 057f4967c..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -MAINTAINERCLEANFILES = Makefile.in - -all:: - $(LN_S) dtinfo.af $(srcdir)/programs/dtinfo/dtinfogen/infolib/C.ISO-8859-1/SGML - $(LN_S) docbook.dtd $(srcdir)/programs/dtinfo/dtinfogen/infolib/C.ISO-8859-1/SGML diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/catalog b/cde/programs/dtdocbook/doc2sdl/SGML/catalog deleted file mode 100644 index fe295a2fd..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/catalog +++ /dev/null @@ -1,15 +0,0 @@ -SGMLDECL ../docbook.sgml - -PUBLIC "-//HaL and O'Reilly//DTD DocBook//EN" ./docbook.dtd - -PUBLIC "-//Common Desktop Environment//ENTITIES DtInfo Architectural Forms//EN" - ./dtinfo.af - -PUBLIC "ISO 8879-1986//ENTITIES Numeric and Special Graphic//EN" ./iso-num.gml -PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN" ./iso-lat1.gml -PUBLIC "ISO 8879-1986//ENTITIES Added Latin 2//EN" ./iso-lat2.gml -PUBLIC "ISO 8879-1986//ENTITIES Box and Line Drawing//EN" ./iso-box.gml -PUBLIC "ISO 8879-1986//ENTITIES Diacritical Marks//EN" ./iso-dia.gml -PUBLIC "ISO 8879-1986//ENTITIES General Technical//EN" ./iso-tech.gml -PUBLIC "ISO 8879-1986//ENTITIES Greek Symbols//EN" ./iso-grk3.gml -PUBLIC "ISO 8879-1986//ENTITIES Publishing//EN" ./iso-pub.gml diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/iso-box.gml b/cde/programs/dtdocbook/doc2sdl/SGML/iso-box.gml deleted file mode 100644 index 36d9db0c9..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/iso-box.gml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/iso-dia.gml b/cde/programs/dtdocbook/doc2sdl/SGML/iso-dia.gml deleted file mode 100644 index 043c12bf9..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/iso-dia.gml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/iso-grk1.gml b/cde/programs/dtdocbook/doc2sdl/SGML/iso-grk1.gml deleted file mode 100644 index 40f42a51f..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/iso-grk1.gml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/iso-grk3.gml b/cde/programs/dtdocbook/doc2sdl/SGML/iso-grk3.gml deleted file mode 100644 index 10fbc2253..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/iso-grk3.gml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/iso-lat1.gml b/cde/programs/dtdocbook/doc2sdl/SGML/iso-lat1.gml deleted file mode 100644 index ba2df0bc6..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/iso-lat1.gml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/iso-lat2.gml b/cde/programs/dtdocbook/doc2sdl/SGML/iso-lat2.gml deleted file mode 100644 index cdd199773..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/iso-lat2.gml +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/iso-num.gml b/cde/programs/dtdocbook/doc2sdl/SGML/iso-num.gml deleted file mode 100644 index a6b89ba03..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/iso-num.gml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/iso-pub.gml b/cde/programs/dtdocbook/doc2sdl/SGML/iso-pub.gml deleted file mode 100644 index fe46cd62d..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/iso-pub.gml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/iso-tech.gml b/cde/programs/dtdocbook/doc2sdl/SGML/iso-tech.gml deleted file mode 100644 index 159f2ffdc..000000000 --- a/cde/programs/dtdocbook/doc2sdl/SGML/iso-tech.gml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cde/programs/dtdocbook/instant/Makefile.am b/cde/programs/dtdocbook/instant/Makefile.am index 40417d41c..5dfe33cee 100644 --- a/cde/programs/dtdocbook/instant/Makefile.am +++ b/cde/programs/dtdocbook/instant/Makefile.am @@ -2,33 +2,13 @@ MAINTAINERCLEANFILES = Makefile.in noinst_PROGRAMS = instant -instant_CFLAGS = -I../lib/tptregexp -I$(SVCSRC)/DtUtil2 +instant_CFLAGS = -I../lib/tptregexp $(DT_INCDIR) -instant_LDADD = $(LIBSVC) $(LIBTT) $(XTOOLLIB) ${X_LIB} -L../lib/tptregexp \ - -ltptregexp -lm -if LINUX -instant_CFLAGS += -I/usr/include/tcl -instant_LDADD += -ltcl -endif +instant_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB) -L../lib/tptregexp \ + -ltptregexp -if FREEBSD -instant_CFLAGS += -I/usr/local/include/tcl8.6 -instant_LDADD += -ltcl86 -endif - -if OPENBSD -instant_CFLAGS += -I/usr/local/include/tcl8.6 -instant_LDADD += -ltcl86 -endif - -if NETBSD -instant_CFLAGS += -I/usr/pkg/include/tcl -instant_LDADD += -ltcl86 -endif - -if SOLARIS -instant_LDADD += -lsocket -lnsl -lgen -endif +instant_CFLAGS += @TCL_INCLUDE_SPEC@ +instant_LDADD += @TCL_LIB_SPEC@ instant_SOURCES = main.c util.c info.c translate.c traninit.c tranvar.c \ tables.c browse.c diff --git a/cde/programs/dtdocbook/lib/tptregexp/Makefile.am b/cde/programs/dtdocbook/lib/tptregexp/Makefile.am index 2656593a9..130bf8b5c 100644 --- a/cde/programs/dtdocbook/lib/tptregexp/Makefile.am +++ b/cde/programs/dtdocbook/lib/tptregexp/Makefile.am @@ -1,5 +1,5 @@ MAINTAINERCLEANFILES = Makefile.in -noinst_LIBRARIES = tptregexp.a +noinst_LIBRARIES = libtptregexp.a -tptregexp_a_SOURCES = regexp.c regsub.c regerror.c +libtptregexp_a_SOURCES = regexp.c regsub.c regerror.c diff --git a/cde/programs/dtdocbook/xlate_locale/Makefile.am b/cde/programs/dtdocbook/xlate_locale/Makefile.am index 6af4a6398..5deaa9d9d 100644 --- a/cde/programs/dtdocbook/xlate_locale/Makefile.am +++ b/cde/programs/dtdocbook/xlate_locale/Makefile.am @@ -2,8 +2,8 @@ MAINTAINERCLEANFILES = Makefile.in noinst_PROGRAMS = xlate_locale -xlate_locale_CFLAGS = -I$(SVCSRC)/DtUtil2 +xlate_locale_CFLAGS = $(DT_INCDIR) -xlate_locale_LDADD = $(LIBTT) $(LIBSVC) $(XTOOLLIB) ${X_LIBS} +xlate_locale_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB) xlate_locale_SOURCES = xlate_locale.c