summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a268aa7e2abd35328d2fd867670a7e06289f5df3 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = gme/Game_Music_Emu-0.5.2 gme/Game_Music_Emu-0.5.2/gme sid/sidplay-libs-2.1.0 dumb pixmaps plugins/lastfm

dumbpath=@top_srcdir@/dumb
sidpath=@top_srcdir@/sid/sidplay-libs-2.1.0
gmepath=@top_srcdir@/gme/Game_Music_Emu-0.5.2

bin_PROGRAMS = deadbeef

deadbeef_SOURCES =\
	main.c common.h deadbeef.h\
	plugins.c plugins.h\
	callbacks.c interface.c support.c callbacks.h interface.h support.h\
	playlist.c playlist.h gtkplaylist.c gtkplaylist.h\
	streamer.c streamer.h\
	progress.c  progress.h\
	codec.c codec.h\
	messagepump.c messagepump.h messages.h\
	conf.c  conf.h\
	search.c search.h\
	cmp3.c cvorbis.c cflac.c cgme.c cdumb.c csid.cpp\
	palsa.c palsa.h playback.h\
	threading_pthread.c threading.h\
	md5/md5.c md5/md5.h md5/md5_loc.h\
	volume.c volume.h\
	drawing.h gdkdrawing.c\
	session.h session.c gtksession.c

sdkdir = $(pkgincludedir)
sdk_HEADERS = deadbeef.h

deadbeef_LDADD = $(LDADD) $(DEPS_LIBS) gme/Game_Music_Emu-0.5.2/gme/libgme.a sid/sidplay-libs-2.1.0/libsidplay2.a dumb/libdumb.a -lstdc++

AM_CFLAGS = $(DEPS_CFLAGS) $(SIMD_FLAGS) -I$(gmepath) -std=c99
AM_CPPFLAGS = $(DEPS_CFLAGS) -I$(sidpath)/libsidplay/include -I$(sidpath)/builders/resid-builder/include

docsdir = $(datadir)/doc/$(PACKAGE)

docs_DATA = README COPYING config-example

EXTRA_DIST = $(docs_DATA)

#install-data-local:
#	@$(NORMAL_INSTALL)
#	if test -d $(srcdir)/pixmaps; then \
#	  $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/pixmaps; \
#	  for pixmap in $(srcdir)/pixmaps/*; do \
#	    if test -f $$pixmap; then \
#	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/pixmaps; \
#	    fi \
#	  done \
#	fi
#
#dist-hook:
#	if test -d pixmaps; then \
#	  mkdir $(distdir)/pixmaps; \
#	  for pixmap in pixmaps/*; do \
#	    if test -f $$pixmap; then \
#	      cp -p $$pixmap $(distdir)/pixmaps; \
#	    fi \
#	  done \
#	fi
#