mirror of https://github.com/GNOME/gimp.git
117 lines
2.7 KiB
Makefile
117 lines
2.7 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
libgimpwidgetsincludedir = $(includedir)/gimp-$(LT_RELEASE)/libgimpwidgets
|
|
|
|
AM_CPPFLAGS = @STRIP_BEGIN@ \
|
|
-DG_LOG_DOMAIN=\"LibGimpWidgets\" \
|
|
@GIMP_THREAD_FLAGS@ \
|
|
@STRIP_END@
|
|
|
|
INCLUDES = @STRIP_BEGIN@ \
|
|
-I$(top_srcdir) \
|
|
$(GTK_CFLAGS) \
|
|
-I$(includedir) \
|
|
@STRIP_END@
|
|
|
|
lib_LTLIBRARIES = libgimpwidgets-1.3.la
|
|
|
|
libgimpwidgets_1_3_la_sources = @STRIP_BEGIN@ \
|
|
gimpwidgets.c \
|
|
gimpwidgets.h \
|
|
gimpwidgetstypes.h \
|
|
gimpbutton.c \
|
|
gimpbutton.h \
|
|
gimpchainbutton.c \
|
|
gimpchainbutton.h \
|
|
gimpcolorarea.c \
|
|
gimpcolorarea.h \
|
|
gimpcolorbutton.c \
|
|
gimpcolorbutton.h \
|
|
gimpdialog.c \
|
|
gimpdialog.h \
|
|
gimpfileselection.c \
|
|
gimpfileselection.h \
|
|
gimphelpui.c \
|
|
gimphelpui.h \
|
|
gimpoffsetarea.c \
|
|
gimpoffsetarea.h \
|
|
gimppatheditor.c \
|
|
gimppatheditor.h \
|
|
gimppixmap.c \
|
|
gimppixmap.h \
|
|
gimpquerybox.c \
|
|
gimpquerybox.h \
|
|
gimpsizeentry.c \
|
|
gimpsizeentry.h \
|
|
gimpstock.c \
|
|
gimpstock.h \
|
|
gimpunitmenu.c \
|
|
gimpunitmenu.h \
|
|
@STRIP_END@
|
|
|
|
libgimpwidgets_1_3_la_built_sources = @STRIP_BEGIN@ \
|
|
gimpwidgetsmarshal.c \
|
|
gimpwidgetsmarshal.h \
|
|
@STRIP_END@
|
|
|
|
libgimpwidgets_1_3_la_extra_sources = @STRIP_BEGIN@ \
|
|
gimpwidgetsmarshal.list \
|
|
@STRIP_END@
|
|
|
|
EXTRA_DIST = \
|
|
makefile.mingw \
|
|
makefile.mingw.in \
|
|
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)
|
|
|
|
libgimpwidgetsinclude_HEADERS = @STRIP_BEGIN@ \
|
|
gimpwidgets.h \
|
|
gimpwidgetstypes.h \
|
|
gimpbutton.h \
|
|
gimpchainbutton.h \
|
|
gimpcolorarea.h \
|
|
gimpcolorbutton.h \
|
|
gimpdialog.h \
|
|
gimpfileselection.h \
|
|
gimphelpui.h \
|
|
gimpoffsetarea.h \
|
|
gimppatheditor.h \
|
|
gimppixmap.h \
|
|
gimpquerybox.h \
|
|
gimpsizeentry.h \
|
|
gimpstock.h \
|
|
gimpunitmenu.h \
|
|
@STRIP_END@
|
|
|
|
EXTRA_HEADERS =
|
|
|
|
libgimpwidgets_1_3_la_LDFLAGS = @STRIP_BEGIN@ \
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
|
@STRIP_END@
|
|
|
|
libgimpwidgets_1_3_la_LIBADD = $(GLIB_LIBS) -lm
|
|
|
|
#
|
|
# 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~
|
|
|