summaryrefslogtreecommitdiff
path: root/docs/tools/Makefile.am
blob: 3953d361dff79d34a1171e0722ebc593d362a9b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
AUTOMAKE_OPTIONS = subdir-objects

include $(top_srcdir)/Makefile.decl

AM_CPPFLAGS = \
	-I$(top_srcdir)			\
	-I$(top_builddir)/gdk		\
	-I$(top_srcdir)/gdk		\
	-I$(top_srcdir)/gdk/x11		\
	-I$(top_srcdir)/tests		\
	$(GTK_DEBUG_FLAGS)		\
	$(GTK_DEP_CFLAGS)

DEPS = \
	$(top_builddir)/gtk/libgtk-3.la

LDADDS = \
	$(top_builddir)/gtk/libgtk-3.la	\
	$(top_builddir)/gdk/libgdk-3.la	\
	$(GTK_DEP_LIBS)			\
	$(GDK_DEP_LIBS)			\
	-lm

if USE_X11
noinst_PROGRAMS = 		\
	doc-shooter
endif

doc_shooter_DEPENDENCIES = $(DEPS)
doc_shooter_LDADD = $(LDADDS)
doc_shooter_SOURCES=	\
	shadow.c	\
	shadow.h	\
	shooter.c	\
	widgets.c	\
	widgets.h	\
	../../tests/gtkgears.c \
	../../tests/gtkgears.h

clean-local:
	for file in *.png; do \
	  case "$$file" in \
	    folder.png|gnome.png) ;; \
	    *) rm -f $$file ;; \
	  esac ; \
	done

-include $(top_srcdir)/git.mk