From 9c70437ee71a47c597787eb1fb75901a2e8157c8 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 20 Nov 2019 17:09:46 -0700 Subject: [PATCH] dtprintegrate: make it build --- cde/configure.ac | 2 ++ cde/programs/dtprintegrate/Makefile.am | 34 +++++++++++++++++--------- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/cde/configure.ac b/cde/configure.ac index b0316fe9..18a62189 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -422,6 +422,8 @@ programs/dtsearchpath/dtappg/Makefile programs/dtappintegrate/Makefile +programs/dtprintegrate/Makefile + ]) AC_OUTPUT diff --git a/cde/programs/dtprintegrate/Makefile.am b/cde/programs/dtprintegrate/Makefile.am index e8729a22..8ebbe5a2 100644 --- a/cde/programs/dtprintegrate/Makefile.am +++ b/cde/programs/dtprintegrate/Makefile.am @@ -1,15 +1,27 @@ -bin_PROGRAMS = dtprintegrate dtlp dtlpsetup +MAINTAINERCLEANFILES = Makefile.in -SCRIPTFLAGS = -DDTKORNSHELL=$(DTKORNSHELL) +bin_SCRIPTS = dtprintegrate dtlp dtlpsetup -CPPTARGET = dtprintegrate -CPPSRC = dtprintegrate.src -include $(srcdir)/include/cppfile.tmpl +LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \ + -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \ + -DDTKORNSHELL="$(CDE_INSTALLATION_TOP)/bin/dtksh" \ + -DKORNSHELL=$(KSH) -CPPTARGET = dtlp -CPPSRC = dtlp.src -include $(srcdir)/include/cppfile.tmpl +BUILT_SOURCES = dtprintegrate dtlp dtlpsetup +CLEANFILES = $(BUILT_SOURCES) + +dtprintegrate: dtprintegrate.src + $(RM) $@ + $(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@ + chmod 755 $@ + +dtlp: dtlp.src + $(RM) $@ + $(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@ + chmod 755 $@ + +dtlpsetup: dtlpsetup.src + $(RM) $@ + $(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@ + chmod 755 $@ -CPPTARGET = dtlpsetup -CPPSRC = dtlpsetup.src -include $(srcdir)/include/cppfile.tmpl -- 2.25.1