2001-01-25 03:40:15 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2003-05-22 05:22:22 +08:00
|
|
|
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-1.3.la
|
|
|
|
|
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:
|
|
|
|
$(INSTALL) .libs/libgimpwidgets-1.3.dll.a $(DESTDIR)$(libdir)
|
|
|
|
|
|
|
|
uninstall-libtool-import-lib:
|
|
|
|
-rm $(DESTDIR)$(libdir)/libgimpwidgets-1.3.dll.a
|
|
|
|
else
|
|
|
|
install-libtool-import-lib:
|
|
|
|
uninstall-libtool-import-lib:
|
|
|
|
endif
|
|
|
|
|
|
|
|
if MS_LIB_AVAILABLE
|
|
|
|
noinst_DATA = gimpwidgets-1.3.lib
|
|
|
|
|
|
|
|
install-ms-lib:
|
|
|
|
$(INSTALL) gimpwidgets-1.3.lib $(DESTDIR)$(libdir)
|
|
|
|
|
|
|
|
uninstall-ms-lib:
|
|
|
|
-rm $(DESTDIR)$(libdir)/gimpwidgets-1.3.lib
|
|
|
|
|
|
|
|
gimpwidgets-1.3.lib: gimpwidgets.def
|
|
|
|
lib -name:libgimpwidgets-1.3-@LT_CURRENT_MINUS_AGE@.dll -def:gimpwidgets.def -out:$@
|
|
|
|
|
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
|
|
|
endif
|
|
|
|
|
2001-02-25 22:37:12 +08:00
|
|
|
libgimpwidgetsincludedir = $(includedir)/gimp-$(LT_RELEASE)/libgimpwidgets
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2001-01-25 03:40:15 +08:00
|
|
|
-DG_LOG_DOMAIN=\"LibGimpWidgets\" \
|
2002-12-23 09:51:58 +08:00
|
|
|
-DLT_RELEASE=\"@LT_RELEASE@\" \
|
|
|
|
-DLT_CURRENT_MINUS_AGE=\"@LT_CURRENT_MINUS_AGE@\" \
|
2002-06-08 07:00:46 +08:00
|
|
|
@GIMP_THREAD_FLAGS@
|
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
|
|
|
|
2001-02-25 22:37:12 +08:00
|
|
|
lib_LTLIBRARIES = libgimpwidgets-1.3.la
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libgimpwidgets_1_3_la_sources = \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimpwidgets.c \
|
|
|
|
gimpwidgets.h \
|
|
|
|
gimpwidgetstypes.h \
|
2001-05-07 04:31:46 +08:00
|
|
|
gimpbutton.c \
|
|
|
|
gimpbutton.h \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimpchainbutton.c \
|
|
|
|
gimpchainbutton.h \
|
|
|
|
gimpcolorarea.c \
|
|
|
|
gimpcolorarea.h \
|
|
|
|
gimpcolorbutton.c \
|
|
|
|
gimpcolorbutton.h \
|
2002-10-20 18:14:17 +08:00
|
|
|
gimpcolordisplay.c \
|
|
|
|
gimpcolordisplay.h \
|
2002-10-28 21:19:02 +08:00
|
|
|
gimpcolornotebook.c \
|
|
|
|
gimpcolornotebook.h \
|
2002-10-30 07:16:17 +08:00
|
|
|
gimpcolorscale.c \
|
|
|
|
gimpcolorscale.h \
|
2002-10-29 04:13:17 +08:00
|
|
|
gimpcolorscales.c \
|
|
|
|
gimpcolorscales.h \
|
2002-10-20 18:14:17 +08:00
|
|
|
gimpcolorselector.c \
|
|
|
|
gimpcolorselector.h \
|
|
|
|
gimpcolorselect.c \
|
|
|
|
gimpcolorselect.h \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimpdialog.c \
|
|
|
|
gimpdialog.h \
|
|
|
|
gimpfileselection.c \
|
|
|
|
gimpfileselection.h \
|
|
|
|
gimphelpui.c \
|
|
|
|
gimphelpui.h \
|
2003-01-05 21:52:14 +08:00
|
|
|
gimpmemsizeentry.c \
|
|
|
|
gimpmemsizeentry.h \
|
2001-05-07 05:51:20 +08:00
|
|
|
gimpoffsetarea.c \
|
|
|
|
gimpoffsetarea.h \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimppatheditor.c \
|
|
|
|
gimppatheditor.h \
|
2002-11-05 06:56:41 +08:00
|
|
|
gimppickbutton.c \
|
|
|
|
gimppickbutton.h \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimppixmap.c \
|
|
|
|
gimppixmap.h \
|
|
|
|
gimpquerybox.c \
|
|
|
|
gimpquerybox.h \
|
|
|
|
gimpsizeentry.c \
|
|
|
|
gimpsizeentry.h \
|
2001-08-04 22:10:58 +08:00
|
|
|
gimpstock.c \
|
|
|
|
gimpstock.h \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimpunitmenu.c \
|
2002-12-23 09:51:58 +08:00
|
|
|
gimpunitmenu.h \
|
|
|
|
libgimp-glue.c
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libgimpwidgets_1_3_la_built_sources = \
|
2002-01-30 16:31:00 +08:00
|
|
|
gimpwidgetsmarshal.c \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpwidgetsmarshal.h
|
2002-01-30 16:31:00 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libgimpwidgets_1_3_la_extra_sources = gimpwidgetsmarshal.list
|
2002-01-30 16:31:00 +08:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
makefile.msc \
|
|
|
|
gimpwidgets.def \
|
|
|
|
$(libgimpwidgets_1_3_la_extra_sources)
|
|
|
|
|
|
|
|
libgimpwidgets_1_3_la_SOURCES = \
|
|
|
|
$(libgimpwidgets_1_3_la_built_sources) \
|
|
|
|
$(libgimpwidgets_1_3_la_sources)
|
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libgimpwidgetsinclude_HEADERS = \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimpwidgets.h \
|
|
|
|
gimpwidgetstypes.h \
|
2001-05-14 21:39:45 +08:00
|
|
|
gimpbutton.h \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimpchainbutton.h \
|
|
|
|
gimpcolorarea.h \
|
|
|
|
gimpcolorbutton.h \
|
2002-10-20 18:14:17 +08:00
|
|
|
gimpcolordisplay.h \
|
2002-10-28 21:19:02 +08:00
|
|
|
gimpcolornotebook.h \
|
2002-10-31 03:54:34 +08:00
|
|
|
gimpcolorscale.h \
|
2002-10-29 04:13:17 +08:00
|
|
|
gimpcolorscales.h \
|
2002-10-20 18:14:17 +08:00
|
|
|
gimpcolorselector.h \
|
|
|
|
gimpcolorselect.h \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimpdialog.h \
|
|
|
|
gimpfileselection.h \
|
|
|
|
gimphelpui.h \
|
2003-01-08 06:50:37 +08:00
|
|
|
gimpmemsizeentry.h \
|
2001-05-07 05:51:20 +08:00
|
|
|
gimpoffsetarea.h \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimppatheditor.h \
|
2002-11-05 06:56:41 +08:00
|
|
|
gimppickbutton.h \
|
2001-01-25 03:40:15 +08:00
|
|
|
gimppixmap.h \
|
|
|
|
gimpquerybox.h \
|
|
|
|
gimpsizeentry.h \
|
2001-08-04 22:10:58 +08:00
|
|
|
gimpstock.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpunitmenu.h
|
2001-01-25 03:40:15 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libgimpwidgets_1_3_la_LDFLAGS = \
|
2002-12-23 09:51:58 +08:00
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
|
|
|
$(no_undefined) \
|
|
|
|
$(libgimpwidgets_export_symbols)
|
|
|
|
|
2003-05-22 05:22:22 +08:00
|
|
|
libgimpwidgets_1_3_la_LIBADD = $(libgimpcolor) $(GTK_LIBS) $(libm)
|
2001-02-25 22:37:12 +08:00
|
|
|
|
2002-12-23 09:51:58 +08:00
|
|
|
libgimpwidgets_1_3_la_DEPENDENCIES = $(gimpwidgets_def)
|
2002-01-30 16:31:00 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# rules to generate built sources
|
|
|
|
#
|
|
|
|
# setup autogeneration dependancies
|
|
|
|
gen_sources = xgen-gwmh xgen-gwmc
|
|
|
|
CLEANFILES = $(gen_sources)
|
|
|
|
|
|
|
|
$(srcdir)/gimpwidgetsmarshal.h: $(srcdir)/gimpwidgetsmarshal.list
|
|
|
|
$(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --header >> xgen-gwmh \
|
|
|
|
&& (cmp -s xgen-gwmh $(@F) || cp xgen-gwmh $(@F)) \
|
|
|
|
&& rm -f xgen-gwmh xgen-gwmh~
|
|
|
|
|
|
|
|
$(srcdir)/gimpwidgetsmarshal.c: $(srcdir)/gimpwidgetsmarshal.h
|
|
|
|
echo "#include \"gimpwidgetsmarshal.h\"" >> xgen-gwmc \
|
|
|
|
&& $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --body >> xgen-gwmc \
|
|
|
|
&& cp xgen-gwmc $(@F) \
|
|
|
|
&& rm -f xgen-gwmc xgen-gwmc~
|
|
|
|
|
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
|