mirror of https://github.com/GNOME/gimp.git
98 lines
2.3 KiB
Makefile
98 lines
2.3 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
if OS_WIN32
|
|
mwindows = -mwindows
|
|
else
|
|
libm = -lm
|
|
endif
|
|
|
|
libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la
|
|
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
|
|
libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
|
|
libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la
|
|
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
|
|
libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
|
|
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
|
|
|
|
if HAVE_WINDRES
|
|
include $(top_srcdir)/build/windows/gimprc-plug-ins.rule
|
|
pagecurl_RC = pagecurl.rc.o
|
|
endif
|
|
|
|
AM_LDFLAGS = $(mwindows)
|
|
|
|
libexecdir = $(gimpplugindir)/plug-ins/pagecurl
|
|
|
|
libexec_PROGRAMS = pagecurl
|
|
|
|
pagecurl_built_sources = \
|
|
pagecurl-icons.c \
|
|
pagecurl-icons.h
|
|
|
|
pagecurl_SOURCES = \
|
|
$(pagecurl_built_sources) \
|
|
pagecurl.c
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir) \
|
|
$(GTK_CFLAGS) \
|
|
$(GEGL_CFLAGS) \
|
|
-I$(includedir)
|
|
|
|
LDADD = \
|
|
$(libm) \
|
|
$(libgimpui) \
|
|
$(libgimpwidgets) \
|
|
$(libgimpconfig) \
|
|
$(libgimp) \
|
|
$(libgimpcolor) \
|
|
$(libgimpmath) \
|
|
$(libgimpbase) \
|
|
$(GTK_LIBS) \
|
|
$(GEGL_LIBS) \
|
|
$(RT_LIBS) \
|
|
$(INTLLIBS) \
|
|
$(pagecurl_RC)
|
|
|
|
|
|
PAGECURL_IMAGES = \
|
|
curl0.png \
|
|
curl1.png \
|
|
curl2.png \
|
|
curl3.png \
|
|
curl4.png \
|
|
curl5.png \
|
|
curl6.png \
|
|
curl7.png
|
|
|
|
EXTRA_DIST = $(PAGECURL_IMAGES)
|
|
|
|
gen_sources = \
|
|
pagecurl-icons.c \
|
|
pagecurl-icons.h
|
|
|
|
CLEANFILES = \
|
|
$(gen_sources) \
|
|
pagecurl-icons.gresource.xml
|
|
|
|
pagecurl-icons.gresource.xml: $(PAGECURL_IMAGES) Makefile.am
|
|
$(AM_V_GEN) ( rm -f $@; \
|
|
echo '<?xml version="1.0" encoding="UTF-8"?>' > $@; \
|
|
echo '<gresources>' >> $@; \
|
|
echo ' <gresource prefix="/org/gimp/pagecurl-icons">' >> $@; \
|
|
for image in $(PAGECURL_IMAGES); do \
|
|
echo " <file preprocess=\"to-pixdata\">$$image</file>" >> $@; \
|
|
done; \
|
|
echo ' </gresource>' >> $@; \
|
|
echo '</gresources>' >> $@ )
|
|
|
|
pagecurl-icons.h: pagecurl-icons.gresource.xml
|
|
$(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \
|
|
--sourcedir=$(srcdir) --generate-header \
|
|
--target=$@ pagecurl-icons.gresource.xml
|
|
|
|
pagecurl-icons.c: pagecurl-icons.h
|
|
$(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \
|
|
--sourcedir=$(srcdir) --generate-source \
|
|
--target=$@ pagecurl-icons.gresource.xml
|