1## Process this file with automake to produce Makefile.in
2
3if OS_WIN32
4mwindows = -mwindows
5else
6libm = -lm
7endif
8
9libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la
10libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
11libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
12libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la
13libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
14libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
15libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
16
17if HAVE_WINDRES
18include $(top_srcdir)/build/windows/gimprc-plug-ins.rule
19gradient_flare_RC = gradient-flare.rc.o
20endif
21
22AM_LDFLAGS = $(mwindows)
23
24SUBDIRS = flares
25
26libexecdir = $(gimpplugindir)/plug-ins/gradient-flare
27
28libexec_PROGRAMS = gradient-flare
29
30gradient_flare_SOURCES = gradient-flare.c
31
32AM_CPPFLAGS = \
33	-I$(top_srcdir)	\
34	$(GTK_CFLAGS)	\
35	$(GEGL_CFLAGS) \
36	-I$(includedir)
37
38LDADD = \
39	$(libm)			\
40	$(libgimpui)		\
41	$(libgimpwidgets)	\
42	$(libgimpconfig)	\
43	$(libgimp)		\
44	$(libgimpcolor)		\
45	$(libgimpmath)		\
46	$(libgimpbase)		\
47	$(GTK_LIBS)		\
48	$(GEGL_LIBS)		\
49	$(RT_LIBS)		\
50	$(INTLLIBS)		\
51	$(gradient_flare_RC)
52