# vim:noexpandtab:sw=2 ts=2

moddir = \
  ${AP_LIBEXECDIR}

# libraries
mod_LTLIBRARIES = \
  mod_unified_transcode.la

# library: mod_unified_transcode
mod_unified_transcode_la_SOURCES = \
  mod_unified_transcode.cpp

mod_unified_transcode_la_CXXFLAGS = \
  -Wall \
  -Werror \
  ${MODULE_CFLAGS}

mod_unified_transcode_la_CPPFLAGS = \
  -I$(top_srcdir)/common \
  $(FMP4_CFLAGS) \
  -DMODULE_NAME=unified_transcode

mod_unified_transcode_la_LDFLAGS = \
  $(FMP4_LDFLAGS) \
  -rpath ${AP_LIBEXECDIR} \
  -module \
  -avoid-version \
  ${MODULE_LDFLAGS}

mod_unified_transcode_la_LIBADD = \
  ../common/libcommon.la

EXTRA_DIST = \
  mod_unified_transcode.conf \
  mod_unified_transcode.load

install: install-am
	rm -f $(DESTDIR)${AP_LIBEXECDIR}/mod_unified_transcode.a
	rm -f $(DESTDIR)${AP_LIBEXECDIR}/mod_unified_transcode.la
