Makefile.am 1.64 KB
Newer Older
1 2
## Process this file with automake to produce Makefile.in

3 4
AUTOMAKE_OPTIONS = subdir-objects

5 6 7 8 9 10
if OS_WIN32
mwindows = -mwindows
else
libm = -lm
endif

11
libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la
12
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
13 14 15
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
16
libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
17 18
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la

19 20 21 22 23
if HAVE_WINDRES
include $(top_srcdir)/build/windows/gimprc-plug-ins.rule
map_object_RC = map-object.rc.o
endif

Tor Lillqvist's avatar
Tor Lillqvist committed
24 25
AM_LDFLAGS = $(mwindows)

26
libexecdir = $(gimpplugindir)/plug-ins/map-object
27

28
libexec_PROGRAMS = map-object
29

30
map_object_SOURCES = \
31
	arcball.c		\
Sven Neumann's avatar
Sven Neumann committed
32
	arcball.h		\
33 34
	map-object-apply.c	\
	map-object-apply.h	\
35 36
	map-object-icons.c	\
	map-object-icons.h	\
37 38 39 40 41 42 43 44 45
	map-object-image.c	\
	map-object-image.h	\
	map-object-main.c	\
	map-object-main.h	\
	map-object-preview.c	\
	map-object-preview.h	\
	map-object-shade.c	\
	map-object-shade.h	\
	map-object-ui.c		\
46
	map-object-ui.h		\
47 48
	../lighting/images/lighting-icon-images.c	\
	../lighting/images/lighting-icon-images.h
49

50
AM_CPPFLAGS = \
51 52
	-I$(top_srcdir)	\
	$(GTK_CFLAGS)	\
53
	$(GEGL_CFLAGS)	\
54
	-I$(includedir)
55

56
LDADD = \
57
	$(libm)			\
58 59
	$(libgimpui)		\
	$(libgimpwidgets)	\
60
	$(libgimpconfig)	\
61 62 63 64 65
	$(libgimp)		\
	$(libgimpcolor)		\
	$(libgimpmath)		\
	$(libgimpbase)		\
	$(GTK_LIBS)		\
66
	$(GEGL_LIBS)		\
67
	$(RT_LIBS)		\
68 69
	$(INTLLIBS)		\
	$(map_object_RC)