Makefile.am 1.31 KB
Newer Older
Manish Singh's avatar
Manish Singh committed
1 2
## Process this file with automake to produce Makefile.in

Sven Neumann's avatar
Sven Neumann committed
3 4
SUBDIRS = Brushes Paper Presets

Tor Lillqvist's avatar
Tor Lillqvist committed
5 6 7 8
if OS_WIN32
mwindows = -mwindows
endif

Sven Neumann's avatar
Sven Neumann committed
9 10 11
AM_CPPFLAGS = \
	-DDEFAULTPATH=\""~/$(gimpdir)/gimpressionist:$(gimpdatadir)/gimpressionist"\"

Tor Lillqvist's avatar
Tor Lillqvist committed
12 13
AM_LDFLAGS = $(mwindows)

Sven Neumann's avatar
Sven Neumann committed
14 15 16 17
INCLUDES = \
	-I$(top_srcdir)	\
	$(GTK_CFLAGS)	\
	-I$(includedir)
Manish Singh's avatar
Manish Singh committed
18

19 20
libexecdir = $(gimpplugindir)/plug-ins

Manish Singh's avatar
Manish Singh committed
21 22
libexec_PROGRAMS = gimpressionist

Sven Neumann's avatar
Sven Neumann committed
23
gimpressionist_sources = \
Manish Singh's avatar
Manish Singh committed
24
	brush.c			\
25
	color.c			\
Manish Singh's avatar
Manish Singh committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
	general.c		\
	gimp.c			\
	gimpressionist.c	\
	gimpressionist.h	\
	orientation.c		\
	orientmap.c		\
	paper.c			\
	placement.c		\
	plasma.c		\
	ppmtool.c		\
	ppmtool.h		\
	presets.c		\
	preview.c		\
	repaint.c		\
	size.c			\
41 42
	sizemap.c

Sven Neumann's avatar
Sven Neumann committed
43
gimpressionist_built_sources = logo-pixbuf.h
44
gimpressionist.c: logo-pixbuf.h
Manish Singh's avatar
Manish Singh committed
45

Sven Neumann's avatar
Sven Neumann committed
46 47
gimpressionist_SOURCES = \
	$(gimppessionist_built_sources) $(gimpressionist_sources)
Manish Singh's avatar
Manish Singh committed
48

Manish Singh's avatar
Manish Singh committed
49

50
LDADD = \
51 52 53 54
	$(top_builddir)/libgimp/libgimpui-$(LT_RELEASE).la		\
	$(top_builddir)/libgimpwidgets/libgimpwidgets-$(LT_RELEASE).la	\
	$(top_builddir)/libgimp/libgimp-$(LT_RELEASE).la		\
	$(top_builddir)/libgimpcolor/libgimpcolor-$(LT_RELEASE).la	\
55
	$(top_builddir)/libgimpbase/libgimpbase-$(LT_RELEASE).la	\
56
	$(GTK_LIBS)							\
57
	$(INTLLIBS)
Sven Neumann's avatar
Sven Neumann committed
58 59 60 61 62 63 64 65 66 67


$(srcdir)/logo-pixbuf.h: logo.png
	gdk-pixbuf-csource --raw --name=logo_data $< > $(@F)

EXTRA_DIST = \
	README	\
	logo.png

CLEANFILES = logo-pixbuf.h