2001-04-11 05:33:09 +08:00
## Process this file with automake to produce Makefile.in
2018-02-05 01:49:22 +08:00
i f P L A T F O R M _ O S X
xobjective_c = "-xobjective-c"
2018-04-08 15:59:49 +08:00
xobjective_cxx = "-xobjective-c++"
xnone = "-xnone"
2018-02-05 01:49:22 +08:00
e n d i f
2002-06-08 07:00:46 +08:00
AM_CPPFLAGS = \
2008-02-08 00:50:11 +08:00
-DISO_CODES_LOCATION= \" $( ISO_CODES_LOCATION) \" \
-DISO_CODES_LOCALEDIR= \" $( ISO_CODES_LOCALEDIR) \" \
2013-06-06 02:48:37 +08:00
-DG_LOG_DOMAIN= \" Gimp-Widgets\" \
-I$( top_builddir) \
-I$( top_srcdir) \
-I$( top_builddir) /app \
-I$( top_srcdir) /app \
$( GEGL_CFLAGS) \
$( GTK_CFLAGS) \
2018-04-08 04:39:13 +08:00
-I$( includedir)
AM_CFLAGS = \
2018-02-05 01:49:22 +08:00
$( xobjective_c)
2002-03-13 22:51:48 +08:00
2018-04-08 15:59:49 +08:00
AM_CXXFLAGS = \
$( xobjective_cxx)
AM_LDFLAGS = \
$( xnone)
2001-06-06 00:14:47 +08:00
noinst_LIBRARIES = libappwidgets.a
2001-04-11 05:33:09 +08:00
2002-06-08 07:00:46 +08:00
libappwidgets_a_sources = \
2002-03-13 22:51:48 +08:00
widgets-enums.h \
2001-05-26 00:04:54 +08:00
widgets-types.h \
2004-05-20 04:56:37 +08:00
gimpaction.c \
gimpaction.h \
2014-02-19 03:10:24 +08:00
gimpaction-history.c \
gimpaction-history.h \
2008-09-05 18:37:06 +08:00
gimpactioneditor.c \
gimpactioneditor.h \
2004-04-21 07:04:50 +08:00
gimpactionfactory.c \
gimpactionfactory.h \
2004-04-16 20:09:46 +08:00
gimpactiongroup.c \
gimpactiongroup.h \
2004-07-21 02:50:20 +08:00
gimpactionview.c \
gimpactionview.h \
2004-08-05 02:15:41 +08:00
gimpblobeditor.c \
gimpblobeditor.h \
2002-03-08 08:27:45 +08:00
gimpbrusheditor.c \
gimpbrusheditor.h \
2001-06-30 03:25:03 +08:00
gimpbrushfactoryview.c \
gimpbrushfactoryview.h \
2004-07-10 03:14:59 +08:00
gimpbrushselect.c \
gimpbrushselect.h \
2015-11-30 00:16:23 +08:00
gimpbuffersourcebox.c \
gimpbuffersourcebox.h \
2001-06-26 20:09:43 +08:00
gimpbufferview.c \
gimpbufferview.h \
2008-03-26 23:59:52 +08:00
gimpcairo-wilber.c \
gimpcairo-wilber.h \
2016-10-02 02:55:13 +08:00
gimpcellrendererbutton.c \
gimpcellrendererbutton.h \
2005-05-22 04:24:42 +08:00
gimpcellrendererdashes.c \
gimpcellrendererdashes.h \
2003-02-27 00:17:10 +08:00
gimpcellrendererviewable.c \
gimpcellrendererviewable.h \
2014-05-26 15:23:55 +08:00
gimpcircle.c \
gimpcircle.h \
2003-03-16 19:14:29 +08:00
gimpchanneltreeview.c \
gimpchanneltreeview.h \
2004-07-07 22:38:23 +08:00
gimpclipboard.c \
gimpclipboard.h \
2004-02-20 03:56:04 +08:00
gimpcolorbar.c \
gimpcolorbar.h \
2004-09-24 04:41:40 +08:00
gimpcolordialog.c \
gimpcolordialog.h \
2003-11-22 23:54:12 +08:00
gimpcolordisplayeditor.c \
gimpcolordisplayeditor.h \
2002-11-05 08:02:56 +08:00
gimpcoloreditor.c \
gimpcoloreditor.h \
2003-10-15 23:16:50 +08:00
gimpcolorframe.c \
gimpcolorframe.h \
2015-12-23 10:32:25 +08:00
gimpcolorhistory.c \
gimpcolorhistory.h \
2002-03-17 01:58:19 +08:00
gimpcolormapeditor.c \
gimpcolormapeditor.h \
2001-04-11 09:13:53 +08:00
gimpcolorpanel.c \
gimpcolorpanel.h \
2006-11-04 01:28:52 +08:00
gimpcolorselectorpalette.c \
gimpcolorselectorpalette.h \
2008-12-20 22:46:54 +08:00
gimpcombotagentry.c \
gimpcombotagentry.h \
2003-03-13 01:12:01 +08:00
gimpcomponenteditor.c \
gimpcomponenteditor.h \
2004-05-10 19:08:51 +08:00
gimpcontainerbox.c \
gimpcontainerbox.h \
2004-05-11 20:13:31 +08:00
gimpcontainercombobox.c \
gimpcontainercombobox.h \
2001-06-26 20:09:43 +08:00
gimpcontainereditor.c \
gimpcontainereditor.h \
2004-06-01 01:53:25 +08:00
gimpcontainerentry.c \
gimpcontainerentry.h \
2010-06-04 04:19:09 +08:00
gimpcontainericonview.c \
gimpcontainericonview.h \
2003-03-23 00:26:11 +08:00
gimpcontainerpopup.c \
gimpcontainerpopup.h \
2010-05-18 03:06:28 +08:00
gimpcontainertreestore.c \
gimpcontainertreestore.h \
2003-02-22 03:03:19 +08:00
gimpcontainertreeview.c \
gimpcontainertreeview.h \
2003-03-19 23:17:13 +08:00
gimpcontainertreeview-dnd.c \
gimpcontainertreeview-dnd.h \
2008-11-16 02:08:50 +08:00
gimpcontainertreeview-private.h \
2001-04-11 05:33:09 +08:00
gimpcontainerview.c \
2001-04-22 08:38:56 +08:00
gimpcontainerview.h \
2001-05-13 20:16:55 +08:00
gimpcontainerview-utils.c \
gimpcontainerview-utils.h \
2004-10-26 20:26:47 +08:00
gimpcontrollereditor.c \
gimpcontrollereditor.h \
2004-06-16 19:11:32 +08:00
gimpcontrollerinfo.c \
gimpcontrollerinfo.h \
2005-05-09 17:35:41 +08:00
gimpcontrollerlist.c \
gimpcontrollerlist.h \
2004-06-16 06:59:26 +08:00
gimpcontrollers.c \
gimpcontrollers.h \
2004-06-24 18:16:08 +08:00
gimpcontrollerkeyboard.c \
gimpcontrollerkeyboard.h \
2011-04-07 05:12:32 +08:00
gimpcontrollermouse.c \
gimpcontrollermouse.h \
2004-06-16 06:59:26 +08:00
gimpcontrollerwheel.c \
gimpcontrollerwheel.h \
2018-01-23 10:38:46 +08:00
gimpcriticaldialog.c \
gimpcriticaldialog.h \
2001-05-14 05:51:20 +08:00
gimpcursor.c \
gimpcursor.h \
2007-11-04 21:09:10 +08:00
gimpcurveview.c \
gimpcurveview.h \
2017-12-19 07:54:17 +08:00
gimpdashboard.c \
gimpdashboard.h \
2003-12-28 03:25:19 +08:00
gimpdasheditor.c \
2004-01-07 11:53:28 +08:00
gimpdasheditor.h \
2002-03-08 08:27:45 +08:00
gimpdataeditor.c \
gimpdataeditor.h \
2001-04-11 05:33:09 +08:00
gimpdatafactoryview.c \
2001-04-22 08:38:56 +08:00
gimpdatafactoryview.h \
2010-02-12 22:46:07 +08:00
gimpdeviceeditor.c \
gimpdeviceeditor.h \
2001-12-08 01:39:51 +08:00
gimpdeviceinfo.c \
gimpdeviceinfo.h \
2010-02-16 20:00:46 +08:00
gimpdeviceinfo-coords.c \
gimpdeviceinfo-coords.h \
2010-02-12 22:46:07 +08:00
gimpdeviceinfoeditor.c \
gimpdeviceinfoeditor.h \
2011-02-28 19:57:15 +08:00
gimpdevicemanager.c \
gimpdevicemanager.h \
2001-12-08 01:39:51 +08:00
gimpdevices.c \
gimpdevices.h \
2003-07-07 21:37:19 +08:00
gimpdevicestatus.c \
gimpdevicestatus.h \
2014-05-25 09:03:51 +08:00
gimpdial.c \
gimpdial.h \
2001-04-15 00:37:28 +08:00
gimpdialogfactory.c \
gimpdialogfactory.h \
2001-05-09 03:29:15 +08:00
gimpdnd.c \
gimpdnd.h \
2005-03-25 22:23:35 +08:00
gimpdnd-xds.c \
gimpdnd-xds.h \
2001-04-11 05:33:09 +08:00
gimpdock.c \
gimpdock.h \
2009-09-26 22:48:39 +08:00
gimpdockcolumns.c \
gimpdockcolumns.h \
2001-04-11 05:33:09 +08:00
gimpdockable.c \
gimpdockable.h \
gimpdockbook.c \
gimpdockbook.h \
2011-05-09 14:14:23 +08:00
gimpdockcontainer.c \
gimpdockcontainer.h \
2003-10-11 05:24:12 +08:00
gimpdocked.c \
gimpdocked.h \
2009-09-10 00:15:34 +08:00
gimpdockwindow.c \
gimpdockwindow.h \
2001-10-23 01:27:46 +08:00
gimpdocumentview.c \
gimpdocumentview.h \
2003-03-16 19:14:29 +08:00
gimpdrawabletreeview.c \
gimpdrawabletreeview.h \
2009-10-10 01:25:07 +08:00
gimpdynamicseditor.c \
gimpdynamicseditor.h \
2010-10-21 01:04:32 +08:00
gimpdynamicsfactoryview.c \
gimpdynamicsfactoryview.h \
gimpdynamicsoutputeditor.c \
gimpdynamicsoutputeditor.h \
2002-03-08 08:27:45 +08:00
gimpeditor.c \
gimpeditor.h \
2004-04-16 20:09:46 +08:00
gimpenumaction.c \
gimpenumaction.h \
2003-06-13 22:37:00 +08:00
gimperrorconsole.c \
gimperrorconsole.h \
2004-08-26 01:58:52 +08:00
gimperrordialog.c \
gimperrordialog.h \
2015-09-01 02:57:37 +08:00
gimpexportdialog.c \
gimpexportdialog.h \
2018-07-07 22:04:10 +08:00
gimpextensiondetails.c \
gimpextensiondetails.h \
2018-07-07 04:25:12 +08:00
gimpextensionlist.c \
gimpextensionlist.h \
2004-05-27 20:41:22 +08:00
gimpfgbgeditor.c \
gimpfgbgeditor.h \
2005-03-31 21:39:18 +08:00
gimpfgbgview.c \
gimpfgbgview.h \
2004-02-27 22:20:19 +08:00
gimpfiledialog.c \
gimpfiledialog.h \
2004-07-17 05:24:39 +08:00
gimpfileprocview.c \
gimpfileprocview.h \
2008-10-25 01:55:30 +08:00
gimpfilleditor.c \
gimpfilleditor.h \
2018-06-03 04:18:00 +08:00
gimpfontfactoryview.c \
gimpfontfactoryview.h \
2004-07-10 03:14:59 +08:00
gimpfontselect.c \
gimpfontselect.h \
2002-03-08 08:27:45 +08:00
gimpgradienteditor.c \
gimpgradienteditor.h \
2004-07-10 03:14:59 +08:00
gimpgradientselect.c \
gimpgradientselect.h \
2003-10-10 22:11:47 +08:00
gimpgrideditor.c \
gimpgrideditor.h \
2007-11-20 17:10:39 +08:00
gimphandlebar.c \
gimphandlebar.h \
2002-05-06 03:17:41 +08:00
gimphelp.c \
gimphelp.h \
2003-08-21 23:54:47 +08:00
gimphelp-ids.h \
2002-09-08 01:27:32 +08:00
gimphistogrambox.c \
gimphistogrambox.h \
2003-11-01 10:39:34 +08:00
gimphistogrameditor.c \
gimphistogrameditor.h \
2001-04-11 05:33:09 +08:00
gimphistogramview.c \
gimphistogramview.h \
2011-03-01 19:31:17 +08:00
gimpiconpicker.c \
gimpiconpicker.h \
2007-06-27 17:46:00 +08:00
gimpimagecommenteditor.c \
gimpimagecommenteditor.h \
2003-02-20 23:40:15 +08:00
gimpimageeditor.c \
gimpimageeditor.h \
2006-11-03 21:52:17 +08:00
gimpimageparasiteview.c \
gimpimageparasiteview.h \
2006-10-25 15:31:04 +08:00
gimpimageprofileview.c \
gimpimageprofileview.h \
2005-04-05 06:34:29 +08:00
gimpimagepropview.c \
gimpimagepropview.h \
2002-05-08 20:39:01 +08:00
gimpimageview.c \
gimpimageview.h \
2003-03-16 19:14:29 +08:00
gimpitemtreeview.c \
gimpitemtreeview.h \
2009-12-31 05:21:54 +08:00
gimplanguagecombobox.c \
gimplanguagecombobox.h \
2008-02-12 04:19:03 +08:00
gimplanguageentry.c \
gimplanguageentry.h \
2008-02-08 00:50:11 +08:00
gimplanguagestore.c \
gimplanguagestore.h \
gimplanguagestore-parser.c \
gimplanguagestore-parser.h \
2017-01-30 04:54:52 +08:00
gimplayermodebox.c \
gimplayermodebox.h \
2017-01-29 01:25:45 +08:00
gimplayermodecombobox.c \
gimplayermodecombobox.h \
2003-03-16 19:14:29 +08:00
gimplayertreeview.c \
gimplayertreeview.h \
2005-05-12 04:26:12 +08:00
gimpmenudock.c \
gimpmenudock.h \
2003-01-11 01:55:53 +08:00
gimpmenufactory.c \
gimpmenufactory.h \
2004-08-24 07:22:46 +08:00
gimpmessagebox.c \
gimpmessagebox.h \
2004-10-13 22:35:28 +08:00
gimpmessagedialog.c \
gimpmessagedialog.h \
2017-12-19 07:46:12 +08:00
gimpmeter.c \
gimpmeter.h \
2004-08-27 08:42:46 +08:00
gimpnavigationview.c \
gimpnavigationview.h \
2015-09-01 02:57:37 +08:00
gimpopendialog.c \
gimpopendialog.h \
2009-10-19 03:57:34 +08:00
gimpoverlaybox.c \
gimpoverlaybox.h \
gimpoverlaychild.c \
gimpoverlaychild.h \
2010-06-04 04:32:30 +08:00
gimpoverlaydialog.c \
gimpoverlaydialog.h \
2010-06-13 01:02:51 +08:00
gimpoverlayframe.c \
gimpoverlayframe.h \
2002-03-08 08:27:45 +08:00
gimppaletteeditor.c \
gimppaletteeditor.h \
2004-07-10 03:14:59 +08:00
gimppaletteselect.c \
gimppaletteselect.h \
2005-07-14 22:41:29 +08:00
gimppaletteview.c \
gimppaletteview.h \
2010-10-21 18:02:49 +08:00
gimppanedbox.c \
gimppanedbox.h \
2004-03-17 22:14:18 +08:00
gimppatternfactoryview.c \
gimppatternfactoryview.h \
2004-07-10 03:14:59 +08:00
gimppatternselect.c \
gimppatternselect.h \
gimppdbdialog.c \
gimppdbdialog.h \
2013-09-15 06:30:14 +08:00
gimppickablebutton.c \
gimppickablebutton.h \
2014-06-06 07:47:12 +08:00
gimppickablepopup.c \
gimppickablepopup.h \
2005-04-10 01:56:04 +08:00
gimppixbuf.c \
gimppixbuf.h \
2017-05-05 02:33:56 +08:00
gimppluginview.c \
gimppluginview.h \
2014-05-30 06:31:53 +08:00
gimppolar.c \
gimppolar.h \
2014-06-06 06:57:20 +08:00
gimppopup.c \
gimppopup.h \
2013-03-11 02:49:59 +08:00
gimpprefsbox.c \
gimpprefsbox.h \
2016-01-01 00:05:35 +08:00
gimpprocedureaction.c \
gimpprocedureaction.h \
2004-08-11 06:21:56 +08:00
gimpprogressbox.c \
gimpprogressbox.h \
2004-08-11 02:47:21 +08:00
gimpprogressdialog.c \
gimpprogressdialog.h \
2002-11-21 03:45:03 +08:00
gimppropwidgets.c \
gimppropwidgets.h \
2008-05-20 17:51:04 +08:00
gimpradioaction.c \
gimpradioaction.h \
2005-07-20 04:42:14 +08:00
gimprender.c \
gimprender.h \
2005-04-03 23:48:03 +08:00
gimpsamplepointeditor.c \
gimpsamplepointeditor.h \
2015-09-01 02:57:37 +08:00
gimpsavedialog.c \
gimpsavedialog.h \
2015-09-07 02:30:39 +08:00
gimpsearchpopup.c \
gimpsearchpopup.h \
2004-06-29 04:39:54 +08:00
gimpselectiondata.c \
gimpselectiondata.h \
2002-08-22 20:49:01 +08:00
gimpselectioneditor.c \
gimpselectioneditor.h \
2003-10-10 23:59:12 +08:00
gimpsessioninfo.c \
gimpsessioninfo.h \
2007-05-25 19:42:28 +08:00
gimpsessioninfo-aux.c \
gimpsessioninfo-aux.h \
gimpsessioninfo-book.c \
gimpsessioninfo-book.h \
gimpsessioninfo-dock.c \
gimpsessioninfo-dock.h \
gimpsessioninfo-dockable.c \
gimpsessioninfo-dockable.h \
2009-09-20 23:06:36 +08:00
gimpsessioninfo-private.h \
2011-05-30 14:19:53 +08:00
gimpsessionmanaged.c \
gimpsessionmanaged.h \
2008-06-13 19:56:46 +08:00
gimpsettingsbox.c \
gimpsettingsbox.h \
2008-06-23 01:31:25 +08:00
gimpsettingseditor.c \
gimpsettingseditor.h \
2004-10-12 22:59:14 +08:00
gimpsizebox.c \
gimpsizebox.h \
2010-11-02 03:03:39 +08:00
gimpspinscale.c \
gimpspinscale.h \
2004-04-16 20:09:46 +08:00
gimpstringaction.c \
gimpstringaction.h \
2003-09-27 01:33:49 +08:00
gimpstrokeeditor.c \
gimpstrokeeditor.h \
2016-01-28 02:13:17 +08:00
gimpsymmetryeditor.c \
gimpsymmetryeditor.h \
2008-12-20 22:46:54 +08:00
gimptagentry.c \
gimptagentry.h \
gimptagpopup.c \
gimptagpopup.h \
2003-04-11 21:17:23 +08:00
gimptemplateeditor.c \
gimptemplateeditor.h \
2003-04-06 19:21:56 +08:00
gimptemplateview.c \
gimptemplateview.h \
2010-02-26 00:41:10 +08:00
gimptextbuffer.c \
gimptextbuffer.h \
2010-02-26 08:22:27 +08:00
gimptextbuffer-serialize.c \
gimptextbuffer-serialize.h \
2003-02-02 05:50:21 +08:00
gimptexteditor.c \
gimptexteditor.h \
2009-06-25 01:34:36 +08:00
gimptextproxy.c \
gimptextproxy.h \
2010-02-26 08:22:27 +08:00
gimptextstyleeditor.c \
gimptextstyleeditor.h \
2010-04-04 00:02:14 +08:00
gimptexttag.c \
gimptexttag.h \
2004-02-26 21:48:42 +08:00
gimpthumbbox.c \
gimpthumbbox.h \
2008-05-20 17:51:04 +08:00
gimptoggleaction.c \
gimptoggleaction.h \
2002-03-15 01:07:02 +08:00
gimptoolbox.c \
gimptoolbox.h \
gimptoolbox-color-area.c \
gimptoolbox-color-area.h \
2003-06-06 23:14:47 +08:00
gimptoolbox-dnd.c \
gimptoolbox-dnd.h \
2004-06-01 04:30:52 +08:00
gimptoolbox-image-area.c \
gimptoolbox-image-area.h \
2002-03-15 01:07:02 +08:00
gimptoolbox-indicator-area.c \
gimptoolbox-indicator-area.h \
2009-07-22 05:51:21 +08:00
gimptooleditor.c \
gimptooleditor.h \
2003-09-30 04:26:09 +08:00
gimptooloptionseditor.c \
gimptooloptionseditor.h \
2010-11-20 06:52:09 +08:00
gimptoolpalette.c \
gimptoolpalette.h \
2010-04-03 23:25:31 +08:00
gimptoolpreseteditor.c \
gimptoolpreseteditor.h \
gimptoolpresetfactoryview.c \
gimptoolpresetfactoryview.h \
2009-12-31 06:55:26 +08:00
gimptranslationstore.c \
gimptranslationstore.h \
2004-04-22 00:33:17 +08:00
gimpuimanager.c \
gimpuimanager.h \
2003-02-20 20:47:42 +08:00
gimpundoeditor.c \
gimpundoeditor.h \
2003-03-16 19:14:29 +08:00
gimpvectorstreeview.c \
gimpvectorstreeview.h \
2004-08-25 01:16:46 +08:00
gimpview.c \
gimpview.h \
2004-08-26 06:31:44 +08:00
gimpview-popup.c \
gimpview-popup.h \
2004-10-12 20:06:50 +08:00
gimpviewablebox.c \
gimpviewablebox.h \
2003-04-10 18:34:56 +08:00
gimpviewablebutton.c \
gimpviewablebutton.h \
2002-08-31 05:00:42 +08:00
gimpviewabledialog.c \
gimpviewabledialog.h \
2004-08-26 06:31:44 +08:00
gimpviewrenderer.c \
gimpviewrenderer.h \
2004-09-28 03:40:12 +08:00
gimpviewrenderer-frame.c \
gimpviewrenderer-frame.h \
2004-08-26 22:20:30 +08:00
gimpviewrenderer-utils.c \
gimpviewrenderer-utils.h \
gimpviewrendererbrush.c \
gimpviewrendererbrush.h \
2004-09-14 20:06:28 +08:00
gimpviewrendererbuffer.c \
gimpviewrendererbuffer.h \
2004-08-26 22:20:30 +08:00
gimpviewrendererdrawable.c \
gimpviewrendererdrawable.h \
gimpviewrenderergradient.c \
gimpviewrenderergradient.h \
gimpviewrendererimage.c \
gimpviewrendererimage.h \
gimpviewrendererimagefile.c \
gimpviewrendererimagefile.h \
gimpviewrendererlayer.c \
gimpviewrendererlayer.h \
2005-07-14 04:11:24 +08:00
gimpviewrendererpalette.c \
gimpviewrendererpalette.h \
2004-08-26 22:20:30 +08:00
gimpviewrenderervectors.c \
gimpviewrenderervectors.h \
2001-05-26 00:04:54 +08:00
gimpwidgets-constructors.c \
gimpwidgets-constructors.h \
gimpwidgets-utils.c \
gimpwidgets-utils.h \
2008-04-29 00:30:55 +08:00
gimpwindow.c \
gimpwindow.h \
2012-01-31 06:33:21 +08:00
gimpwindowstrategy.c \
2010-10-28 08:32:44 +08:00
gimpwindowstrategy.h
2001-04-11 05:33:09 +08:00
2018-05-28 23:25:18 +08:00
libappwidgets_a_built_sources = \
gimp-tool-cursors.c \
gimp-tool-cursors.h \
widgets-enums.c
2001-04-11 05:33:09 +08:00
2002-06-08 07:00:46 +08:00
libappwidgets_a_SOURCES = \
2018-05-28 23:25:18 +08:00
$( libappwidgets_a_built_sources) \
$( libappwidgets_a_sources)
2002-03-13 22:51:48 +08:00
2003-12-13 09:35:19 +08:00
2002-03-13 22:51:48 +08:00
#
# rules to generate built sources
#
2003-02-03 21:39:55 +08:00
# setup autogeneration dependencies
2018-05-31 14:56:07 +08:00
gen_sources = \
gimp-tool-cursors.c \
gimp-tool-cursors.h \
xgen-wec
2002-03-13 22:51:48 +08:00
CLEANFILES = $( gen_sources)
2017-05-23 05:19:17 +08:00
xgen-wec : $( srcdir ) /widgets -enums .h $( GIMP_MKENUMS ) Makefile .am
2017-05-23 08:12:50 +08:00
$( AM_V_GEN) $( GIMP_MKENUMS) \
2004-10-26 01:55:25 +08:00
--fhead "#include \"config.h\"\n#include <gtk/gtk.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"widgets-enums.h\"\n#include \"gimp-intl.h\"" \
2017-05-23 08:12:50 +08:00
--fprod "\n/* enumerations from \"@basename@\" */" \
2004-07-28 19:50:20 +08:00
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
2004-10-26 01:55:25 +08:00
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n };\n" \
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
2017-11-30 05:27:59 +08:00
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \
2008-11-06 16:28:28 +08:00
--dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \
2017-05-23 08:12:50 +08:00
$< > $@
2017-05-23 05:19:17 +08:00
2017-06-02 22:53:44 +08:00
# copy the generated enum file back to the source directory only if it's
# changed; otherwise, only update its timestamp, so that the recipe isn't
# executed again on the next build, however, allow this to (harmlessly) fail,
# to support building from a read-only source tree.
2017-05-23 05:19:17 +08:00
$(srcdir)/widgets-enums.c : xgen -wec
$( AM_V_GEN) if ! cmp -s $< $@ ; then \
cp $< $@ ; \
else \
touch $@ 2> /dev/null \
|| true; \
fi
2018-05-28 23:25:18 +08:00
gimp-tool-cursors.h : $( top_builddir ) /cursors /gimp -tool -cursors .gresource .xml
$( AM_V_GEN) $( GLIB_COMPILE_RESOURCES) \
--sourcedir= $( top_srcdir) /cursors --generate-header \
--target= $@ $( top_builddir) /cursors/gimp-tool-cursors.gresource.xml
gimp-tool-cursors.c : gimp -tool -cursors .h
$( AM_V_GEN) $( GLIB_COMPILE_RESOURCES) \
--sourcedir= $( top_srcdir) /cursors --generate-source \
--target= $@ $( top_builddir) /cursors/gimp-tool-cursors.gresource.xml