Also, move localized subdir to last in current list of programs/ SUBDIRS
programs/util/Makefile
programs/util/dttypes/Makefile
+programs/dtopen/Makefile
+
])
AC_OUTPUT
dtaction dtspcd dtscreen dtcm dtsearchpath \
dtappintegrate dtprintegrate dtconfig dtcreate dtprintinfo fontaliases \
dtdspmsg dtimsstart dtpdm dtsr dtpdmd types \
- localized tttypes util dtopen
+ tttypes util dtopen localized
# NOTYET = dthelp dtksh dtappbuilder dtdocbook dtinfo nsgmls ttsnoop
dist_bin_SCRIPTS = dtopen
-SCRIPTFLAGS = -DCDE_INSTALLATION_TOP=${prefix} \
- -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
+LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
+ -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
+ -DKORNSHELL=$(KSH)
+
+BUILT_SOURCES = dtopen
+CLEANFILES = $(BUILT_SOURCES)
+
+dtopen: dtopen.src
+ $(RM) $@
+ $(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
-CPPTARGET = dtopen
-CPPSRC = dtopen.src
-include $(srcdir)/include/cppfile.tmpl
-XCOMM!/bin/ksh
+XCOMM!KORNSHELL
XCOMM
XCOMM dtopen - provide an interface for some useful applications.
XCOMM