summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 9e9ca153f49d92b23e5a2ac1ce958385de378bb1 (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
SUBDIRS = gme/Game_Music_Emu-0.5.2\
		  gme/Game_Music_Emu-0.5.2/gme\
		  sid/sidplay-libs-2.1.0\
		  dumb\
		  pixmaps\
		  icons\
		  plugins/hotkeys\
		  plugins/ffap\
		  plugins/nullout\
		  plugins/vtx\
		  plugins/adplug\
		  ${ALSA_DIR}\
		  ${LFM_DIR}\
          ${MPGMAD_DIR}\
          ${VORBIS_DIR}\
          ${FLAC_DIR}\
          ${WAVPACK_DIR}\
          ${SNDFILE_DIR}\
          ${VFS_CURL_DIR}\
          ${CDDA_DIR}\
          ${GTKUI_DIR}\
          ${FFMPEG_DIR}

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 moduleconf.h\
	playlist.c playlist.h \
	streamer.c streamer.h\
	codec.c codec.h\
	messagepump.c messagepump.h\
	conf.c  conf.h\
	cgme.c cdumb.c csid.cpp\
	playback.h\
	threading_pthread.c threading.h\
	md5/md5.c md5/md5.h md5/md5_loc.h\
	volume.c volume.h\
	session.h session.c \
	junklib.h junklib.c utf8.c utf8.h\
	optmath.h\
	vfs.c vfs.h vfs_stdio.c\
	timeline.c timeline.h

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) -I$(gmepath) -std=c99
AM_CPPFLAGS = $(DEPS_CFLAGS) -I$(sidpath)/libsidplay/include -I$(sidpath)/builders/resid-builder/include

docsdir = $(docdir)

docs_DATA = README COPYING.GPLv2 help.txt about.txt ChangeLog COPYING.LGPLv2.1

desktopdir = $(datadir)/applications
desktop_DATA = deadbeef.desktop

EXTRA_DIST = $(docs_DATA) $(desktop_DATA)