Arun Kumar Dasari | 7a705fb | 2016-06-10 15:20:02 +0530 | [diff] [blame] | 1 | AM_CFLAGS = -Wall \ |
| 2 | -Wundef \ |
| 3 | -Wstrict-prototypes \ |
| 4 | -Wno-trigraphs \ |
| 5 | -fPIC \ |
| 6 | -g -O3 \ |
| 7 | -DQC_MODIFIED \ |
| 8 | -D_ANDROID_ \ |
| 9 | -D_ENABLE_QC_MSG_LOG_ \ |
| 10 | -DVERBOSE \ |
Sachin Mohan Gadag | 364932c | 2017-10-30 19:14:52 +0530 | [diff] [blame] | 11 | -DNDEBUG \ |
Arun Kumar Dasari | 7a705fb | 2016-06-10 15:20:02 +0530 | [diff] [blame] | 12 | -DAUDIOV2 \ |
| 13 | -I inc \ |
Sachin Mohan Gadag | 0d2d39a | 2018-03-19 12:18:26 +0530 | [diff] [blame^] | 14 | -I $(PKG_CONFIG_SYSROOT_DIR)/usr/include/audio-kernel \ |
Arun Kumar Dasari | 7a705fb | 2016-06-10 15:20:02 +0530 | [diff] [blame] | 15 | -I ${WORKSPACE}/hardware/qcom/media/mm-core/inc/ |
| 16 | |
| 17 | C_SOURCES = src/aenc_svr.c \ |
| 18 | src/omx_g711_aenc.cpp \ |
| 19 | src/omx_log.cpp |
| 20 | |
| 21 | lib_LTLIBRARIES = libOmxG711Enc.la |
| 22 | libOmxG711Enc_la_SOURCES = $(C_SOURCES) |
| 23 | libOmxG711Enc_la_CFLAGS = $(AM_CFLAGS) -Dstrlcpy=g_strlcpy $(GLIB_CFLAGS) -include glib.h |
| 24 | libOmxG711Enc_la_CPPFLAGS = $(AM_CFLAGS) -Dstrlcpy=g_strlcpy $(GLIB_CFLAGS) -include glib.h |
Arun Kumar Dasari | d0faf2e | 2016-07-13 12:52:39 +0530 | [diff] [blame] | 25 | libOmxG711Enc_la_LIBADD = $(GLIB_LIBS) -lcutils -llog -lstdc++ |
| 26 | libOmxG711Enc_la_LDFLAGS = -shared -avoid-version |
Preetam Singh Ranawat | 83382ef | 2017-06-15 16:20:34 +0530 | [diff] [blame] | 27 | |
| 28 | bin_PROGRAMS = mm_aenc_omxg711_test |
| 29 | mm_aenc_omxg711_test_SOURCES = ./test/omx_g711_enc_test.c |
| 30 | mm_aenc_omxg711_test_CFLAGS = $(AM_CFLAGS) -Dstrlcpy=g_strlcpy $(GLIB_CFLAGS) -include glib.h |
| 31 | mm_aenc_omxg711_test_LDADD = $(GLIB_LIBS) -lmm-omxcore -lpthread libOmxG711Enc.la |