Mingming Yin | 486032d | 2013-09-26 17:22:07 -0700 | [diff] [blame] | 1 | # sources and intermediate files are separated |
| 2 | |
| 3 | AM_CFLAGS = -Wall |
| 4 | AM_CFLAGS += -Wundef |
| 5 | AM_CFLAGS += -Wstrict-prototypes |
| 6 | AM_CFLAGS += -Wno-trigraphs |
| 7 | AM_CFLAGS += -g -O3 |
| 8 | |
| 9 | AM_CPPFLAGS = -D__packed__= |
| 10 | AM_CPPFLAGS += -DIMAGE_APPS_PROC |
| 11 | AM_CPPFLAGS += -DFEATURE_Q_SINGLE_LINK |
| 12 | AM_CPPFLAGS += -DFEATURE_Q_NO_SELF_QPTR |
| 13 | AM_CPPFLAGS += -DFEATURE_LINUX |
| 14 | AM_CPPFLAGS += -DFEATURE_NATIVELINUX |
| 15 | AM_CPPFLAGS += -DFEATURE_DSM_DUP_ITEMS |
| 16 | AM_CPPFLAGS += -D_DEBUG |
| 17 | AM_CPPFLAGS += -Iinc |
| 18 | |
| 19 | c_sources =src/omx_aac_aenc.cpp |
| 20 | c_sources +=src/aenc_svr.c |
| 21 | |
| 22 | lib_LTLIBRARIES = libOmxAacEnc.la |
| 23 | libOmxAacEnc_la_SOURCES = $(c_sources) |
| 24 | libOmxAacEnc_la_CFLAGS = $(AM_CFLAGS) -fPIC |
| 25 | libOmxAacEnc_la_LDLIBS = -lOmxCore -lstdc++ -lpthread |
| 26 | libOmxAacEnc_la_LDFLAGS = -shared -version-info $(OMXAUDIO_LIBRARY_VERSION) |
| 27 | |
| 28 | bin_PROGRAMS = mm-aenc-omxaac-test |
| 29 | mm_aenc_omxaac_test_SOURCES = test/omx_aac_enc_test.c |
| 30 | mm_aenc_omxaac_test_LDADD = -lOmxCore -ldl -lpthread libOmxAacEnc.la |