Mercurial > octave
diff libgui/src/module.mk @ 31642:670f3f17c280 stable
use sed to preprocess OCTAVE_(BEGIN|END)_NAMESPACE macros for Qt moc
* libgui/module.mk (moc-h-command): New macro.
(moc-%.h : %.h): New rule.
(moc-%.cc): Depend on moc-%.h instead of %.h.
* libgui/graphics/module.mk (libgraphics_MOC_H): New variable.
Add it to the $(libgui_CLEANFILES) list.
* libgui/qterminal/module.mk (%canon_reldir%_libqterminal_la_MOC_H):
New variable. Add it to the $(libgui_CLEANFILES) list.
* libgui/src/module.mk (octave_gui_MOC_H):
New variable. Add it to the $(libgui_CLEANFILES) list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 06 Dec 2022 14:19:16 -0500 |
parents | a103cfd738c5 |
children | 1a1f47f17ed4 |
line wrap: on
line diff
--- a/libgui/src/module.mk Sat Dec 03 14:43:33 2022 -0500 +++ b/libgui/src/module.mk Tue Dec 06 14:19:16 2022 -0500 @@ -450,6 +450,8 @@ $(octave_gui_MOC) \ $(octave_gui_RC) +octave_gui_MOC_H = $(octave_gui_MOC:.cc=.h) + %canon_reldir%_%canon_reldir%_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ $(FT2_CPPFLAGS) \ @@ -481,5 +483,6 @@ libgui_CLEANFILES += \ $(octave_gui_MOC) \ + $(octave_gui_MOC_H) \ $(octave_gui_UI_H) \ $(octave_gui_RC)