diff options
author | Kibum Kim <kb0929.kim@samsung.com> | 2012-01-07 00:48:13 +0900 |
---|---|---|
committer | Kibum Kim <kb0929.kim@samsung.com> | 2012-01-07 00:48:13 +0900 |
commit | 44d9209751977fa2a6ff189d966d73cf044dfdaf (patch) | |
tree | 9af5dba4bb8f48d1f9373fdbe45da81a9caf6199 /Makefile.am | |
parent | 06e2dff413544d0e1465e0cb4897fe32e4de2c22 (diff) | |
download | libmm-fileinfo-44d9209751977fa2a6ff189d966d73cf044dfdaf.tar.gz libmm-fileinfo-44d9209751977fa2a6ff189d966d73cf044dfdaf.tar.bz2 libmm-fileinfo-44d9209751977fa2a6ff189d966d73cf044dfdaf.zip |
Git init
Diffstat (limited to 'Makefile.am')
-rwxr-xr-x | Makefile.am | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100755 index 0000000..13edf4f --- /dev/null +++ b/Makefile.am @@ -0,0 +1,51 @@ +ACLOCAL_AMFLAGS=-I m4 + +SUBDIRS = utils \ + codecs \ + formats \ + . \ + tests + +lib_LTLIBRARIES = libmmffile.la + +noinst_HEADERS = include/mm_file_codecs.h \ + include/mm_file_formats.h + +libmmffile_la_SOURCES = mm_file.c + +includelibmmffiledir = $(includedir)/mmf +includelibmmffile_HEADERS = include/mm_file.h + +libmmffile_la_CFLAGS = -I$(srcdir)/include \ + $(MMCOMMON_CFLAGS) \ + -I$(srcdir)/utils/include \ + -D_LARGEFILE64_SOURCE \ + -D_FILE_OFFSET_BITS=64 + +if USE_TESTMODE +libmmffile_la_CFLAGS += -D__MMFILE_TEST_MODE__ +endif + +libmmffile_la_DEPENDENCIES = $(top_builddir)/utils/libmmfile_utils.la + + +libmmffile_la_LIBADD = $(top_builddir)/utils/libmmfile_utils.la \ + -ldl \ + $(MMCOMMON_LIBS) + +if USE_DYN +libmmffile_la_CFLAGS += -D__MMFILE_DYN_LOADING__ +else +libmmffile_la_LIBADD += $(top_builddir)/codecs/ffmpeg/libmmfile_codecs.la \ + $(top_builddir)/formats/ffmpeg/libmmfile_formats.la +endif + + +libmmffile_la_CFLAGS += $(MMLOG_CFLAGS) -DMMF_LOG_OWNER=0x040 -DMMF_DEBUG_PREFIX=\"MMF-FILE\" +libmmffile_la_LIBADD += $(MMLOG_LIBS) + + +pcfiles = mm-fileinfo.pc +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = $(pcfiles) +EXTRA_DIST = $(pcfiles) |