Mercurial > octave
view libgui/module.mk @ 31648:29d734430e5f stable
maint: Re-indent code after switch to using namespace macros.
* BaseControl.cc, BaseControl.h, ButtonControl.cc, ButtonControl.h,
ButtonGroup.cc, ButtonGroup.h, Canvas.cc, Canvas.h,
CheckBoxControl.cc, CheckBoxControl.h, Container.cc, Container.h,
ContextMenu.cc, ContextMenu.h, EditControl.cc, EditControl.h,
Figure.cc, Figure.h, FigureWindow.cc, FigureWindow.h, GLCanvas.cc,
GLCanvas.h, GenericEventNotify.h, KeyMap.cc, KeyMap.h,
ListBoxControl.cc, ListBoxControl.h, Logger.cc, Logger.h, Menu.cc,
Menu.h, MenuContainer.h, Object.cc, Object.h, ObjectProxy.cc,
ObjectProxy.h, Panel.cc, Panel.h, PopupMenuControl.cc,
PopupMenuControl.h, PushButtonControl.cc, PushButtonControl.h,
PushTool.cc, PushTool.h, QtHandlesUtils.cc, QtHandlesUtils.h,
RadioButtonControl.cc, RadioButtonControl.h, SliderControl.cc,
SliderControl.h, Table.cc, Table.h, TextControl.cc, TextControl.h,
TextEdit.cc, TextEdit.h, ToggleButtonControl.cc,
ToggleButtonControl.h, ToggleTool.cc, ToggleTool.h, ToolBar.cc,
ToolBar.h, ToolBarButton.cc, ToolBarButton.h, annotation-dialog.cc,
annotation-dialog.h, gl-select.cc, gl-select.h, qopengl-functions.h,
qt-graphics-toolkit.cc, qt-graphics-toolkit.h, module.mk, QTerminal.h,
color-picker.cc, color-picker.h, command-widget.cc, command-widget.h,
community-news.cc, community-news.h, dialog.cc, dialog.h,
documentation-bookmarks.cc, documentation-bookmarks.h,
documentation-dock-widget.cc, documentation-dock-widget.h,
documentation.cc, documentation.h, dw-main-window.cc,
dw-main-window.h, external-editor-interface.cc,
external-editor-interface.h, files-dock-widget.cc,
files-dock-widget.h, find-files-dialog.cc, find-files-dialog.h,
find-files-model.cc, find-files-model.h, graphics-init.cc,
graphics-init.h, gui-settings.cc, gui-settings.h, gui-utils.cc,
gui-utils.h, history-dock-widget.cc, history-dock-widget.h,
interpreter-qobject.cc, interpreter-qobject.h, led-indicator.cc,
led-indicator.h, file-editor-interface.h, file-editor-tab.cc,
file-editor-tab.h, file-editor.cc, file-editor.h, find-dialog.cc,
find-dialog.h, marker.cc, marker.h, octave-qscintilla.cc,
octave-qscintilla.h, octave-txt-lexer.cc, octave-txt-lexer.h,
main-window.cc, main-window.h, news-reader.cc, news-reader.h,
octave-dock-widget.cc, octave-dock-widget.h, octave-qobject.cc,
octave-qobject.h, qt-application.cc, qt-application.h,
qt-interpreter-events.cc, qt-interpreter-events.h, qt-utils.h,
release-notes.cc, release-notes.h, resource-manager.cc,
resource-manager.h, set-path-dialog.cc, set-path-dialog.h,
set-path-model.cc, set-path-model.h, settings-dialog.cc,
settings-dialog.h, shortcut-manager.cc, shortcut-manager.h,
tab-bar.cc, tab-bar.h, terminal-dock-widget.cc,
terminal-dock-widget.h, variable-editor-model.cc,
variable-editor-model.h, variable-editor.cc, variable-editor.h,
welcome-wizard.cc, welcome-wizard.h, workspace-model.cc,
workspace-model.h, workspace-view.cc, workspace-view.h:
Re-indent code after switch to using namespace macros.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 06 Dec 2022 14:53:00 -0500 |
parents | 670f3f17c280 |
children | c0df18c13a77 |
line wrap: on
line source
if AMCOND_BUILD_QT_GUI %canon_reldir%_EXTRA_DIST = %canon_reldir%_CLEANFILES = %canon_reldir%_DISTCLEANFILES = %canon_reldir%_MAINTAINERCLEANFILES = MOC_CPPFLAGS = ## Fix for bug #42839 where -mieee CFLAG option is added to CPPFLAGS by gnulib. ## Users may also pass other options in CPPFLAGS that moc does not understand. ## Only keep moc-compatible options -Idir, -Dmacro, and -Umacro. MOC_OCTAVE_CPPFLAGS = $(filter -I% -D% -U%, $(AM_CPPFLAGS) $(CPPFLAGS)) octlib_LTLIBRARIES += %reldir%/liboctgui.la TRANSLATIONS = \ %reldir%/languages/be_BY.ts \ %reldir%/languages/ca_ES.ts \ %reldir%/languages/de_DE.ts \ %reldir%/languages/en_US.ts \ %reldir%/languages/es_ES.ts \ %reldir%/languages/eu_ES.ts \ %reldir%/languages/fr_FR.ts \ %reldir%/languages/hu_HU.ts \ %reldir%/languages/it_IT.ts \ %reldir%/languages/ja_JP.ts \ %reldir%/languages/lt_LT.ts \ %reldir%/languages/nl_NL.ts \ %reldir%/languages/pt_BR.ts \ %reldir%/languages/pt_PT.ts \ %reldir%/languages/ru_RU.ts \ %reldir%/languages/tr_TR.ts \ %reldir%/languages/uk_UA.ts \ %reldir%/languages/zh_CN.ts LOCALES = $(patsubst %reldir%/languages/%.ts, %reldir%/languages/%.qm, $(TRANSLATIONS)) noinst_HEADERS += \ %reldir%/liboctgui-build-info.h include %reldir%/src/module.mk include %reldir%/graphics/module.mk include %reldir%/qterminal/module.mk nodist_%canon_reldir%_liboctgui_la_SOURCES = \ %reldir%/liboctgui-build-info.cc %canon_reldir%_liboctgui_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ @OCTGUI_DLL_DEFS@ \ -Ilibgui \ -I$(srcdir)/libgui %canon_reldir%_liboctgui_la_LIBADD = \ %reldir%/qterminal/libqterminal.la \ %reldir%/graphics/libgraphics.la \ %reldir%/src/libgui-src.la \ libinterp/liboctinterp.la \ liboctave/liboctave.la \ $(LIBOCTGUI_LINK_DEPS) ## Increment the following version numbers as needed and according ## to the rules in the etc/HACKING.md file: %canon_reldir%_liboctgui_current = 8 %canon_reldir%_liboctgui_revision = 0 %canon_reldir%_liboctgui_age = 0 %canon_reldir%_liboctgui_version_info = $(%canon_reldir%_liboctgui_current):$(%canon_reldir%_liboctgui_revision):$(%canon_reldir%_liboctgui_age) %canon_reldir%_liboctgui_la_LDFLAGS = \ -version-info $(%canon_reldir%_liboctgui_version_info) \ $(NO_UNDEFINED_LDFLAG) \ -bindir $(bindir) \ $(LIBOCTGUI_LINK_OPTS) \ $(WARN_LDFLAGS) octlocale_DATA += $(LOCALES) DIRSTAMP_FILES += \ %reldir%/$(octave_dirstamp) define moc-command rm -f $@-t $@ && \ ( echo "#if defined (HAVE_CONFIG_H)"; \ echo '# include "config.h"'; \ echo "#endif"; \ $(MOC) $(MOCFLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MOC_OCTAVE_CPPFLAGS) $(MOC_CPPFLAGS) $(%canon_reldir%_liboctgui_la_CPPFLAGS) $< ) > $@-t && \ mv $@-t $@ endef define moc-h-command $(SED) -e 's/OCTAVE_BEGIN_NAMESPACE *(\([^)]*\))/namespace \1 {/' \ -e 's/OCTAVE_END_NAMESPACE *([^)]*)/}/' $< > $@ endef define rcc-command rm -f $@-t $@ && \ ( echo "#if defined (HAVE_CONFIG_H)"; \ echo '# include "config.h"'; \ echo "#endif"; \ echo "// Ignore unused variable warnings in generated code."; \ echo "#if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)"; \ echo "#pragma GCC diagnostic ignored \"-Wunused-variable\""; \ echo "#endif"; \ QT_HASH_SEED=0 $(RCC) $(RCCFLAGS) -name $(@D) $< ) > $@-t && \ mv $@-t $@ endef .PRECIOUS: moc-%.h moc-%.h: %.h $(AM_V_GEN)$(moc-h-command) moc-%.cc: moc-%.h $(AM_V_GEN)$(moc-command) ui-%.h: %.ui $(AM_V_GEN)$(UIC) $(UICFLAGS) -o $@ $< qrc-%.cc: %.qrc $(AM_V_GEN)$(rcc-command) AM_V_lrelease = $(am__v_lrelease_$(V)) am__v_lrelease_ = $(am__v_lrelease_$(AM_DEFAULT_VERBOSITY)) am__v_lrelease_0 = -silent am__v_lrelease_1 = %.qm: %.ts | %reldir%/languages/$(octave_dirstamp) $(AM_V_GEN)$(LRELEASE) $(LRELEASEFLAGS) $(AM_V_lrelease) -qm $@ $< DIRSTAMP_FILES += \ %reldir%/languages/$(octave_dirstamp) %canon_reldir%_EXTRA_DIST += \ $(TRANSLATIONS) \ %reldir%/liboctgui-build-info.in.cc EXTRA_DIST += $(%canon_reldir%_EXTRA_DIST) %canon_reldir%_CLEANFILES += \ $(LOCALES) \ %reldir%/liboctgui-build-info.cc CLEANFILES += $(%canon_reldir%_CLEANFILES) DISTCLEANFILES += $(%canon_reldir%_DISTCLEANFILES) MAINTAINERCLEANFILES += $(%canon_reldir%_MAINTAINERCLEANFILES) libgui-clean: rm -f $(%canon_reldir%_CLEANFILES) libgui-distclean: libgui-clean rm -f $(%canon_reldir%_DISTCLEANFILES) libgui-maintainer-clean: libgui-distclean rm -f $(%canon_reldir%_MAINTAINERCLEANFILES) %reldir%/liboctgui-build-info.cc: %reldir%/liboctgui-build-info.in.cc HG-ID | %reldir%/$(octave_dirstamp) $(AM_V_GEN)$(build-info-commands) endif