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