-
Notifications
You must be signed in to change notification settings - Fork 22
/
Makefile.am
102 lines (78 loc) · 1.8 KB
/
Makefile.am
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# -*- Makefile -*-
AM_CPPFLAGS = -DSYSCONFDIR=\"${sysconfdir}/${PACKAGE_NAME}\" ${LIBXMP_CFLAGS} \
${alsa_CFLAGS} ${pulseaudio_CFLAGS}
AM_CFLAGS = -Wall
bin_PROGRAMS = xmp
xmp_SOURCES = \
commands.c common.h delay.c getopt_long.h getopt_long.c info.c \
main.c options.c read_config.c sound.c sound.h sound_file.c sound_null.c \
sound_wav.c sound_aiff.c terminal.c util.c xmp_version.h
xmp_LDADD = ${LIBXMP_LIBS}
xmp_LDFLAGS = ${XMP_DARWIN_LDFLAGS}
if SOUND_OSS
xmp_SOURCES += sound_oss.c
endif
if SOUND_ALSA
xmp_SOURCES += sound_alsa.c
xmp_LDADD += ${alsa_LIBS}
endif
if SOUND_PULSEAUDIO
xmp_SOURCES += sound_pulseaudio.c
xmp_LDADD += ${pulseaudio_LIBS}
endif
if SOUND_AHI
xmp_SOURCES += sound_ahi.c
endif
if SOUND_COREAUDIO
xmp_SOURCES += sound_coreaudio.c
endif
if SOUND_SNDIO
xmp_SOURCES += sound_sndio.c
xmp_LDADD += -lsndio
endif
if SOUND_BSD
xmp_SOURCES += sound_bsd.c
endif
if SOUND_NETBSD
xmp_SOURCES += sound_netbsd.c
endif
if SOUND_SOLARIS
xmp_SOURCES += sound_solaris.c
endif
if SOUND_HPUX
xmp_SOURCES += sound_hpux.c
endif
if SOUND_AIX
xmp_SOURCES += sound_aix.c
endif
if SOUND_SGI
xmp_SOURCES += sound_sgi.c
xmp_LDADD += -laudio
endif
if SOUND_SB
xmp_SOURCES += dos/dosdma.c dos/dosirq.c dos/dossb.c dos/dosutil.c sound_sb.c
endif
if SOUND_QNX
xmp_SOURCES += sound_qnx.c
endif
if SOUND_ALSA05
xmp_SOURCES += sound_alsa05.c
xmp_LDADD += -lasound
endif
if SOUND_WIN32
xmp_SOURCES += sound_win32.c
xmp_LDADD += -lwinmm
endif
if SOUND_BEOS
xmp_SOURCES += sound_beos.cpp
xmp_LDADD += -lmedia -lbe
endif
if SOUND_OS2DART
xmp_SOURCES += sound_dart.c
xmp_LDADD += -lmmpm2
endif
man_MANS = xmp.1
pkgsysconfdir = ${sysconfdir}/${PACKAGE_NAME}
pkgsysconf_DATA = modules.conf xmp.conf
EXTRA_DIST = ${man_MANS} ${pkgsysconf_DATA} \
dos/dosdma.h dos/dosirq.h dos/dossb.h dos/dosutil.h