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

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

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

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

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

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

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

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

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

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

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

Manish Singh's avatar
Manish Singh committed
69

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


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

EXTRA_DIST = \
	README	\
	logo.png

CLEANFILES = logo-pixbuf.h