Makefile.am 1.23 KB
Newer Older
Marc Lehmann's avatar
Marc Lehmann committed
1 2
## Process this file with automake to produce Makefile.in

3 4 5 6 7 8
if OS_WIN32
mwindows = -mwindows
else
libm = -lm
endif

9
libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la
10
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
11 12 13 14
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
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
15
libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
Tor Lillqvist's avatar
Tor Lillqvist committed
16

17 18 19 20 21
if HAVE_WINDRES
include $(top_srcdir)/build/windows/gimprc-plug-ins.rule
gradient_flare_RC = gradient-flare.rc.o
endif

Tor Lillqvist's avatar
Tor Lillqvist committed
22 23
AM_LDFLAGS = $(mwindows)

24
SUBDIRS = flares
Marc Lehmann's avatar
Marc Lehmann committed
25

26
libexecdir = $(gimpplugindir)/plug-ins/gradient-flare
Marc Lehmann's avatar
Marc Lehmann committed
27

28
libexec_PROGRAMS = gradient-flare
Marc Lehmann's avatar
Marc Lehmann committed
29

30
gradient_flare_SOURCES = gradient-flare.c
31

32
AM_CPPFLAGS = \
33 34
	-I$(top_srcdir)	\
	$(GTK_CFLAGS)	\
35
	$(GEGL_CFLAGS) \
36
	-I$(includedir)
Marc Lehmann's avatar
Marc Lehmann committed
37

38
LDADD = \
39
	$(libm)			\
40 41
	$(libgimpui)		\
	$(libgimpwidgets)	\
42
	$(libgimpconfig)	\
43 44
	$(libgimp)		\
	$(libgimpcolor)		\
45
	$(libgimpmath)		\
46 47 48
	$(libgimpbase)		\
	$(GTK_LIBS)		\
	$(RT_LIBS)		\
49 50
	$(INTLLIBS)		\
	$(gradient_flare_RC)