1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtappintegrate: make it build

This commit is contained in:
Jon Trulson 2019-11-20 16:32:42 -07:00
parent e831b06896
commit a2c18db66b
3 changed files with 15 additions and 11 deletions

View file

@ -420,6 +420,8 @@ programs/dtsearchpath/libCliSrv/Makefile
programs/dtsearchpath/dtsp/Makefile
programs/dtsearchpath/dtappg/Makefile
programs/dtappintegrate/Makefile
])
AC_OUTPUT

View file

@ -1,13 +1,15 @@
MAINTAINERCLEANFILES = Makefile.in
bin_PROGRAMS = dtappintegrate
bin_SCRIPTS = dtappintegrate
BUILT_SOURCES = $(bin_SCRIPTS)
CLEANFILES = $(bin_SCRIPTS)
dtappintegrate_CPPFLAGS = -DKORNSHELL=$(KSH)
-DCDE_INSTALLATION_TOP=${prefix} \
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
LOCAL_CPP_DEFINES = -DKORNSHELL=$(KSH) \
-DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP)
all: dtappintegrate
dtappintegrate: dtappintegrate.src
$(RM) $@
$(GENCPP) -P -DXCOMM=# -DSTAR='*' $(LOCAL_CPP_DEFINES) $< > $@
chmod 755 $@
CPPSRC = dtappintegrate.src
CPPTARGET = dtappintegrate
include $(srcdir)/include/cppfile.src

View file

@ -1,6 +1,5 @@
XCOMM!KORNSHELL
XCOMM $XConsortium: dtappintegrate.src /main/4 1996/04/21 19:27:37 drk $
#define COMMENT_STAR *
XCOMM ###################################################################
XCOMM #
XCOMM dtappintegrate #
@ -153,9 +152,9 @@ function LinkCfgs
do
if [[ $pattern = "(*)" ]]
then
files=$(ls -d "$source"/COMMENT_STAR 2>/dev/null)
files=$(ls -d "$source/"STAR 2>/dev/null)
else
files=$(ls -d "$source"/"$pattern" 2>/dev/null)
files=$(ls -d "$source/$pattern" 2>/dev/null)
fi
if $files
then
@ -480,4 +479,5 @@ fi
XCOMM -------------------------------------------------------------------
XCOMM Exit
XCOMM -------------------------------------------------------------------
ExitOut 0