summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 4b29261a40a0be45e5d6471f030e19f398a1a6e8 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
## 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\
		  icons\
		  plugins/hotkeys\
		  plugins/ffap\
		  ${LFM_DIR}\
          ${MPGMAD_DIR}\
          ${VORBIS_DIR}\
          ${FLAC_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\
	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\
	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\
	junklib.h junklib.c utf8.c utf8.h\
	optmath.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) $(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 help.txt

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

EXTRA_DIST = $(docs_DATA) $(desktop_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
#