dtfile: GENCPP, be consistent with SCRIPTFLAGS

This commit is contained in:
Jon Trulson 2019-10-30 20:52:34 -06:00
parent ae98872405
commit eb1ded1dc6
1 changed files with 6 additions and 6 deletions

View File

@ -44,15 +44,15 @@ dtfile_SOURCES = ChangeDir.c ChangeDirP.c Command.c Common.c \
ToolTalk.c Trash.c Utils.c fsDialog.c
# Mind the quoting here...
LOCAL_CPP_DEFINES = -DSHAPE -D_ILS_MACROS -DSUN_PERF \
-DCDE_INSTALLATION_TOP="${prefix}" \
-DCDE_CONFIGURATION_TOP="$(CDE_CONFIGURATION_TOP)" \
-DKORNSHELL="$(KSH)"
SCRIPTFLAGS = -DSHAPE -D_ILS_MACROS -DSUN_PERF \
-DCDE_INSTALLATION_TOP="${prefix}" \
-DCDE_CONFIGURATION_TOP="$(CDE_CONFIGURATION_TOP)" \
-DKORNSHELL="$(KSH)"
dtfile.config: dtfile.config.cpp
$(RM) $@
$(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
$(GENCPP) -P -DXCOMM=# $(SCRIPTFLAGS) $< > $@
dtfile_error: dtfile_error.cpp
$(RM) $@
$(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
$(GENCPP) -P -DXCOMM=# $(SCRIPTFLAGS) $< > $@