1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +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/dtsp/Makefile
programs/dtsearchpath/dtappg/Makefile programs/dtsearchpath/dtappg/Makefile
programs/dtappintegrate/Makefile
]) ])
AC_OUTPUT AC_OUTPUT

View file

@ -1,13 +1,15 @@
MAINTAINERCLEANFILES = Makefile.in MAINTAINERCLEANFILES = Makefile.in
bin_PROGRAMS = dtappintegrate bin_SCRIPTS = dtappintegrate
BUILT_SOURCES = $(bin_SCRIPTS)
CLEANFILES = $(bin_SCRIPTS)
dtappintegrate_CPPFLAGS = -DKORNSHELL=$(KSH) LOCAL_CPP_DEFINES = -DKORNSHELL=$(KSH) \
-DCDE_INSTALLATION_TOP=${prefix} \ -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_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!KORNSHELL
XCOMM $XConsortium: dtappintegrate.src /main/4 1996/04/21 19:27:37 drk $ XCOMM $XConsortium: dtappintegrate.src /main/4 1996/04/21 19:27:37 drk $
#define COMMENT_STAR *
XCOMM ################################################################### XCOMM ###################################################################
XCOMM # XCOMM #
XCOMM dtappintegrate # XCOMM dtappintegrate #
@ -153,9 +152,9 @@ function LinkCfgs
do do
if [[ $pattern = "(*)" ]] if [[ $pattern = "(*)" ]]
then then
files=$(ls -d "$source"/COMMENT_STAR 2>/dev/null) files=$(ls -d "$source/"STAR 2>/dev/null)
else else
files=$(ls -d "$source"/"$pattern" 2>/dev/null) files=$(ls -d "$source/$pattern" 2>/dev/null)
fi fi
if $files if $files
then then
@ -480,4 +479,5 @@ fi
XCOMM ------------------------------------------------------------------- XCOMM -------------------------------------------------------------------
XCOMM Exit XCOMM Exit
XCOMM ------------------------------------------------------------------- XCOMM -------------------------------------------------------------------
ExitOut 0 ExitOut 0