123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447 |
- ## Process this file with automake to produce Makefile.in
- libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
- libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
- libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
- libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la
- libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
- libgimp = ./libgimp-$(GIMP_API_VERSION).la
- if PLATFORM_WIN32
- no_undefined = -no-undefined
- endif
- if OS_WIN32
- gimp_def = gimp.def
- gimpui_def = gimpui.def
- libgimp_export_symbols = -export-symbols gimp.def
- libgimpui_export_symbols = -export-symbols gimpui.def
- install-libtool-import-lib:
- $(INSTALL) .libs/libgimp-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
- $(INSTALL) .libs/libgimpui-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
- $(INSTALL) gimp.def $(DESTDIR)$(libdir)
- $(INSTALL) gimpui.def $(DESTDIR)$(libdir)
- uninstall-libtool-import-lib:
- -rm $(DESTDIR)$(libdir)/libgimp-$(GIMP_API_VERSION).dll.a
- -rm $(DESTDIR)$(libdir)/libgimpui-$(GIMP_API_VERSION).dll.a
- -rm $(DESTDIR)$(libdir)/gimp.def
- -rm $(DESTDIR)$(libdir)/gimpui.def
- else
- install-libtool-import-lib:
- uninstall-libtool-import-lib:
- endif
- if MS_LIB_AVAILABLE
- noinst_DATA = gimp-$(GIMP_API_VERSION).lib gimpui-$(GIMP_API_VERSION).lib
- install-ms-lib:
- $(INSTALL) gimp-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
- $(INSTALL) gimpui-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
- uninstall-ms-lib:
- -rm $(DESTDIR)$(libdir)/gimp-$(GIMP_API_VERSION).lib
- -rm $(DESTDIR)$(libdir)/gimpui-$(GIMP_API_VERSION).lib
- gimp-@GIMP_API_VERSION@.lib: gimp.def
- lib -name:libgimp-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimp.def -out:$@
- gimpui-@GIMP_API_VERSION@.lib: gimpui.def
- lib -name:libgimpui-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpui.def -out:$@
- else
- install-ms-lib:
- uninstall-ms-lib:
- endif
- gimpincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimp
- AM_CPPFLAGS = \
- -DG_LOG_DOMAIN=\"LibGimp\" \
- -DGIMP_COMPILATION
- INCLUDES = \
- -I$(top_srcdir) \
- $(GTK_CFLAGS) \
- $(GEGL_CFLAGS) \
- -I$(includedir)
- lib_LTLIBRARIES = libgimp-@GIMP_API_VERSION@.la libgimpui-@GIMP_API_VERSION@.la
- PDB_WRAPPERS_C = \
- gimp_pdb.c \
- gimpbrush_pdb.c \
- gimpbrushes_pdb.c \
- gimpbrushselect_pdb.c \
- gimpbuffer_pdb.c \
- gimpchannel_pdb.c \
- gimpcolor_pdb.c \
- gimpcontext_pdb.c \
- gimpconvert_pdb.c \
- gimpdisplay_pdb.c \
- gimpdrawable_pdb.c \
- gimpdrawabletransform_pdb.c \
- gimpdynamics_pdb.c \
- gimpedit_pdb.c \
- gimpfileops_pdb.c \
- gimpfloatingsel_pdb.c \
- gimpfonts_pdb.c \
- gimpfontselect_pdb.c \
- gimpgimprc_pdb.c \
- gimpgradient_pdb.c \
- gimpgradients_pdb.c \
- gimpgradientselect_pdb.c \
- gimpguides_pdb.c \
- gimpgrid_pdb.c \
- gimphelp_pdb.c \
- gimpimage_pdb.c \
- gimpimageselect_pdb.c \
- gimpitem_pdb.c \
- gimpitemtransform_pdb.c \
- gimplayer_pdb.c \
- gimpmessage_pdb.c \
- gimppainttools_pdb.c \
- gimppalette_pdb.c \
- gimppalettes_pdb.c \
- gimppaletteselect_pdb.c \
- gimppaths_pdb.c \
- gimppattern_pdb.c \
- gimppatterns_pdb.c \
- gimppatternselect_pdb.c \
- gimpplugin_pdb.c \
- gimpproceduraldb_pdb.c \
- gimpprogress_pdb.c \
- gimpselection_pdb.c \
- gimpselectiontools_pdb.c \
- gimptextlayer_pdb.c \
- gimptexttool_pdb.c \
- gimptransformtools_pdb.c \
- gimpundo_pdb.c \
- gimpunit_pdb.c \
- gimpvectors_pdb.c
- PDB_WRAPPERS_H = \
- gimp_pdb_headers.h \
- gimp_pdb.h \
- gimpbrush_pdb.h \
- gimpbrushes_pdb.h \
- gimpbrushselect_pdb.h \
- gimpbuffer_pdb.h \
- gimpchannel_pdb.h \
- gimpcolor_pdb.h \
- gimpcontext_pdb.h \
- gimpconvert_pdb.h \
- gimpdisplay_pdb.h \
- gimpdrawable_pdb.h \
- gimpdrawabletransform_pdb.h \
- gimpdynamics_pdb.h \
- gimpedit_pdb.h \
- gimpfileops_pdb.h \
- gimpfloatingsel_pdb.h \
- gimpfonts_pdb.h \
- gimpfontselect_pdb.h \
- gimpgimprc_pdb.h \
- gimpgradient_pdb.h \
- gimpgradients_pdb.h \
- gimpgradientselect_pdb.h \
- gimpgrid_pdb.h \
- gimpguides_pdb.h \
- gimphelp_pdb.h \
- gimpimage_pdb.h \
- gimpimageselect_pdb.h \
- gimpitem_pdb.h \
- gimpitemtransform_pdb.h \
- gimplayer_pdb.h \
- gimpmessage_pdb.h \
- gimppainttools_pdb.h \
- gimppalette_pdb.h \
- gimppalettes_pdb.h \
- gimppaletteselect_pdb.h \
- gimppaths_pdb.h \
- gimppattern_pdb.h \
- gimppatterns_pdb.h \
- gimppatternselect_pdb.h \
- gimpplugin_pdb.h \
- gimpproceduraldb_pdb.h \
- gimpprogress_pdb.h \
- gimpselection_pdb.h \
- gimpselectiontools_pdb.h \
- gimptextlayer_pdb.h \
- gimptexttool_pdb.h \
- gimptransformtools_pdb.h \
- gimpundo_pdb.h \
- gimpunit_pdb.h \
- gimpvectors_pdb.h
- libgimp_sources = \
- gimp.c \
- gimp.h \
- gimpcompat.h \
- gimptypes.h \
- gimpenums.h \
- ${PDB_WRAPPERS_C} \
- ${PDB_WRAPPERS_H} \
- gimpbrushes.c \
- gimpbrushes.h \
- gimpbrushselect.c \
- gimpbrushselect.h \
- gimpchannel.c \
- gimpchannel.h \
- gimpdrawable.c \
- gimpdrawable.h \
- gimpfontselect.c \
- gimpfontselect.h \
- gimpgimprc.c \
- gimpgimprc.h \
- gimpgradients.c \
- gimpgradients.h \
- gimpgradientselect.c \
- gimpgradientselect.h \
- gimpimage.c \
- gimpimage.h \
- gimplayer.c \
- gimplayer.h \
- gimppalette.c \
- gimppalette.h \
- gimppalettes.c \
- gimppalettes.h \
- gimppaletteselect.c \
- gimppaletteselect.h \
- gimppatterns.c \
- gimppatterns.h \
- gimppatternselect.c \
- gimppatternselect.h \
- gimppixbuf.c \
- gimppixbuf.h \
- gimppixelfetcher.c \
- gimppixelfetcher.h \
- gimppixelrgn.c \
- gimppixelrgn.h \
- gimpplugin.c \
- gimpplugin.h \
- gimpproceduraldb.c \
- gimpproceduraldb.h \
- gimpprogress.c \
- gimpprogress.h \
- gimpregioniterator.c \
- gimpregioniterator.h \
- gimpselection.c \
- gimpselection.h \
- gimptile.c \
- gimptile.h \
- gimptilebackendplugin.c \
- gimptilebackendplugin.h \
- gimpunitcache.c \
- gimpunitcache.h \
- gimpvectors.c \
- gimpvectors.h \
- stdplugins-intl.h \
- libgimp-intl.h
- libgimp_built_sources = \
- gimpenums.c
- libgimp_extra_sources = gimpenums.c.tail
- libgimp_@GIMP_API_VERSION@_la_SOURCES = \
- $(libgimp_built_sources) \
- $(libgimp_sources)
- libgimpui_sources = \
- 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 \
- gimpitemcombobox.c \
- gimpitemcombobox.h \
- 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 \
- gimpzoompreview.h
- libgimpui_built_sources = \
- gimpuimarshal.c \
- gimpuimarshal.h
- libgimpui_extra_sources = gimpuimarshal.list
- libgimpui_@GIMP_API_VERSION@_la_SOURCES = \
- $(libgimpui_built_sources) \
- $(libgimpui_sources)
- gimpinclude_HEADERS = \
- gimp.h \
- gimpcompat.h \
- gimptypes.h \
- gimpenums.h \
- ${PDB_WRAPPERS_H} \
- gimpbrushes.h \
- gimpbrushselect.h \
- gimpchannel.h \
- gimpdrawable.h \
- gimpfontselect.h \
- gimpgimprc.h \
- gimpgradients.h \
- gimpgradientselect.h \
- gimpimage.h \
- 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 \
- gimpvectors.h \
- \
- gimpui.h \
- gimpuitypes.h \
- gimpaspectpreview.h \
- gimpbrushmenu.h \
- gimpbrushselectbutton.h \
- gimpdrawablepreview.h \
- gimpexport.h \
- gimpfontmenu.h \
- gimpfontselectbutton.h \
- gimpgradientmenu.h \
- gimpgradientselectbutton.h \
- gimpimagecombobox.h \
- gimpitemcombobox.h \
- gimpmenu.h \
- gimppalettemenu.h \
- gimppaletteselectbutton.h \
- gimppatternmenu.h \
- gimppatternselectbutton.h \
- gimppixbuf.h \
- gimpprocbrowserdialog.h \
- gimpprocview.h \
- gimpprogressbar.h \
- gimpselectbutton.h \
- gimpzoompreview.h
- libgimp_@GIMP_API_VERSION@_la_LDFLAGS = \
- -version-info $(LT_VERSION_INFO) \
- $(no_undefined) \
- $(libgimp_export_symbols)
- libgimp_@GIMP_API_VERSION@_la_LIBADD = \
- $(libgimpconfig) \
- $(libgimpcolor) \
- $(libgimpbase) \
- $(CAIRO_LIBS) \
- $(GEGL_LIBS) \
- $(GDK_PIXBUF_LIBS) \
- $(RT_LIBS)
- libgimp_@GIMP_API_VERSION@_la_DEPENDENCIES = \
- $(gimp_def) \
- $(libgimpconfig) \
- $(libgimpcolor) \
- $(libgimpbase)
- libgimpui_@GIMP_API_VERSION@_la_LDFLAGS = \
- -version-info $(LT_VERSION_INFO) \
- $(no_undefined) \
- $(libgimpui_export_symbols)
- libgimpui_@GIMP_API_VERSION@_la_LIBADD = \
- $(libgimp) \
- $(libgimpwidgets) \
- $(libgimpcolor) \
- $(libgimpbase) \
- $(libgimpmodule) \
- $(GTK_LIBS) \
- $(RT_LIBS)
- libgimpui_@GIMP_API_VERSION@_la_DEPENDENCIES = \
- $(gimpui_def) \
- $(libgimp) \
- $(libgimpwidgets) \
- $(libgimpbase)
- EXTRA_DIST = \
- COPYING \
- gimp.def \
- gimpui.def \
- $(libgimp_extra_sources) \
- $(libgimpui_extra_sources)
- install-data-local: install-ms-lib install-libtool-import-lib
- uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
- #
- # rules to generate built sources
- #
- # setup autogeneration dependencies
- gen_sources = xgen-cec xgen-umh xgen-umc
- CLEANFILES = $(gen_sources)
- gimpenums.c: $(srcdir)/gimpenums.h $(srcdir)/gimpenums.c.tail $(GIMP_MKENUMS)
- $(GIMP_MKENUMS) \
- --fhead "#include \"config.h\"\n#include <glib-object.h>\n#undef GIMP_DISABLE_DEPRECATED\n#include \"libgimpbase/gimpbase.h\"\n#include \"gimpenums.h\"" \
- --fprod "\n/* enumerations from \"@filename@\" */" \
- --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
- --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
- --vtail " { 0, NULL, NULL }\n };\n" \
- --dhead " static const Gimp@Type@Desc descs[] =\n {" \
- --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
- --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" \
- $(srcdir)/gimpenums.h > xgen-cec \
- && cat $(srcdir)/gimpenums.c.tail >> xgen-cec \
- && cp xgen-cec $(@F) \
- && rm -f xgen-cec
- gimpuimarshal.h: $(srcdir)/gimpuimarshal.list
- $(GLIB_GENMARSHAL) --prefix=_gimpui_marshal $(srcdir)/gimpuimarshal.list --header >> xgen-umh \
- && (cmp -s xgen-umh $(@F) || cp xgen-umh $(@F)) \
- && rm -f xgen-umh xgen-umh~
- gimpuimarshal.c: gimpuimarshal.h
- echo "#include \"gimpuimarshal.h\"" >> xgen-umc \
- && $(GLIB_GENMARSHAL) --prefix=_gimpui_marshal $(srcdir)/gimpuimarshal.list --body >> xgen-umc \
- && cp xgen-umc $(@F) \
- && rm -f xgen-umc xgen-umc~
|