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

3
libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la
4
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
5 6 7 8 9
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

Sven Neumann's avatar
Sven Neumann committed
10 11
SUBDIRS = Brushes Paper Presets

Tor Lillqvist's avatar
Tor Lillqvist committed
12 13 14 15
if OS_WIN32
mwindows = -mwindows
endif

Sven Neumann's avatar
Sven Neumann committed
16 17 18
AM_CPPFLAGS = \
	-DDEFAULTPATH=\""~/$(gimpdir)/gimpressionist:$(gimpdatadir)/gimpressionist"\"

Tor Lillqvist's avatar
Tor Lillqvist committed
19 20
AM_LDFLAGS = $(mwindows)

Sven Neumann's avatar
Sven Neumann committed
21 22 23 24
INCLUDES = \
	-I$(top_srcdir)	\
	$(GTK_CFLAGS)	\
	-I$(includedir)
Manish Singh's avatar
Manish Singh committed
25

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

Manish Singh's avatar
Manish Singh committed
28 29
libexec_PROGRAMS = gimpressionist

Sven Neumann's avatar
Sven Neumann committed
30
gimpressionist_sources = \
Manish Singh's avatar
Manish Singh committed
31
	brush.c			\
32
	brush.h			\
33
	color.c			\
34
	color.h			\
Manish Singh's avatar
Manish Singh committed
35
	general.c		\
36
	general.h		\
Manish Singh's avatar
Manish Singh committed
37 38 39
	gimp.c			\
	gimpressionist.c	\
	gimpressionist.h	\
40
	globals.c		\
Sven Neumann's avatar
Sven Neumann committed
41
	infile.h        	\
Sven Neumann's avatar
Sven Neumann committed
42
	orientation.h		\
Manish Singh's avatar
Manish Singh committed
43
	orientation.c		\
44
	orientmap.h     \
Manish Singh's avatar
Manish Singh committed
45 46
	orientmap.c		\
	paper.c			\
Sven Neumann's avatar
Sven Neumann committed
47
	paper.h			\
Manish Singh's avatar
Manish Singh committed
48
	placement.c		\
49
	placement.h		\
Manish Singh's avatar
Manish Singh committed
50 51 52 53
	plasma.c		\
	ppmtool.c		\
	ppmtool.h		\
	presets.c		\
54
	presets.h		\
Manish Singh's avatar
Manish Singh committed
55
	preview.c		\
56
	preview.h		\
Sven Neumann's avatar
Sven Neumann committed
57
	random.h        	\
Manish Singh's avatar
Manish Singh committed
58
	repaint.c		\
Sven Neumann's avatar
Sven Neumann committed
59
	size.h          	\
Manish Singh's avatar
Manish Singh committed
60
	size.c			\
61 62
	sizemap.c		\
	utils.c
63

Sven Neumann's avatar
Sven Neumann committed
64
gimpressionist_built_sources = logo-pixbuf.h
Sven Neumann's avatar
Sven Neumann committed
65
gimpressionist.c: $(gimpressionist_built_sources)
Manish Singh's avatar
Manish Singh committed
66

Sven Neumann's avatar
Sven Neumann committed
67
gimpressionist_SOURCES = \
Sven Neumann's avatar
Sven Neumann committed
68
	$(gimpressionist_built_sources) $(gimpressionist_sources)
Manish Singh's avatar
Manish Singh committed
69

Manish Singh's avatar
Manish Singh committed
70

71
LDADD = \
72 73
	$(libgimpui)		\
	$(libgimpwidgets)	\
74
	$(libgimpconfig)	\
75 76 77 78 79
	$(libgimp)		\
	$(libgimpcolor)		\
	$(libgimpbase)		\
	$(GTK_LIBS)		\
	$(RT_LIBS)		\
80
	$(INTLLIBS)
Sven Neumann's avatar
Sven Neumann committed
81 82 83 84 85 86 87 88 89 90


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

EXTRA_DIST = \
	README	\
	logo.png

CLEANFILES = logo-pixbuf.h