1 AM_CFLAGS = -Wundef \ 2 -Wstrict-prototypes \ 3 -Wno-trigraphs \ 4 -g -O0 \ 5 -fno-inline \ 6 -fno-short-enums \ 7 -fpic \ 8 -DQC_PROP 9 10 AM_CPPFLAGS = -I. \ 11 $(ACDBLOADER_CFLAGS) 12 13 c_sources = alsa_mixer.c \ 14 alsa_pcm.c \ 15 alsa_ucm.c 16 17 h_sources = alsa_ucm.h \ 18 msm8960_use_cases.h \ 19 alsa_audio.h 20 21 library_includedir = $(pkgincludedir) 22 library_include_HEADERS = $(h_sources) 23 24 lib_LTLIBRARIES = libalsa_intf.la 25 libalsa_intf_la_CC = @CC@ 26 libalsa_intf_la_SOURCES = $(c_sources) $(h_sources) 27 libalsa_intfdir = $(prefix)/snd_soc_msm 28 dist_libalsa_intf_DATA = snd_soc_msm/snd_soc_msm \ 29 snd_soc_msm/snd_soc_msm_2x \ 30 snd_soc_msm/snd_soc_msm_2x_Fusion3 \ 31 snd_soc_msm/snd_soc_msm_Sitar 32 libalsa_intf_la_CFLAGS = $(AM_CFLAGS) -DUSE_GLIB @GLIB_CFLAGS@ -DCONFIG_DIR=\"/etc/snd_soc_msm/\" 33 libalsa_intf_la_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_GLIB @GLIB_CFLAGS@ 34 libalsa_intf_la_LDFLAGS = $(ACDBLOADER_LIBS) -lm -lpthread @GLIB_LIBS@ -shared -version-info 1:0:0 35 36 requiredlibs = libalsa_intf.la 37 38 bin_PROGRAMS = aplay amix arec 39 40 aplay_SOURCES = aplay.c 41 aplay_LDADD = -lpthread $(requiredlibs) 42 43 amix_SOURCES = amix.c 44 amix_LDADD = -lpthread $(requiredlibs) 45 46 arec_SOURCES = arec.c 47 arec_LDADD = -lpthread $(requiredlibs) 48