dtfile: GENCPP, be consistent with SCRIPTFLAGS
authorJon Trulson <jon@radscan.com>
Thu, 31 Oct 2019 02:52:34 +0000 (20:52 -0600)
committerJon Trulson <jon@radscan.com>
Thu, 31 Oct 2019 02:52:34 +0000 (20:52 -0600)
cde/programs/dtfile/Makefile.am

index c956232dc3375220d8f7697c56537ad4539f1b43..30bd7a8b3df6476e816e9ae6eb5d1fabf7630463 100644 (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) $<  > $@