2001-01-25 03:40:15 +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
|
2005-02-05 05:55:06 +08:00
|
|
|
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
|
2003-05-22 05:22:22 +08:00
|
|
|
|
2002-12-23 09:51:58 +08:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
|
|
|
|
|
|
|
if PLATFORM_WIN32
|
|
|
|
else
|
|
|
|
libm = -lm
|
|
|
|
endif
|
|
|
|
|
|
|
|
if OS_WIN32
|
|
|
|
gimpwidgets_def = gimpwidgets.def
|
|
|
|
libgimpwidgets_export_symbols = -export-symbols gimpwidgets.def
|
|
|
|
|
|
|
|
install-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) .libs/libgimpwidgets-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
|
2003-10-10 05:33:27 +08:00
|
|
|
$(INSTALL) gimpwidgets.def $(DESTDIR)$(libdir)
|
2002-12-23 09:51:58 +08:00
|
|
|
|
|
|
|
uninstall-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/libgimpwidgets-$(GIMP_API_VERSION).dll.a
|
2003-10-10 05:33:27 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpwidgets.def
|
2002-12-23 09:51:58 +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 = gimpwidgets-$(GIMP_API_VERSION).lib
|
2002-12-23 09:51:58 +08:00
|
|
|
|
|
|
|
install-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) gimpwidgets-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
|
2002-12-23 09:51:58 +08:00
|
|
|
|
|
|
|
uninstall-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpwidgets-$(GIMP_API_VERSION).lib
|
2002-12-23 09:51:58 +08:00
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
gimpwidgets-@GIMP_API_VERSION@.lib: gimpwidgets.def
|
|
|
|
lib -name:libgimpwidgets-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpwidgets.def -out:$@
|
2002-12-23 09:51:58 +08:00
|
|
|
|
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
|
|
|
endif
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpwidgetsincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpwidgets
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2007-06-25 20:41:59 +08:00
|
|
|
-DG_LOG_DOMAIN=\"LibGimpWidgets\"
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(GTK_CFLAGS) \
|
|
|
|
-I$(includedir)
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
lib_LTLIBRARIES = libgimpwidgets-2.0.la
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpwidgets_2_0_la_sources = \
|
2007-08-15 00:01:04 +08:00
|
|
|
gimpwidgets.c \
|
|
|
|
gimpwidgets.h \
|
|
|
|
gimpwidgetsenums.h \
|
|
|
|
gimpwidgetstypes.h \
|
|
|
|
gimpbrowser.c \
|
|
|
|
gimpbrowser.h \
|
|
|
|
gimpbutton.c \
|
|
|
|
gimpbutton.h \
|
2007-12-12 22:17:19 +08:00
|
|
|
gimpcairo-utils.c \
|
|
|
|
gimpcairo-utils.h \
|
2007-08-15 00:01:04 +08:00
|
|
|
gimpcellrenderercolor.c \
|
|
|
|
gimpcellrenderercolor.h \
|
|
|
|
gimpcellrenderertoggle.c \
|
|
|
|
gimpcellrenderertoggle.h \
|
|
|
|
gimpchainbutton.c \
|
|
|
|
gimpchainbutton.h \
|
|
|
|
gimpcolorarea.c \
|
|
|
|
gimpcolorarea.h \
|
|
|
|
gimpcolorbutton.c \
|
|
|
|
gimpcolorbutton.h \
|
|
|
|
gimpcolordisplay.c \
|
|
|
|
gimpcolordisplay.h \
|
|
|
|
gimpcolordisplaystack.c \
|
|
|
|
gimpcolordisplaystack.h \
|
|
|
|
gimpenumwidgets.c \
|
|
|
|
gimpenumwidgets.h \
|
|
|
|
gimpcolorhexentry.c \
|
|
|
|
gimpcolorhexentry.h \
|
|
|
|
gimpcolorprofilecombobox.c \
|
|
|
|
gimpcolorprofilecombobox.h \
|
|
|
|
gimpcolorprofilestore.c \
|
|
|
|
gimpcolorprofilestore.h \
|
|
|
|
gimpcolorprofilestore-private.h \
|
|
|
|
gimpcolornotebook.c \
|
|
|
|
gimpcolornotebook.h \
|
|
|
|
gimpcolorscale.c \
|
|
|
|
gimpcolorscale.h \
|
|
|
|
gimpcolorscales.c \
|
|
|
|
gimpcolorscales.h \
|
|
|
|
gimpcolorselector.c \
|
|
|
|
gimpcolorselector.h \
|
|
|
|
gimpcolorselect.c \
|
|
|
|
gimpcolorselect.h \
|
|
|
|
gimpcolorselection.c \
|
|
|
|
gimpcolorselection.h \
|
|
|
|
gimpcontroller.c \
|
|
|
|
gimpcontroller.h \
|
|
|
|
gimpdialog.c \
|
|
|
|
gimpdialog.h \
|
|
|
|
gimpenumstore.c \
|
|
|
|
gimpenumstore.h \
|
|
|
|
gimpenumcombobox.c \
|
|
|
|
gimpenumcombobox.h \
|
|
|
|
gimpenumlabel.c \
|
|
|
|
gimpenumlabel.h \
|
|
|
|
gimpfileentry.c \
|
|
|
|
gimpfileentry.h \
|
|
|
|
gimpframe.c \
|
|
|
|
gimpframe.h \
|
|
|
|
gimphelpui.c \
|
|
|
|
gimphelpui.h \
|
|
|
|
gimphintbox.c \
|
|
|
|
gimphintbox.h \
|
|
|
|
gimpintcombobox.c \
|
|
|
|
gimpintcombobox.h \
|
|
|
|
gimpintstore.c \
|
|
|
|
gimpintstore.h \
|
|
|
|
gimpmemsizeentry.c \
|
|
|
|
gimpmemsizeentry.h \
|
|
|
|
gimpnumberpairentry.c \
|
|
|
|
gimpnumberpairentry.h \
|
|
|
|
gimpoldwidgets.c \
|
|
|
|
gimpoldwidgets.h \
|
|
|
|
gimpoffsetarea.c \
|
|
|
|
gimpoffsetarea.h \
|
|
|
|
gimppageselector.c \
|
|
|
|
gimppageselector.h \
|
|
|
|
gimppatheditor.c \
|
|
|
|
gimppatheditor.h \
|
|
|
|
gimppickbutton.c \
|
|
|
|
gimppickbutton.h \
|
|
|
|
gimppixmap.c \
|
|
|
|
gimppixmap.h \
|
|
|
|
gimppreview.c \
|
|
|
|
gimppreview.h \
|
|
|
|
gimppreviewarea.c \
|
|
|
|
gimppreviewarea.h \
|
|
|
|
gimppropwidgets.c \
|
|
|
|
gimppropwidgets.h \
|
|
|
|
gimpquerybox.c \
|
|
|
|
gimpquerybox.h \
|
2008-05-27 05:20:16 +08:00
|
|
|
gimpruler.c \
|
|
|
|
gimpruler.h \
|
2008-02-15 01:02:47 +08:00
|
|
|
gimpscaleentry.c \
|
2008-02-15 01:49:53 +08:00
|
|
|
gimpscaleentry.h \
|
2007-08-15 00:01:04 +08:00
|
|
|
gimpscrolledpreview.c \
|
|
|
|
gimpscrolledpreview.h \
|
|
|
|
gimpsizeentry.c \
|
|
|
|
gimpsizeentry.h \
|
|
|
|
gimpstock.c \
|
|
|
|
gimpstock.h \
|
|
|
|
gimpstringcombobox.c \
|
|
|
|
gimpstringcombobox.h \
|
|
|
|
gimpunitmenu.c \
|
|
|
|
gimpunitmenu.h \
|
|
|
|
gimpzoommodel.c \
|
|
|
|
gimpzoommodel.h \
|
|
|
|
gimpwidgets-private.c \
|
2003-05-24 02:27:05 +08:00
|
|
|
gimpwidgets-private.h
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpwidgets_2_0_la_built_sources = \
|
2005-05-21 02:34:00 +08:00
|
|
|
gimpwidgetsenums.c \
|
2002-01-30 16:31:00 +08:00
|
|
|
gimpwidgetsmarshal.c \
|
2006-03-29 19:59:51 +08:00
|
|
|
gimpwidgetsmarshal.h \
|
|
|
|
gimp-wilber-pixbufs.h
|
2002-01-30 16:31:00 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpwidgets_2_0_la_extra_sources = gimpwidgetsmarshal.list
|
2002-01-30 16:31:00 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpwidgets_2_0_la_SOURCES = \
|
|
|
|
$(libgimpwidgets_2_0_la_built_sources) \
|
|
|
|
$(libgimpwidgets_2_0_la_sources)
|
2002-01-30 16:31:00 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libgimpwidgetsinclude_HEADERS = \
|
2007-08-15 00:01:04 +08:00
|
|
|
gimpwidgets.h \
|
|
|
|
gimpwidgetsenums.h \
|
|
|
|
gimpwidgetstypes.h \
|
|
|
|
gimpbrowser.h \
|
|
|
|
gimpbutton.h \
|
2007-12-12 22:17:19 +08:00
|
|
|
gimpcairo-utils.h \
|
2007-08-15 00:01:04 +08:00
|
|
|
gimpcellrenderercolor.h \
|
|
|
|
gimpcellrenderertoggle.h \
|
|
|
|
gimpchainbutton.h \
|
|
|
|
gimpcolorarea.h \
|
|
|
|
gimpcolorbutton.h \
|
|
|
|
gimpcolorprofilecombobox.h \
|
|
|
|
gimpcolorprofilestore.h \
|
|
|
|
gimpcolordisplay.h \
|
|
|
|
gimpcolordisplaystack.h \
|
|
|
|
gimpcolorhexentry.h \
|
|
|
|
gimpcolornotebook.h \
|
|
|
|
gimpcolorscale.h \
|
|
|
|
gimpcolorscales.h \
|
|
|
|
gimpcolorselector.h \
|
|
|
|
gimpcolorselect.h \
|
|
|
|
gimpcolorselection.h \
|
|
|
|
gimpcontroller.h \
|
|
|
|
gimpdialog.h \
|
|
|
|
gimpenumcombobox.h \
|
|
|
|
gimpenumlabel.h \
|
|
|
|
gimpenumstore.h \
|
|
|
|
gimpenumwidgets.h \
|
|
|
|
gimpfileentry.h \
|
|
|
|
gimpframe.h \
|
|
|
|
gimphelpui.h \
|
|
|
|
gimphintbox.h \
|
|
|
|
gimpintcombobox.h \
|
|
|
|
gimpintstore.h \
|
|
|
|
gimpmemsizeentry.h \
|
|
|
|
gimpnumberpairentry.h \
|
|
|
|
gimpoldwidgets.h \
|
|
|
|
gimpoffsetarea.h \
|
|
|
|
gimppageselector.h \
|
|
|
|
gimppatheditor.h \
|
|
|
|
gimppickbutton.h \
|
|
|
|
gimppixmap.h \
|
|
|
|
gimppreview.h \
|
|
|
|
gimppreviewarea.h \
|
|
|
|
gimppropwidgets.h \
|
|
|
|
gimpquerybox.h \
|
2008-05-27 05:20:16 +08:00
|
|
|
gimpruler.h \
|
2008-02-15 01:02:47 +08:00
|
|
|
gimpscaleentry.h \
|
2007-08-15 00:01:04 +08:00
|
|
|
gimpscrolledpreview.h \
|
|
|
|
gimpsizeentry.h \
|
|
|
|
gimpstock.h \
|
|
|
|
gimpstringcombobox.h \
|
|
|
|
gimpunitmenu.h \
|
2005-09-20 06:58:16 +08:00
|
|
|
gimpzoommodel.h
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpwidgets_2_0_la_LDFLAGS = \
|
2007-08-15 00:01:04 +08:00
|
|
|
-version-info $(LT_VERSION_INFO)\
|
|
|
|
$(no_undefined) \
|
2002-12-23 09:51:58 +08:00
|
|
|
$(libgimpwidgets_export_symbols)
|
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpwidgets_2_0_la_LIBADD = \
|
2007-08-15 00:01:04 +08:00
|
|
|
$(libgimpcolor) \
|
|
|
|
$(libgimpconfig) \
|
|
|
|
$(libgimpbase) \
|
|
|
|
$(GTK_LIBS) \
|
2003-11-16 22:17:48 +08:00
|
|
|
$(libm)
|
2001-02-25 22:37:12 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpwidgets_2_0_la_DEPENDENCIES = $(gimpwidgets_def)
|
2002-01-30 16:31:00 +08:00
|
|
|
|
2006-03-29 19:59:51 +08:00
|
|
|
|
|
|
|
## Wilber icons for the window managaer, compiled in
|
|
|
|
|
|
|
|
WILBER_IMAGES = \
|
|
|
|
wilber-16.png \
|
|
|
|
wilber-32.png \
|
|
|
|
wilber-48.png \
|
|
|
|
wilber-64.png
|
|
|
|
|
|
|
|
WILBER_VARIABLES = \
|
|
|
|
wilber_16 $(srcdir)/wilber-16.png \
|
|
|
|
wilber_32 $(srcdir)/wilber-32.png \
|
|
|
|
wilber_48 $(srcdir)/wilber-48.png \
|
|
|
|
wilber_64 $(srcdir)/wilber-64.png
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
makefile.msc \
|
|
|
|
gimpwidgets.def \
|
|
|
|
$(libgimpwidgets_2_0_la_extra_sources) \
|
|
|
|
$(WILBER_IMAGES)
|
|
|
|
|
|
|
|
|
2007-06-07 16:35:20 +08:00
|
|
|
gimpwidgets-private.lo: gimp-wilber-pixbufs.h
|
2006-03-29 20:27:29 +08:00
|
|
|
|
|
|
|
|
2002-01-30 16:31:00 +08:00
|
|
|
#
|
|
|
|
# rules to generate built sources
|
|
|
|
#
|
|
|
|
# setup autogeneration dependancies
|
2006-03-29 20:27:29 +08:00
|
|
|
gen_sources = xgen-wec xgen-wmh xgen-wmc gimp-wilber-pixbufs.h
|
2002-01-30 16:31:00 +08:00
|
|
|
CLEANFILES = $(gen_sources)
|
|
|
|
|
2007-06-07 21:19:44 +08:00
|
|
|
gimpwidgetsenums.c: $(srcdir)/gimpwidgetsenums.h $(GIMP_MKENUMS)
|
2005-05-21 02:34:00 +08:00
|
|
|
$(GIMP_MKENUMS) \
|
2005-05-23 04:57:23 +08:00
|
|
|
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"gimpwidgetsenums.h\"\n#include \"libgimp/libgimp-intl.h\"" \
|
2005-05-21 02:34:00 +08:00
|
|
|
--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@\" }," \
|
2005-05-23 04:57:23 +08:00
|
|
|
--vtail " { 0, NULL, NULL }\n };\n" \
|
|
|
|
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
|
|
|
|
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
|
2008-11-04 05:38:13 +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_domain (type, GETTEXT_PACKAGE \"-libgimp\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \
|
2005-05-21 02:34:00 +08:00
|
|
|
$(srcdir)/gimpwidgetsenums.h > xgen-wec \
|
|
|
|
&& cp xgen-wec $(@F) \
|
|
|
|
&& rm -f xgen-wec
|
|
|
|
|
2007-06-07 21:19:44 +08:00
|
|
|
gimpwidgetsmarshal.h: $(srcdir)/gimpwidgetsmarshal.list
|
2005-05-21 02:34:00 +08:00
|
|
|
$(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --header >> xgen-wmh \
|
|
|
|
&& (cmp -s xgen-wmh $(@F) || cp xgen-wmh $(@F)) \
|
|
|
|
&& rm -f xgen-wmh xgen-wmh~
|
2002-01-30 16:31:00 +08:00
|
|
|
|
2007-06-07 21:19:44 +08:00
|
|
|
gimpwidgetsmarshal.c: gimpwidgetsmarshal.h
|
2005-05-21 02:34:00 +08:00
|
|
|
echo "#include \"gimpwidgetsmarshal.h\"" >> xgen-wmc \
|
|
|
|
&& $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --body >> xgen-wmc \
|
|
|
|
&& cp xgen-wmc $(@F) \
|
|
|
|
&& rm -f xgen-wmc xgen-wmc~
|
2002-01-30 16:31:00 +08:00
|
|
|
|
2004-07-30 05:08:13 +08:00
|
|
|
|
2007-06-07 21:19:44 +08:00
|
|
|
gimp-wilber-pixbufs.h: $(WILBER_IMAGES) Makefile.am
|
2006-03-29 19:59:51 +08:00
|
|
|
$(GDK_PIXBUF_CSOURCE) --raw --build-list $(WILBER_VARIABLES) > $(@F)
|
|
|
|
|
|
|
|
|
2004-07-30 05:08:13 +08:00
|
|
|
#
|
2007-05-31 21:18:13 +08:00
|
|
|
# test programs, not installed
|
2004-07-30 05:08:13 +08:00
|
|
|
#
|
|
|
|
|
2007-06-01 18:26:12 +08:00
|
|
|
EXTRA_PROGRAMS = test-preview-area
|
2004-07-30 05:08:13 +08:00
|
|
|
|
|
|
|
test_preview_area_SOURCES = test-preview-area.c
|
|
|
|
|
|
|
|
test_preview_area_DEPENDENCIES = \
|
|
|
|
$(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la \
|
|
|
|
$(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
|
|
|
|
|
|
|
|
test_preview_area_LDADD = \
|
|
|
|
$(GTK_LIBS) \
|
|
|
|
$(test_preview_area_DEPENDENCIES)
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-12-23 09:51:58 +08:00
|
|
|
install-data-local: install-ms-lib install-libtool-import-lib
|
|
|
|
|
|
|
|
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|