programs/dtdocbook: add automake files
authorChase <nicetrynsa@protonmail.ch>
Wed, 23 Oct 2019 03:10:10 +0000 (22:10 -0500)
committerJon Trulson <jon@radscan.com>
Wed, 23 Oct 2019 21:34:20 +0000 (15:34 -0600)
cde/programs/dtdocbook/Makefile.am [new file with mode: 0644]
cde/programs/dtdocbook/doc2sdl/Makefile.am [new file with mode: 0644]
cde/programs/dtdocbook/doc2sdl/SGML/Makefile.am [new file with mode: 0644]
cde/programs/dtdocbook/instant/Makefile.am [new file with mode: 0644]
cde/programs/dtdocbook/lib/Makefile.am [new file with mode: 0644]
cde/programs/dtdocbook/lib/tptregexp/Makefile.am [new file with mode: 0644]
cde/programs/dtdocbook/xlate_locale/Makefile.am [new file with mode: 0644]

diff --git a/cde/programs/dtdocbook/Makefile.am b/cde/programs/dtdocbook/Makefile.am
new file mode 100644 (file)
index 0000000..249ac8e
--- /dev/null
@@ -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 (file)
index 0000000..07e7b50
--- /dev/null
@@ -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 (file)
index 0000000..057f496
--- /dev/null
@@ -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 (file)
index 0000000..932d03a
--- /dev/null
@@ -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 (file)
index 0000000..156ab94
--- /dev/null
@@ -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 (file)
index 0000000..2656593
--- /dev/null
@@ -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 (file)
index 0000000..6af4a63
--- /dev/null
@@ -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