Makefile.am 1.64 KB
Newer Older
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
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
14
libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
15 16
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la

17 18 19 20 21
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
22 23
AM_LDFLAGS = $(mwindows)

24
libexecdir = $(gimpplugindir)/plug-ins/map-object
25

26
libexec_PROGRAMS = map-object
27

28
map_object_SOURCES = \
29
	arcball.c		\
Sven Neumann's avatar
Sven Neumann committed
30
	arcball.h		\
31 32
	map-object-apply.c	\
	map-object-apply.h	\
33 34
	map-object-icons.c	\
	map-object-icons.h	\
35 36 37 38 39 40 41 42 43
	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		\
44
	map-object-ui.h		\
45 46
	../lighting/images/lighting-icon-images.c	\
	../lighting/images/lighting-icon-images.h
47

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

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