From: Chase Date: Wed, 23 Oct 2019 03:10:10 +0000 (-0500) Subject: programs/dtdocbook: add automake files X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2d136b706243c6bd644f6a690e65982a4f04c254;p=oweals%2Fcde.git programs/dtdocbook: add automake files --- diff --git a/cde/programs/dtdocbook/Makefile.am b/cde/programs/dtdocbook/Makefile.am new file mode 100644 index 00000000..249ac8eb --- /dev/null +++ b/cde/programs/dtdocbook/Makefile.am @@ -0,0 +1,3 @@ +MAINTAINERCLEANFILES = Makefile.in + +SUBDIRS = doc2sdl lib instant xlate_locale diff --git a/cde/programs/dtdocbook/doc2sdl/Makefile.am b/cde/programs/dtdocbook/doc2sdl/Makefile.am new file mode 100644 index 00000000..07e7b506 --- /dev/null +++ b/cde/programs/dtdocbook/doc2sdl/Makefile.am @@ -0,0 +1,3 @@ +MAINTAINERCLEANFILE = Makefile.in + +SUBDIRS = SGML diff --git a/cde/programs/dtdocbook/doc2sdl/SGML/Makefile.am b/cde/programs/dtdocbook/doc2sdl/SGML/Makefile.am new file mode 100644 index 00000000..057f4967 --- /dev/null +++ b/cde/programs/dtdocbook/doc2sdl/SGML/Makefile.am @@ -0,0 +1,5 @@ +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/instant/Makefile.am b/cde/programs/dtdocbook/instant/Makefile.am new file mode 100644 index 00000000..932d03a8 --- /dev/null +++ b/cde/programs/dtdocbook/instant/Makefile.am @@ -0,0 +1,34 @@ +MAINTAINERCLEANFILES = Makefile.in + +noinst_PROGRAMS = instant + +instant_CFLAGS = -I../lib/tptregexp -I$(SVCSRC)/DtUtil2 + +instant_LDADD = $(LIBSVC) $(LIBTT) $(XTOOLLIB) ${X_LIB} -L../lib/tptregexp \ + -ltptregexp -lm +if LINUX +instant_CFLAGS += -I/usr/include/tcl +instant_LDADD += -ltcl +endif + +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 SUN +instant_LDADD += -lsocket -lnsl -lgen +endif + +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/Makefile.am b/cde/programs/dtdocbook/lib/Makefile.am new file mode 100644 index 00000000..156ab94b --- /dev/null +++ b/cde/programs/dtdocbook/lib/Makefile.am @@ -0,0 +1,3 @@ +MAINTAINERCLEANFILES = Makefile.in + +SUBDIRS = tptregexp diff --git a/cde/programs/dtdocbook/lib/tptregexp/Makefile.am b/cde/programs/dtdocbook/lib/tptregexp/Makefile.am new file mode 100644 index 00000000..2656593a --- /dev/null +++ b/cde/programs/dtdocbook/lib/tptregexp/Makefile.am @@ -0,0 +1,5 @@ +MAINTAINERCLEANFILES = Makefile.in + +noinst_LIBRARIES = tptregexp.a + +tptregexp_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 new file mode 100644 index 00000000..6af4a639 --- /dev/null +++ b/cde/programs/dtdocbook/xlate_locale/Makefile.am @@ -0,0 +1,9 @@ +MAINTAINERCLEANFILES = Makefile.in + +noinst_PROGRAMS = xlate_locale + +xlate_locale_CFLAGS = -I$(SVCSRC)/DtUtil2 + +xlate_locale_LDADD = $(LIBTT) $(LIBSVC) $(XTOOLLIB) ${X_LIBS} + +xlate_locale_SOURCES = xlate_locale.c