ACLOCAL_AMFLAGS=-I m4 SUBDIRS = utils \ formats \ . \ tests if IS_TESTS SUBDIRS += unittest endif lib_LTLIBRARIES = libmmffile.la noinst_HEADERS = include/mm_file_formats.h \ include/mm_file_format_frame.h libmmffile_la_SOURCES = mm_file.c includelibmmffiledir = $(includedir)/mmf includelibmmffile_HEADERS = include/mm_file.h \ include/mm_file_error.h libmmffile_la_CFLAGS = -I$(srcdir)/include \ $(MMCOMMON_CFLAGS) \ -I$(srcdir)/utils/include \ -D_LARGEFILE64_SOURCE \ -D_FILE_OFFSET_BITS=64 \ -DLIBDIR=\"$(libdir)\" 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)/formats/ffmpeg/libmmfile_formats.la endif libmmffile_la_CFLAGS += $(DLOG_CFLAGS) libmmffile_la_LIBADD += $(DLOG_LIBS) pcfiles = mm-fileinfo.pc pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(pcfiles) EXTRA_DIST = $(pcfiles)