aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: af740ff9b80973b60862e4b2e18bd9eb93aea72f (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
AUTOMAKE_OPTIONS = -Wno-portability

bin_PROGRAMS = gaku

AM_CPPFLAGS = $(DEPS_CFLAGS)
AM_CFLAGS = -Wall
LDADD = $(DEPS_LIBS)

gaku_SOURCES = \
	main.c \
	audio-player.c audio-player.h \
	playlist-parser.c playlist-parser.h \
	tag-reader.c tag-reader.h \
	marshal.c marshal.h

%.h: %.list
	$(GLIB_GENMARSHAL) --prefix=$* $< --header > $@

%.c: %.list
	$(GLIB_GENMARSHAL) --prefix=$* $< --body > $@

EXTRA_DIST = marshal.list
BUILT_SOURCES = marshal.c marshal.h
CLEANFILES = $(BUILT_SOURCES)

desktopdir = $(datadir)/applications
dist_desktop_DATA = gaku.desktop

MAINTAINERCLEANFILES = \
	aclocal.m4 \
	compile \
	config.guess \
	config.h.in \
	configure \
	depcomp \
	install-sh \
	Makefile.in \
	missing