1997-11-24 22:05:25 +00:00
## Process this file with automake to produce Makefile.in
2004-01-22 03:51:46 +00:00
libgimpbase = $( top_builddir) /libgimpbase/libgimpbase-$( GIMP_API_VERSION) .la
libgimpcolor = $( top_builddir) /libgimpcolor/libgimpcolor-$( GIMP_API_VERSION) .la
2005-06-26 12:53:31 +00:00
libgimpconfig = $( top_builddir) /libgimpconfig/libgimpconfig-$( GIMP_API_VERSION) .la
2004-01-22 03:51:46 +00:00
libgimpmodule = $( top_builddir) /libgimpmodule/libgimpmodule-$( GIMP_API_VERSION) .la
libgimpwidgets = $( top_builddir) /libgimpwidgets/libgimpwidgets-$( GIMP_API_VERSION) .la
2012-05-13 03:08:45 +00:00
libgimp = ./libgimp-$( GIMP_API_VERSION) .la
2003-05-21 21:22:22 +00:00
2002-12-26 00:11:03 +00:00
i f P L A T F O R M _ W I N 3 2
no_undefined = -no-undefined
e n d i f
2012-11-07 22:44:35 +00:00
i f P L A T F O R M _ O S X
xobjective_c = "-xobjective-c"
framework_cocoa = -framework Cocoa
e n d i f
2002-12-26 00:11:03 +00:00
i f O S _ W I N 3 2
2015-08-31 13:26:51 +00:00
i f H A V E _ E X C H N D L
exchndl = -lexchndl
e n d i f
2002-12-26 00:11:03 +00:00
gimp_def = gimp.def
gimpui_def = gimpui.def
2014-09-14 16:28:26 +00:00
libgimp_export_symbols = -export-symbols $( srcdir) /gimp.def
libgimpui_export_symbols = -export-symbols $( srcdir) /gimpui.def
2002-12-26 00:11:03 +00:00
install-libtool-import-lib :
2004-01-22 03:51:46 +00:00
$( INSTALL) .libs/libgimp-$( GIMP_API_VERSION) .dll.a $( DESTDIR) $( libdir)
$( INSTALL) .libs/libgimpui-$( GIMP_API_VERSION) .dll.a $( DESTDIR) $( libdir)
2014-09-14 16:28:26 +00:00
$( INSTALL) $( srcdir) /gimp.def $( DESTDIR) $( libdir)
$( INSTALL) $( srcdir) /gimpui.def $( DESTDIR) $( libdir)
2002-12-26 00:11:03 +00:00
uninstall-libtool-import-lib :
2004-01-22 03:51:46 +00:00
-rm $( DESTDIR) $( libdir) /libgimp-$( GIMP_API_VERSION) .dll.a
-rm $( DESTDIR) $( libdir) /libgimpui-$( GIMP_API_VERSION) .dll.a
2003-10-09 21:33:27 +00:00
-rm $( DESTDIR) $( libdir) /gimp.def
-rm $( DESTDIR) $( libdir) /gimpui.def
2002-12-26 00:11:03 +00:00
e l s e
install-libtool-import-lib :
uninstall-libtool-import-lib :
e n d i f
i f M S _ L I B _ A V A I L A B L E
2016-06-01 23:50:16 +00:00
noinst_DATA = gimp-$( GIMP_API_VERSION) .lib gimpui-$( GIMP_API_VERSION) .lib
2002-12-26 00:11:03 +00:00
install-ms-lib :
2004-01-22 03:51:46 +00:00
$( INSTALL) gimp-$( GIMP_API_VERSION) .lib $( DESTDIR) $( libdir)
$( INSTALL) gimpui-$( GIMP_API_VERSION) .lib $( DESTDIR) $( libdir)
2002-12-26 00:11:03 +00:00
uninstall-ms-lib :
2004-01-22 03:51:46 +00:00
-rm $( DESTDIR) $( libdir) /gimp-$( GIMP_API_VERSION) .lib
-rm $( DESTDIR) $( libdir) /gimpui-$( GIMP_API_VERSION) .lib
2002-12-26 00:11:03 +00:00
2004-01-22 03:51:46 +00:00
gimp-@GIMP_API_VERSION@.lib : gimp .def
lib -name:libgimp-$( GIMP_API_VERSION) -@LT_CURRENT_MINUS_AGE@.dll -def:gimp.def -out:$@
2002-12-26 00:11:03 +00:00
2004-01-22 03:51:46 +00:00
gimpui-@GIMP_API_VERSION@.lib : gimpui .def
lib -name:libgimpui-$( GIMP_API_VERSION) -@LT_CURRENT_MINUS_AGE@.dll -def:gimpui.def -out:$@
2002-12-26 00:11:03 +00:00
e l s e
install-ms-lib :
uninstall-ms-lib :
e n d i f
2004-01-22 03:51:46 +00:00
gimpincludedir = $( includedir) /gimp-$( GIMP_API_VERSION) /libgimp
1997-11-24 22:05:25 +00:00
2002-06-07 23:00:46 +00:00
AM_CPPFLAGS = \
2016-06-12 01:36:05 +00:00
-DGIMPDIR= \" " $( gimpdir) " \" \
-DGIMP_USER_VERSION= \" $( GIMP_USER_VERSION) \" \
2011-04-28 17:59:52 +00:00
-DG_LOG_DOMAIN= \" LibGimp\" \
2013-06-05 18:48:37 +00:00
-DGIMP_COMPILATION \
-I$( top_srcdir) \
$( GTK_CFLAGS) \
$( GEGL_CFLAGS) \
2013-10-19 16:38:01 +00:00
$( GEXIV2_CFLAGS) \
2013-06-05 18:48:37 +00:00
-I$( includedir) \
2012-11-07 22:44:35 +00:00
$( xobjective_c)
1997-11-24 22:05:25 +00:00
2012-05-04 13:37:43 +00:00
lib_LTLIBRARIES = libgimp-@GIMP_API_VERSION@.la libgimpui-@GIMP_API_VERSION@.la
1997-11-24 22:05:25 +00:00
2000-06-01 12:20:13 +00:00
PDB_WRAPPERS_C = \
2011-03-08 12:58:56 +00:00
gimp_pdb.c \
2004-09-28 22:01:21 +00:00
gimpbrush_pdb.c \
2000-06-01 12:20:13 +00:00
gimpbrushes_pdb.c \
gimpbrushselect_pdb.c \
2005-09-27 09:05:55 +00:00
gimpbuffer_pdb.c \
2000-06-01 12:20:13 +00:00
gimpchannel_pdb.c \
gimpcolor_pdb.c \
2004-09-22 18:43:09 +00:00
gimpcontext_pdb.c \
pdb: add debug group; add debug-timer-{start,end} procs
Add a debug procedure group, living in 'debug.pdb', which would host
useful debug helper functions. Functions in this group are not part
of the stable API, and may be changed at any point.
All procedures added to 'debug.pdb' should have a 'debug_' prefix,
and use the new std_pdb_debug() macro, which adds the proper "here be
dragons" warning to their description.
Add two debug procedures: gimp-debug-timer-start() and
gimp-debug-timer-end(), which measure elapsed time, a la
GIMP_TIMER_{START,END}, and can be used to profile script-fu
commands.
2017-04-06 15:00:20 +00:00
gimpdebug_pdb.c \
2000-06-01 12:20:13 +00:00
gimpdisplay_pdb.c \
gimpdrawable_pdb.c \
2014-01-12 21:11:15 +00:00
gimpdrawablecolor_pdb.c \
2004-10-27 01:23:35 +00:00
gimpdrawabletransform_pdb.c \
2011-10-31 21:22:19 +00:00
gimpdynamics_pdb.c \
2000-06-01 12:20:13 +00:00
gimpedit_pdb.c \
gimpfileops_pdb.c \
gimpfloatingsel_pdb.c \
2003-09-04 19:58:54 +00:00
gimpfonts_pdb.c \
2003-03-28 14:13:54 +00:00
gimpfontselect_pdb.c \
2000-06-01 12:20:13 +00:00
gimpgimprc_pdb.c \
2004-09-28 22:01:21 +00:00
gimpgradient_pdb.c \
2000-06-01 21:18:04 +00:00
gimpgradients_pdb.c \
2000-06-01 12:20:13 +00:00
gimpgradientselect_pdb.c \
gimphelp_pdb.c \
gimpimage_pdb.c \
2015-06-05 10:51:46 +00:00
gimpimagecolorprofile_pdb.c \
2015-05-30 13:09:57 +00:00
gimpimageconvert_pdb.c \
2015-05-30 13:19:11 +00:00
gimpimagegrid_pdb.c \
2015-05-30 13:27:16 +00:00
gimpimageguides_pdb.c \
2016-01-04 20:13:48 +00:00
gimpimagesamplepoints_pdb.c \
2010-10-30 20:06:20 +00:00
gimpimageselect_pdb.c \
2015-05-30 21:55:58 +00:00
gimpimagetransform_pdb.c \
2015-05-30 13:00:36 +00:00
gimpimageundo_pdb.c \
2010-07-09 07:34:44 +00:00
gimpitem_pdb.c \
2010-09-08 00:48:37 +00:00
gimpitemtransform_pdb.c \
2000-06-01 12:20:13 +00:00
gimplayer_pdb.c \
gimpmessage_pdb.c \
2001-12-10 17:01:49 +00:00
gimppainttools_pdb.c \
2004-09-28 22:01:21 +00:00
gimppalette_pdb.c \
2002-03-12 21:02:10 +00:00
gimppalettes_pdb.c \
gimppaletteselect_pdb.c \
2000-06-08 18:10:03 +00:00
gimppaths_pdb.c \
2004-09-28 22:01:21 +00:00
gimppattern_pdb.c \
2000-06-01 12:20:13 +00:00
gimppatterns_pdb.c \
gimppatternselect_pdb.c \
gimpplugin_pdb.c \
gimpproceduraldb_pdb.c \
2004-08-27 20:06:17 +00:00
gimpprogress_pdb.c \
2000-06-01 12:20:13 +00:00
gimpselection_pdb.c \
2001-10-22 12:13:44 +00:00
gimpselectiontools_pdb.c \
2008-04-02 20:53:51 +00:00
gimptextlayer_pdb.c \
2000-06-01 12:20:13 +00:00
gimptexttool_pdb.c \
2001-11-19 18:23:43 +00:00
gimptransformtools_pdb.c \
2005-04-14 02:32:23 +00:00
gimpunit_pdb.c \
gimpvectors_pdb.c
2000-06-01 12:20:13 +00:00
PDB_WRAPPERS_H = \
2011-03-08 12:42:05 +00:00
gimp_pdb_headers.h \
2011-03-08 12:58:56 +00:00
gimp_pdb.h \
2004-09-28 22:01:21 +00:00
gimpbrush_pdb.h \
2000-06-01 12:20:13 +00:00
gimpbrushes_pdb.h \
gimpbrushselect_pdb.h \
2005-09-27 09:05:55 +00:00
gimpbuffer_pdb.h \
2000-06-01 12:20:13 +00:00
gimpchannel_pdb.h \
gimpcolor_pdb.h \
2004-09-22 18:43:09 +00:00
gimpcontext_pdb.h \
pdb: add debug group; add debug-timer-{start,end} procs
Add a debug procedure group, living in 'debug.pdb', which would host
useful debug helper functions. Functions in this group are not part
of the stable API, and may be changed at any point.
All procedures added to 'debug.pdb' should have a 'debug_' prefix,
and use the new std_pdb_debug() macro, which adds the proper "here be
dragons" warning to their description.
Add two debug procedures: gimp-debug-timer-start() and
gimp-debug-timer-end(), which measure elapsed time, a la
GIMP_TIMER_{START,END}, and can be used to profile script-fu
commands.
2017-04-06 15:00:20 +00:00
gimpdebug_pdb.h \
2000-06-01 12:20:13 +00:00
gimpdisplay_pdb.h \
gimpdrawable_pdb.h \
2014-01-12 21:11:15 +00:00
gimpdrawablecolor_pdb.h \
2004-10-27 01:23:35 +00:00
gimpdrawabletransform_pdb.h \
2011-10-31 21:22:19 +00:00
gimpdynamics_pdb.h \
2000-06-01 12:20:13 +00:00
gimpedit_pdb.h \
gimpfileops_pdb.h \
gimpfloatingsel_pdb.h \
2003-09-04 19:58:54 +00:00
gimpfonts_pdb.h \
2003-03-28 14:13:54 +00:00
gimpfontselect_pdb.h \
2000-06-01 12:20:13 +00:00
gimpgimprc_pdb.h \
2004-09-28 22:01:21 +00:00
gimpgradient_pdb.h \
2000-06-01 21:18:04 +00:00
gimpgradients_pdb.h \
2000-06-01 12:20:13 +00:00
gimpgradientselect_pdb.h \
gimphelp_pdb.h \
gimpimage_pdb.h \
2015-06-05 10:51:46 +00:00
gimpimagecolorprofile_pdb.h \
2015-05-30 13:09:57 +00:00
gimpimageconvert_pdb.h \
2015-05-30 13:19:11 +00:00
gimpimagegrid_pdb.h \
2015-05-30 13:27:16 +00:00
gimpimageguides_pdb.h \
2016-01-04 20:13:48 +00:00
gimpimagesamplepoints_pdb.h \
2010-10-30 20:06:20 +00:00
gimpimageselect_pdb.h \
2015-05-30 21:55:58 +00:00
gimpimagetransform_pdb.h \
2015-05-30 13:00:36 +00:00
gimpimageundo_pdb.h \
2010-07-09 07:34:44 +00:00
gimpitem_pdb.h \
2010-09-08 00:48:37 +00:00
gimpitemtransform_pdb.h \
2000-06-01 12:20:13 +00:00
gimplayer_pdb.h \
gimpmessage_pdb.h \
2001-12-10 17:01:49 +00:00
gimppainttools_pdb.h \
2004-09-28 22:01:21 +00:00
gimppalette_pdb.h \
2002-03-12 21:02:10 +00:00
gimppalettes_pdb.h \
gimppaletteselect_pdb.h \
2000-06-08 18:10:03 +00:00
gimppaths_pdb.h \
2004-09-28 22:01:21 +00:00
gimppattern_pdb.h \
2000-06-01 12:20:13 +00:00
gimppatterns_pdb.h \
gimppatternselect_pdb.h \
gimpplugin_pdb.h \
gimpproceduraldb_pdb.h \
2004-08-27 20:06:17 +00:00
gimpprogress_pdb.h \
2000-06-01 12:20:13 +00:00
gimpselection_pdb.h \
2001-10-22 12:13:44 +00:00
gimpselectiontools_pdb.h \
2008-04-02 20:53:51 +00:00
gimptextlayer_pdb.h \
2000-06-01 12:20:13 +00:00
gimptexttool_pdb.h \
2001-11-19 18:23:43 +00:00
gimptransformtools_pdb.h \
2005-04-14 02:32:23 +00:00
gimpunit_pdb.h \
gimpvectors_pdb.h
2000-06-01 12:20:13 +00:00
2012-05-04 13:37:43 +00:00
libgimp_sources = \
2002-06-07 23:00:46 +00:00
gimp.c \
gimp.h \
gimptypes.h \
2004-10-25 01:52:12 +00:00
gimpenums.h \
2002-06-07 23:00:46 +00:00
${ PDB_WRAPPERS_C } \
${ PDB_WRAPPERS_H } \
2004-09-22 19:22:24 +00:00
gimpbrushes.c \
gimpbrushes.h \
2003-07-01 15:06:06 +00:00
gimpbrushselect.c \
gimpbrushselect.h \
2002-06-07 23:00:46 +00:00
gimpchannel.c \
gimpchannel.h \
gimpdrawable.c \
gimpdrawable.h \
2016-09-20 18:20:25 +00:00
gimpedit.c \
gimpedit.h \
2003-07-01 15:06:06 +00:00
gimpfontselect.c \
gimpfontselect.h \
2005-06-26 12:53:31 +00:00
gimpgimprc.c \
gimpgimprc.h \
2004-09-23 15:05:48 +00:00
gimpgradients.c \
gimpgradients.h \
2003-07-01 15:06:06 +00:00
gimpgradientselect.c \
2003-07-20 23:28:08 +00:00
gimpgradientselect.h \
2002-06-07 23:00:46 +00:00
gimpimage.c \
gimpimage.h \
2015-06-05 10:51:46 +00:00
gimpimagecolorprofile.c \
gimpimagecolorprofile.h \
2002-06-07 23:00:46 +00:00
gimplayer.c \
gimplayer.h \
2004-09-22 18:43:09 +00:00
gimppalette.c \
gimppalette.h \
2004-09-23 15:05:48 +00:00
gimppalettes.c \
gimppalettes.h \
2004-07-27 15:15:58 +00:00
gimppaletteselect.c \
gimppaletteselect.h \
2004-09-23 15:05:48 +00:00
gimppatterns.c \
gimppatterns.h \
2003-07-01 15:06:06 +00:00
gimppatternselect.c \
gimppatternselect.h \
2011-04-20 18:04:35 +00:00
gimppixbuf.c \
gimppixbuf.h \
2004-01-12 16:35:01 +00:00
gimppixelfetcher.c \
gimppixelfetcher.h \
2002-06-07 23:00:46 +00:00
gimppixelrgn.c \
gimppixelrgn.h \
2004-05-18 22:54:41 +00:00
gimpplugin.c \
gimpplugin.h \
2002-06-07 23:00:46 +00:00
gimpproceduraldb.c \
gimpproceduraldb.h \
2004-08-29 18:36:30 +00:00
gimpprogress.c \
gimpprogress.h \
2004-01-12 16:35:01 +00:00
gimpregioniterator.c \
gimpregioniterator.h \
2002-06-07 23:00:46 +00:00
gimpselection.c \
gimpselection.h \
gimptile.c \
gimptile.h \
2012-03-22 00:10:43 +00:00
gimptilebackendplugin.c \
gimptilebackendplugin.h \
2003-11-15 22:53:28 +00:00
gimpunitcache.c \
gimpunitcache.h \
2010-09-15 19:13:22 +00:00
gimpvectors.c \
gimpvectors.h \
2002-06-07 23:00:46 +00:00
stdplugins-intl.h \
libgimp-intl.h
1998-06-19 19:47:34 +00:00
2012-05-04 13:37:43 +00:00
libgimp_built_sources = \
2004-10-25 01:52:12 +00:00
gimpenums.c
2012-05-04 13:37:43 +00:00
libgimp_extra_sources = gimpenums.c.tail
2004-10-27 22:46:40 +00:00
2012-05-04 13:37:43 +00:00
l i b g i m p _ @ G I M P _ A P I _ V E R S I O N @ _la_SOURCES = \
$( libgimp_built_sources) \
$( libgimp_sources)
2004-10-25 01:52:12 +00:00
2012-05-04 13:37:43 +00:00
libgimpui_sources = \
2006-06-26 01:47:22 +00:00
gimpui.c \
gimpui.h \
gimpuitypes.h \
gimpaspectpreview.c \
gimpaspectpreview.h \
gimpbrushmenu.c \
gimpbrushmenu.h \
gimpbrushselectbutton.c \
gimpbrushselectbutton.h \
gimpdrawablepreview.c \
gimpdrawablepreview.h \
gimpexport.c \
gimpexport.h \
gimpfontmenu.c \
gimpfontmenu.h \
gimpfontselectbutton.c \
gimpfontselectbutton.h \
gimpgradientmenu.c \
gimpgradientmenu.h \
gimpgradientselectbutton.c \
gimpgradientselectbutton.h \
gimpimagecombobox.c \
gimpimagecombobox.h \
2015-09-24 22:40:57 +00:00
gimpimagemetadata.c \
gimpimagemetadata.h \
2006-11-15 23:20:06 +00:00
gimpitemcombobox.c \
gimpitemcombobox.h \
2006-06-26 01:47:22 +00:00
gimpmenu.c \
gimpmenu.h \
gimppalettemenu.c \
gimppalettemenu.h \
gimppaletteselectbutton.c \
gimppaletteselectbutton.h \
gimppatternmenu.c \
gimppatternmenu.h \
gimppatternselectbutton.c \
gimppatternselectbutton.h \
gimpprocbrowserdialog.c \
gimpprocbrowserdialog.h \
gimpprocview.c \
gimpprocview.h \
gimpprogressbar.c \
gimpprogressbar.h \
gimpselectbutton.c \
gimpselectbutton.h \
gimpzoompreview.c \
2005-09-19 22:58:16 +00:00
gimpzoompreview.h
2000-05-31 06:15:06 +00:00
2012-05-04 13:37:43 +00:00
libgimpui_built_sources = \
2005-06-04 22:36:05 +00:00
gimpuimarshal.c \
gimpuimarshal.h
2012-05-04 13:37:43 +00:00
libgimpui_extra_sources = gimpuimarshal.list
2005-06-04 22:36:05 +00:00
2012-05-04 13:37:43 +00:00
l i b g i m p u i _ @ G I M P _ A P I _ V E R S I O N @ _la_SOURCES = \
$( libgimpui_built_sources) \
$( libgimpui_sources)
2005-06-04 22:36:05 +00:00
2002-06-07 23:00:46 +00:00
gimpinclude_HEADERS = \
2006-06-26 01:47:22 +00:00
gimp.h \
gimptypes.h \
gimpenums.h \
${ PDB_WRAPPERS_H } \
gimpbrushes.h \
gimpbrushselect.h \
gimpchannel.h \
gimpdrawable.h \
2016-09-20 18:20:25 +00:00
gimpedit.h \
2006-06-26 01:47:22 +00:00
gimpfontselect.h \
gimpgimprc.h \
gimpgradients.h \
gimpgradientselect.h \
gimpimage.h \
2015-06-05 10:51:46 +00:00
gimpimagecolorprofile.h \
2006-06-26 01:47:22 +00:00
gimplayer.h \
gimppalette.h \
gimppalettes.h \
gimppaletteselect.h \
gimppatterns.h \
gimppatternselect.h \
gimppixelfetcher.h \
gimppixelrgn.h \
gimpplugin.h \
gimpproceduraldb.h \
gimpprogress.h \
gimpregioniterator.h \
gimpselection.h \
gimptile.h \
2010-09-15 19:13:22 +00:00
gimpvectors.h \
2003-07-01 15:06:06 +00:00
\
2006-06-26 01:47:22 +00:00
gimpui.h \
gimpuitypes.h \
gimpaspectpreview.h \
gimpbrushmenu.h \
gimpbrushselectbutton.h \
gimpdrawablepreview.h \
gimpexport.h \
gimpfontmenu.h \
gimpfontselectbutton.h \
gimpgradientmenu.h \
gimpgradientselectbutton.h \
gimpimagecombobox.h \
2015-09-24 22:40:57 +00:00
gimpimagemetadata.h \
2006-11-15 23:24:42 +00:00
gimpitemcombobox.h \
2006-06-26 01:47:22 +00:00
gimpmenu.h \
gimppalettemenu.h \
gimppaletteselectbutton.h \
gimppatternmenu.h \
gimppatternselectbutton.h \
gimppixbuf.h \
gimpprocbrowserdialog.h \
gimpprocview.h \
gimpprogressbar.h \
gimpselectbutton.h \
2005-09-19 22:58:16 +00:00
gimpzoompreview.h
2001-06-07 17:20:50 +00:00
2012-05-04 13:37:43 +00:00
l i b g i m p _ @ G I M P _ A P I _ V E R S I O N @ _la_LDFLAGS = \
2004-01-22 03:51:46 +00:00
-version-info $( LT_VERSION_INFO) \
$( no_undefined) \
2012-11-07 22:44:35 +00:00
$( libgimp_export_symbols) \
$( framework_cocoa)
2002-12-26 00:11:03 +00:00
2014-03-15 21:18:45 +00:00
E X T R A _ l i b g i m p _ @ G I M P _ A P I _ V E R S I O N @ _la_DEPENDENCIES = $( gimp_def)
2014-03-14 21:39:02 +00:00
2012-05-04 13:37:43 +00:00
l i b g i m p _ @ G I M P _ A P I _ V E R S I O N @ _la_LIBADD = \
2011-04-20 21:38:49 +00:00
$( libgimpconfig) \
$( libgimpcolor) \
$( libgimpbase) \
2015-08-31 13:26:51 +00:00
$( exchndl) \
2011-04-20 21:58:00 +00:00
$( CAIRO_LIBS) \
2012-03-22 00:10:43 +00:00
$( GEGL_LIBS) \
2011-04-20 21:38:49 +00:00
$( GDK_PIXBUF_LIBS) \
$( RT_LIBS)
2012-05-04 13:37:43 +00:00
l i b g i m p u i _ @ G I M P _ A P I _ V E R S I O N @ _la_LDFLAGS = \
2004-01-22 03:51:46 +00:00
-version-info $( LT_VERSION_INFO) \
$( no_undefined) \
2012-11-07 22:44:35 +00:00
$( libgimpui_export_symbols) \
$( framework_cocoa)
2002-12-26 00:11:03 +00:00
2014-03-15 21:18:45 +00:00
E X T R A _ l i b g i m p u i _ @ G I M P _ A P I _ V E R S I O N @ _la_DEPENDENCIES = $( gimpui_def)
2014-03-14 21:39:02 +00:00
2012-05-04 13:37:43 +00:00
l i b g i m p u i _ @ G I M P _ A P I _ V E R S I O N @ _la_LIBADD = \
2011-04-20 21:38:49 +00:00
$( libgimp) \
$( libgimpwidgets) \
$( libgimpcolor) \
$( libgimpbase) \
$( libgimpmodule) \
$( GTK_LIBS) \
2013-10-19 16:38:01 +00:00
$( GEXIV2_LIBS) \
2011-04-20 21:38:49 +00:00
$( RT_LIBS)
2005-06-04 22:36:05 +00:00
EXTRA_DIST = \
2011-04-20 21:38:49 +00:00
COPYING \
gimp.def \
gimpui.def \
2012-05-04 13:37:43 +00:00
$( libgimp_extra_sources) \
$( libgimpui_extra_sources)
2005-06-04 22:36:05 +00:00
2002-12-26 00:11:03 +00:00
install-data-local : install -ms -lib install -libtool -import -lib
2001-02-25 14:37:12 +00:00
2002-12-26 00:11:03 +00:00
uninstall-local : uninstall -ms -lib uninstall -libtool -import -lib
2004-10-25 01:52:12 +00:00
#
# rules to generate built sources
#
# setup autogeneration dependencies
2005-06-04 22:36:05 +00:00
gen_sources = xgen-cec xgen-umh xgen-umc
2004-10-25 01:52:12 +00:00
CLEANFILES = $( gen_sources)
2017-05-22 21:19:17 +00:00
gimpenums.c : $( srcdir ) /gimpenums .h $( srcdir ) /gimpenums .c .tail $( GIMP_MKENUMS ) Makefile .am
2017-05-06 20:48:53 +00:00
$( AM_V_GEN) $( GIMP_MKENUMS) \
2017-10-29 17:37:18 +00:00
--fhead "#include \"config.h\"\n#include <gio/gio.h>\n#undef GIMP_DISABLE_DEPRECATED\n#include \"libgimpbase/gimpbase.h\"\n#include \"libgimpbase/gimpbase-private.h\"\n#include \"libgimpconfig/gimpconfigenums.h\"\n#include \"gimpenums.h\"" \
2004-10-25 01:52:12 +00:00
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
2004-10-25 17:55:25 +00:00
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n };\n" \
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
2017-11-29 21:27:59 +00: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 08:28:28 +00: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_domain (type, GETTEXT_PACKAGE \"-libgimp\");\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 00:12:50 +00:00
$< > xgen-cec \
2004-10-25 19:29:00 +00:00
&& cat $( srcdir) /gimpenums.c.tail >> xgen-cec \
2004-10-25 01:52:12 +00:00
&& cp xgen-cec $( @F) \
&& rm -f xgen-cec
2005-06-04 22:36:05 +00:00
2007-06-07 13:19:44 +00:00
gimpuimarshal.h : $( srcdir ) /gimpuimarshal .list
*/Makefile.am: work around a bug in the new glib-genmarshal
glib-genmarshal was rewritten in glib 2.53.4, and as of now (2.53.6)
it has a bug where it unconditionally generates marshaler bodies,
even for standard marshalers, even with --stdinc. This causes
libgimpwidgets to define and export g_cclosure_marshal_VOID__INT()
and g_cclosure_marshal_VOID__OBJECT(), which upsets defcheck, and
breaks the build.
Work around this for now by using --header --body when generating
the marshal.c files, which includes the prototypes in the source,
instead of including the header ourselves. This is the only code
path where the new glib-genmarshal doesn't generate bodies for
standard marshalers. Note, however, that this usage is deprecated,
so we'll probably want to change it back once it's fixed.
2017-08-27 19:22:44 +00:00
$( AM_V_GEN) $( GLIB_GENMARSHAL) --prefix= _gimpui_marshal $( srcdir) /gimpuimarshal.list --header >> xgen-umh \
2005-06-04 22:36:05 +00:00
&& ( cmp -s xgen-umh $( @F) || cp xgen-umh $( @F) ) \
&& rm -f xgen-umh xgen-umh~
2007-06-07 13:19:44 +00:00
gimpuimarshal.c : gimpuimarshal .h
*/Makefile.am: work around a bug in the new glib-genmarshal
glib-genmarshal was rewritten in glib 2.53.4, and as of now (2.53.6)
it has a bug where it unconditionally generates marshaler bodies,
even for standard marshalers, even with --stdinc. This causes
libgimpwidgets to define and export g_cclosure_marshal_VOID__INT()
and g_cclosure_marshal_VOID__OBJECT(), which upsets defcheck, and
breaks the build.
Work around this for now by using --header --body when generating
the marshal.c files, which includes the prototypes in the source,
instead of including the header ourselves. This is the only code
path where the new glib-genmarshal doesn't generate bodies for
standard marshalers. Note, however, that this usage is deprecated,
so we'll probably want to change it back once it's fixed.
2017-08-27 19:22:44 +00:00
$( AM_V_GEN) $( GLIB_GENMARSHAL) --prefix= _gimpui_marshal $( srcdir) /gimpuimarshal.list --header --body >> xgen-umc \
2005-06-04 22:36:05 +00:00
&& cp xgen-umc $( @F) \
&& rm -f xgen-umc xgen-umc~