1997-11-25 06:05:25 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
|
|
|
|
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(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
|
2003-05-22 05:22:22 +08:00
|
|
|
|
2002-12-26 08:11:03 +08:00
|
|
|
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:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) .libs/libgimp-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
|
|
|
|
$(INSTALL) .libs/libgimpui-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
|
2003-10-10 05:33:27 +08:00
|
|
|
$(INSTALL) gimp.def $(DESTDIR)$(libdir)
|
|
|
|
$(INSTALL) gimpui.def $(DESTDIR)$(libdir)
|
2002-12-26 08:11:03 +08:00
|
|
|
|
|
|
|
uninstall-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/libgimp-$(GIMP_API_VERSION).dll.a
|
|
|
|
-rm $(DESTDIR)$(libdir)/libgimpui-$(GIMP_API_VERSION).dll.a
|
2003-10-10 05:33:27 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimp.def
|
|
|
|
-rm $(DESTDIR)$(libdir)/gimpui.def
|
2002-12-26 08:11:03 +08:00
|
|
|
else
|
|
|
|
install-libtool-import-lib:
|
|
|
|
uninstall-libtool-import-lib:
|
|
|
|
endif
|
|
|
|
|
|
|
|
if MS_LIB_AVAILABLE
|
2004-01-22 11:51:46 +08:00
|
|
|
noinst_DATA = gimp-$(GIMP_API_VERSION).lib gimpui-$(GIMP_API_VERSION).lib
|
2002-12-26 08:11:03 +08:00
|
|
|
|
|
|
|
install-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) gimp-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
|
|
|
|
$(INSTALL) gimpui-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
|
2002-12-26 08:11:03 +08:00
|
|
|
|
|
|
|
uninstall-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimp-$(GIMP_API_VERSION).lib
|
|
|
|
-rm $(DESTDIR)$(libdir)/gimpui-$(GIMP_API_VERSION).lib
|
2002-12-26 08:11:03 +08:00
|
|
|
|
2004-01-22 11:51:46 +08: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 08:11:03 +08:00
|
|
|
|
2004-01-22 11:51:46 +08: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 08:11:03 +08:00
|
|
|
|
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
|
|
|
endif
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
gimpincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimp
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2002-05-14 23:13:14 +08:00
|
|
|
-DG_LOG_DOMAIN=\"LibGimp\" \
|
2005-02-13 23:52:44 +08:00
|
|
|
@GTHREAD_CFLAGS@
|
1999-02-04 11:18:36 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(GTK_CFLAGS) \
|
|
|
|
-I$(includedir)
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
lib_LTLIBRARIES = libgimp-2.0.la libgimpui-2.0.la
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2000-06-01 20:20:13 +08:00
|
|
|
PDB_WRAPPERS_C = \
|
2004-09-29 06:01:21 +08:00
|
|
|
gimpbrush_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpbrushes_pdb.c \
|
|
|
|
gimpbrushselect_pdb.c \
|
|
|
|
gimpchannel_pdb.c \
|
|
|
|
gimpcolor_pdb.c \
|
2004-09-23 02:43:09 +08:00
|
|
|
gimpcontext_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpconvert_pdb.c \
|
|
|
|
gimpdisplay_pdb.c \
|
|
|
|
gimpdrawable_pdb.c \
|
2004-10-27 09:23:35 +08:00
|
|
|
gimpdrawabletransform_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpedit_pdb.c \
|
|
|
|
gimpfileops_pdb.c \
|
|
|
|
gimpfloatingsel_pdb.c \
|
2003-09-05 03:58:54 +08:00
|
|
|
gimpfonts_pdb.c \
|
2003-03-28 22:13:54 +08:00
|
|
|
gimpfontselect_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpgimprc_pdb.c \
|
2004-09-29 06:01:21 +08:00
|
|
|
gimpgradient_pdb.c \
|
2000-06-02 05:18:04 +08:00
|
|
|
gimpgradients_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpgradientselect_pdb.c \
|
|
|
|
gimpguides_pdb.c \
|
|
|
|
gimphelp_pdb.c \
|
|
|
|
gimpimage_pdb.c \
|
|
|
|
gimplayer_pdb.c \
|
|
|
|
gimpmessage_pdb.c \
|
2000-06-09 02:10:03 +08:00
|
|
|
gimpmisc_pdb.c \
|
2001-12-11 01:01:49 +08:00
|
|
|
gimppainttools_pdb.c \
|
2004-09-29 06:01:21 +08:00
|
|
|
gimppalette_pdb.c \
|
2002-03-13 05:02:10 +08:00
|
|
|
gimppalettes_pdb.c \
|
|
|
|
gimppaletteselect_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpparasite_pdb.c \
|
2000-06-09 02:10:03 +08:00
|
|
|
gimppaths_pdb.c \
|
2004-09-29 06:01:21 +08:00
|
|
|
gimppattern_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimppatterns_pdb.c \
|
|
|
|
gimppatternselect_pdb.c \
|
|
|
|
gimpplugin_pdb.c \
|
|
|
|
gimpproceduraldb_pdb.c \
|
2004-08-28 04:06:17 +08:00
|
|
|
gimpprogress_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpselection_pdb.c \
|
2001-10-22 20:13:44 +08:00
|
|
|
gimpselectiontools_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimptexttool_pdb.c \
|
2001-11-20 02:23:43 +08:00
|
|
|
gimptransformtools_pdb.c \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpundo_pdb.c \
|
2005-04-14 10:32:23 +08:00
|
|
|
gimpunit_pdb.c \
|
|
|
|
gimpvectors_pdb.c
|
2000-06-01 20:20:13 +08:00
|
|
|
|
|
|
|
PDB_WRAPPERS_H = \
|
|
|
|
gimp_pdb.h \
|
2004-09-29 06:01:21 +08:00
|
|
|
gimpbrush_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpbrushes_pdb.h \
|
|
|
|
gimpbrushselect_pdb.h \
|
|
|
|
gimpchannel_pdb.h \
|
|
|
|
gimpcolor_pdb.h \
|
2004-09-23 02:43:09 +08:00
|
|
|
gimpcontext_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpconvert_pdb.h \
|
|
|
|
gimpdisplay_pdb.h \
|
|
|
|
gimpdrawable_pdb.h \
|
2004-10-27 09:23:35 +08:00
|
|
|
gimpdrawabletransform_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpedit_pdb.h \
|
|
|
|
gimpfileops_pdb.h \
|
|
|
|
gimpfloatingsel_pdb.h \
|
2003-09-05 03:58:54 +08:00
|
|
|
gimpfonts_pdb.h \
|
2003-03-28 22:13:54 +08:00
|
|
|
gimpfontselect_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpgimprc_pdb.h \
|
2004-09-29 06:01:21 +08:00
|
|
|
gimpgradient_pdb.h \
|
2000-06-02 05:18:04 +08:00
|
|
|
gimpgradients_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpgradientselect_pdb.h \
|
|
|
|
gimpguides_pdb.h \
|
|
|
|
gimphelp_pdb.h \
|
|
|
|
gimpimage_pdb.h \
|
|
|
|
gimplayer_pdb.h \
|
|
|
|
gimpmessage_pdb.h \
|
2000-06-09 02:10:03 +08:00
|
|
|
gimpmisc_pdb.h \
|
2001-12-11 01:01:49 +08:00
|
|
|
gimppainttools_pdb.h \
|
2004-09-29 06:01:21 +08:00
|
|
|
gimppalette_pdb.h \
|
2002-03-13 05:02:10 +08:00
|
|
|
gimppalettes_pdb.h \
|
|
|
|
gimppaletteselect_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpparasite_pdb.h \
|
2000-06-09 02:10:03 +08:00
|
|
|
gimppaths_pdb.h \
|
2004-09-29 06:01:21 +08:00
|
|
|
gimppattern_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimppatterns_pdb.h \
|
|
|
|
gimppatternselect_pdb.h \
|
|
|
|
gimpplugin_pdb.h \
|
|
|
|
gimpproceduraldb_pdb.h \
|
2004-08-28 04:06:17 +08:00
|
|
|
gimpprogress_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpselection_pdb.h \
|
2001-10-22 20:13:44 +08:00
|
|
|
gimpselectiontools_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimptexttool_pdb.h \
|
2001-11-20 02:23:43 +08:00
|
|
|
gimptransformtools_pdb.h \
|
2000-06-01 20:20:13 +08:00
|
|
|
gimpundo_pdb.h \
|
2005-04-14 10:32:23 +08:00
|
|
|
gimpunit_pdb.h \
|
|
|
|
gimpvectors_pdb.h
|
2000-06-01 20:20:13 +08:00
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
libgimp_2_0_la_sources = \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimp.c \
|
|
|
|
gimp.h \
|
|
|
|
gimpcompat.h \
|
|
|
|
gimptypes.h \
|
2004-10-25 09:52:12 +08:00
|
|
|
gimpenums.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
${PDB_WRAPPERS_C} \
|
|
|
|
${PDB_WRAPPERS_H} \
|
2004-09-23 03:22:24 +08:00
|
|
|
gimpbrushes.c \
|
|
|
|
gimpbrushes.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpbrushselect.c \
|
|
|
|
gimpbrushselect.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpchannel.c \
|
|
|
|
gimpchannel.h \
|
|
|
|
gimpdrawable.c \
|
|
|
|
gimpdrawable.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpfontselect.c \
|
|
|
|
gimpfontselect.h \
|
2004-09-23 23:05:48 +08:00
|
|
|
gimpgradients.c \
|
|
|
|
gimpgradients.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpgradientselect.c \
|
2003-07-21 07:28:08 +08:00
|
|
|
gimpgradientselect.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpimage.c \
|
|
|
|
gimpimage.h \
|
|
|
|
gimplayer.c \
|
|
|
|
gimplayer.h \
|
2004-09-23 02:43:09 +08:00
|
|
|
gimppalette.c \
|
|
|
|
gimppalette.h \
|
2004-09-23 23:05:48 +08:00
|
|
|
gimppalettes.c \
|
|
|
|
gimppalettes.h \
|
2004-07-27 23:15:58 +08:00
|
|
|
gimppaletteselect.c \
|
|
|
|
gimppaletteselect.h \
|
2004-09-23 23:05:48 +08:00
|
|
|
gimppatterns.c \
|
|
|
|
gimppatterns.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimppatternselect.c \
|
|
|
|
gimppatternselect.h \
|
2004-01-13 00:35:01 +08:00
|
|
|
gimppixelfetcher.c \
|
|
|
|
gimppixelfetcher.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimppixelrgn.c \
|
|
|
|
gimppixelrgn.h \
|
2004-05-19 06:54:41 +08:00
|
|
|
gimpplugin.c \
|
|
|
|
gimpplugin.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpproceduraldb.c \
|
|
|
|
gimpproceduraldb.h \
|
2004-08-30 02:36:30 +08:00
|
|
|
gimpprogress.c \
|
|
|
|
gimpprogress.h \
|
2004-01-13 00:35:01 +08:00
|
|
|
gimpregioniterator.c \
|
|
|
|
gimpregioniterator.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpselection.c \
|
|
|
|
gimpselection.h \
|
|
|
|
gimptile.c \
|
|
|
|
gimptile.h \
|
2003-11-16 06:53:28 +08:00
|
|
|
gimpunitcache.c \
|
|
|
|
gimpunitcache.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
stdplugins-intl.h \
|
|
|
|
libgimp-intl.h
|
1998-06-20 03:47:34 +08:00
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
libgimp_2_0_la_built_sources = \
|
|
|
|
gimpenums.c
|
|
|
|
|
2004-10-28 06:46:40 +08:00
|
|
|
libgimp_2_0_la_extra_sources = gimpenums.c.tail
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
COPYING \
|
|
|
|
makefile.msc \
|
|
|
|
gimp.def \
|
|
|
|
gimpui.def \
|
|
|
|
$(libgimp_2_0_la_extra_sources)
|
|
|
|
|
2004-10-25 09:52:12 +08:00
|
|
|
libgimp_2_0_la_SOURCES = \
|
|
|
|
$(libgimp_2_0_la_sources) \
|
|
|
|
$(libgimp_2_0_la_built_sources)
|
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpui_2_0_la_SOURCES = \
|
2001-01-25 06:36:18 +08:00
|
|
|
gimpui.c \
|
|
|
|
gimpui.h \
|
|
|
|
gimpuitypes.h \
|
1998-12-05 18:41:56 +08:00
|
|
|
gimpmenu.c \
|
2001-01-25 06:36:18 +08:00
|
|
|
gimpmenu.h \
|
2004-09-29 07:23:09 +08:00
|
|
|
gimpaspectpreview.c \
|
|
|
|
gimpaspectpreview.h \
|
1998-12-05 18:41:56 +08:00
|
|
|
gimpbrushmenu.c \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpbrushmenu.h \
|
2004-08-31 06:10:26 +08:00
|
|
|
gimpdrawablepreview.c \
|
|
|
|
gimpdrawablepreview.h \
|
2003-03-28 22:13:54 +08:00
|
|
|
gimpfontmenu.c \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpfontmenu.h \
|
1998-12-05 18:41:56 +08:00
|
|
|
gimpgradientmenu.c \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpgradientmenu.h \
|
2004-07-27 23:15:58 +08:00
|
|
|
gimppalettemenu.c \
|
|
|
|
gimppalettemenu.h \
|
1999-05-19 01:33:39 +08:00
|
|
|
gimppatternmenu.c \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimppatternmenu.h \
|
2004-04-21 06:14:49 +08:00
|
|
|
gimpdrawablecombobox.c \
|
|
|
|
gimpdrawablecombobox.h \
|
|
|
|
gimpimagecombobox.c \
|
|
|
|
gimpimagecombobox.h \
|
|
|
|
gimppixbuf.c \
|
|
|
|
gimppixbuf.h \
|
2004-09-01 20:38:41 +08:00
|
|
|
gimpprogressbar.c \
|
|
|
|
gimpprogressbar.h \
|
2000-01-05 23:47:06 +08:00
|
|
|
gimpexport.c \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpexport.h
|
2000-05-31 14:15:06 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpinclude_HEADERS = \
|
|
|
|
gimp.h \
|
2002-09-25 17:45:46 +08:00
|
|
|
gimpcompat.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimptypes.h \
|
2004-10-25 09:52:12 +08:00
|
|
|
gimpenums.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
${PDB_WRAPPERS_H} \
|
2004-09-23 03:22:24 +08:00
|
|
|
gimpbrushes.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpbrushselect.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpchannel.h \
|
|
|
|
gimpdrawable.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpfontselect.h \
|
2004-09-23 23:05:48 +08:00
|
|
|
gimpgradients.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpgradientselect.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpimage.h \
|
|
|
|
gimplayer.h \
|
2004-09-23 02:43:09 +08:00
|
|
|
gimppalette.h \
|
2004-09-23 23:05:48 +08:00
|
|
|
gimppalettes.h \
|
2004-07-27 23:15:58 +08:00
|
|
|
gimppaletteselect.h \
|
2004-09-23 23:05:48 +08:00
|
|
|
gimppatterns.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimppatternselect.h \
|
2004-01-13 00:35:01 +08:00
|
|
|
gimppixelfetcher.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimppixelrgn.h \
|
2004-05-19 06:54:41 +08:00
|
|
|
gimpplugin.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpproceduraldb.h \
|
2004-08-30 02:36:30 +08:00
|
|
|
gimpprogress.h \
|
2004-01-13 00:35:01 +08:00
|
|
|
gimpregioniterator.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpselection.h \
|
|
|
|
gimptile.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
\
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpui.h \
|
|
|
|
gimpuitypes.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpmenu.h \
|
2004-09-29 07:23:09 +08:00
|
|
|
gimpaspectpreview.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpbrushmenu.h \
|
2004-08-31 06:10:26 +08:00
|
|
|
gimpdrawablepreview.h \
|
2003-07-01 23:06:06 +08:00
|
|
|
gimpfontmenu.h \
|
|
|
|
gimpgradientmenu.h \
|
2004-07-27 23:15:58 +08:00
|
|
|
gimppalettemenu.h \
|
2004-04-21 06:14:49 +08:00
|
|
|
gimppatternmenu.h \
|
|
|
|
gimppixbuf.h \
|
2004-09-01 20:38:41 +08:00
|
|
|
gimpprogressbar.h \
|
2004-04-21 06:14:49 +08:00
|
|
|
gimpdrawablecombobox.h \
|
|
|
|
gimpimagecombobox.h \
|
|
|
|
gimpexport.h
|
2001-06-08 01:20:50 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimp_2_0_la_LDFLAGS = \
|
2004-01-22 11:51:46 +08:00
|
|
|
-version-info $(LT_VERSION_INFO) \
|
|
|
|
$(no_undefined) \
|
2002-12-26 08:11:03 +08:00
|
|
|
$(libgimp_export_symbols)
|
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimp_2_0_la_LIBADD = $(libgimpcolor) $(libgimpbase) $(GLIB_LIBS) $(RT_LIBS)
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimp_2_0_la_DEPENDENCIES = $(gimp_def) $(libgimpcolor) $(libgimpbase)
|
2001-02-25 22:37:12 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpui_2_0_la_LDFLAGS = \
|
2004-01-22 11:51:46 +08:00
|
|
|
-version-info $(LT_VERSION_INFO) \
|
|
|
|
$(no_undefined) \
|
2002-12-26 08:11:03 +08:00
|
|
|
$(libgimpui_export_symbols)
|
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpui_2_0_la_LIBADD = $(libgimp) $(libgimpwidgets) $(libgimpcolor) \
|
2004-01-04 06:41:09 +08:00
|
|
|
$(libgimpbase) $(libgimpmodule) $(GTK_LIBS) $(RT_LIBS)
|
2002-12-26 08:11:03 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpui_2_0_la_DEPENDENCIES = $(gimpui_def) $(libgimp) $(libgimpwidgets) $(libgimpbase)
|
2002-12-26 08:11:03 +08:00
|
|
|
|
|
|
|
install-data-local: install-ms-lib install-libtool-import-lib
|
2001-02-25 22:37:12 +08:00
|
|
|
|
2002-12-26 08:11:03 +08:00
|
|
|
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|
2004-10-25 09:52:12 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# rules to generate built sources
|
|
|
|
#
|
|
|
|
# setup autogeneration dependencies
|
|
|
|
gen_sources = xgen-cec
|
|
|
|
CLEANFILES = $(gen_sources)
|
|
|
|
|
2004-10-26 03:29:00 +08:00
|
|
|
$(srcdir)/gimpenums.c: $(srcdir)/gimpenums.h $(srcdir)/gimpenums.c.tail $(GIMP_MKENUMS)
|
2004-10-25 09:52:12 +08:00
|
|
|
$(GIMP_MKENUMS) \
|
2004-10-26 01:55:25 +08:00
|
|
|
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"gimpenums.h\"" \
|
2004-10-25 09:52:12 +08: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-26 01:55:25 +08:00
|
|
|
--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 (! type)\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_domain (type, GETTEXT_PACKAGE \"-libgimp\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \
|
2004-10-25 09:52:12 +08:00
|
|
|
$(srcdir)/gimpenums.h > xgen-cec \
|
2004-10-26 03:29:00 +08:00
|
|
|
&& cat $(srcdir)/gimpenums.c.tail >> xgen-cec \
|
2004-10-25 09:52:12 +08:00
|
|
|
&& cp xgen-cec $(@F) \
|
|
|
|
&& rm -f xgen-cec
|