mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtfile: still working on cpp issues, a better solution is needed
I think it's time to try tradcpp.
This commit is contained in:
parent
8b065d9110
commit
25e98da92e
1 changed files with 10 additions and 4 deletions
|
@ -43,10 +43,16 @@ dtfile_SOURCES = ChangeDir.c ChangeDirP.c Command.c Common.c \
|
|||
Prefs.c PrefsP.c SharedMsgs.c SharedProcs.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)"
|
||||
|
||||
dtfile.config: dtfile.config.cpp
|
||||
$(RM) dtfile.config
|
||||
$(CPP) -P -DXCOMM=# $(AM_CPPFLAGS) dtfile.config.cpp -o dtfile.config
|
||||
$(RM) $@
|
||||
$(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
|
||||
|
||||
dtfile_error: dtfile_error.cpp
|
||||
$(RM) dtfile_error
|
||||
$(CPP) -P -DXCOMM=# $(AM_CPPFLAGS) dtfile_error.cpp -o dtfile_error
|
||||
$(RM) $@
|
||||
$(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
|
||||
|
|
Loading…
Reference in a new issue