From ffa8c98d327df55e82da5496a5bd1b773a925a19 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 2 Jun 2021 13:01:05 -0600 Subject: [PATCH] dtsr: fixup for autotools and new MsgCat.c --- cde/programs/dtsr/Makefile.am | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/cde/programs/dtsr/Makefile.am b/cde/programs/dtsr/Makefile.am index d4a424b58..657f7387e 100644 --- a/cde/programs/dtsr/Makefile.am +++ b/cde/programs/dtsr/Makefile.am @@ -4,7 +4,14 @@ bin_PROGRAMS = dtsrcreate dtsrdbrec dtsrhan dtsrload dtsrindex dtsrdelete \ huffcode dtsrkdump dtsrclean AM_CFLAGS = -I../../lib/DtSearch -I../../lib/DtSearch/raima \ - $(DT_INCDIR) -DMAIN_PROGRAM + $(DT_INCDIR) -DMAIN_PROGRAM -DNO_XLIB + +BUILT_SOURCES = MsgCat.c +CLEANFILES = MsgCat.c + +MsgCat.c: ${top_srcdir}/lib/DtSvc/DtUtil2/MsgCat.c + $(RM) MsgCat.c && ln -s ${top_srcdir}/lib/DtSvc/DtUtil2/MsgCat.c MsgCat.c + if I386 AM_CFLAGS += -DBYTE_SWAP @@ -20,20 +27,20 @@ endif LDADD = ../../lib/DtSearch/libDtSearch.la -dtsrcreate_SOURCES = dtsrcreate.c +dtsrcreate_SOURCES = dtsrcreate.c MsgCat.c -dtsrdbrec_SOURCES = dtsrdbrec.c +dtsrdbrec_SOURCES = dtsrdbrec.c MsgCat.c -dtsrhan_SOURCES = dtsrhan.c +dtsrhan_SOURCES = dtsrhan.c MsgCat.c -dtsrload_SOURCES = dtsrload.c +dtsrload_SOURCES = dtsrload.c MsgCat.c -dtsrclean_SOURCES = dtsrclean.c +dtsrclean_SOURCES = dtsrclean.c MsgCat.c -dtsrindex_SOURCES = dtsrindex.c +dtsrindex_SOURCES = dtsrindex.c MsgCat.c -dtsrdelete_SOURCES = tomita.c +dtsrdelete_SOURCES = tomita.c MsgCat.c -huffcode_SOURCES = huffcode.c +huffcode_SOURCES = huffcode.c MsgCat.c -dtsrkdump_SOURCES = dtsrkdump.c +dtsrkdump_SOURCES = dtsrkdump.c MsgCat.c