Makefile.am 737 Bytes
Newer Older
1 2
include $(top_srcdir)/Makefile.decl

3
AM_CPPFLAGS = \
Matthias Clasen's avatar
Matthias Clasen committed
4 5 6 7 8
	-I$(top_srcdir)			\
	-I$(top_builddir)/gdk		\
	-I$(top_srcdir)/gdk		\
	-I$(top_srcdir)/gdk/x11		\
	$(GTK_DEBUG_FLAGS)		\
9 10
	$(GTK_DEP_CFLAGS)

Matthias Clasen's avatar
Matthias Clasen committed
11
DEPS = \
Matthias Clasen's avatar
Matthias Clasen committed
12
	$(top_builddir)/gtk/libgtk-3.la
13

Matthias Clasen's avatar
Matthias Clasen committed
14
LDADDS = \
Matthias Clasen's avatar
Matthias Clasen committed
15 16 17 18
	$(top_builddir)/gtk/libgtk-3.la	\
	$(top_builddir)/gdk/libgdk-3.la	\
	$(GTK_DEP_LIBS)			\
	$(GDK_DEP_LIBS)			\
19
	-lm
20

Anders Carlsson's avatar
Anders Carlsson committed
21
if USE_X11
22 23
noinst_PROGRAMS = 		\
	doc-shooter
24
endif
25 26 27 28 29 30 31 32 33 34 35

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

clean-local:
Matthias Clasen's avatar
Matthias Clasen committed
36
	for file in *.png; do \
Matthias Clasen's avatar
Matthias Clasen committed
37
	  case "$$file" in \
Matthias Clasen's avatar
Matthias Clasen committed
38
	    folder.png|gnome.png) ;; \
Matthias Clasen's avatar
Matthias Clasen committed
39 40 41
	    *) rm -f $$file ;; \
	  esac ; \
	done
42 43

-include $(top_srcdir)/git.mk