4 INCLUDES = -I$(top_srcdir) -I$(srcdir) -I$(top_builddir)
6 h_sources = comp_compress.h picture_compress.h quality_monitor.h \
7 quant_chooser.h seq_compress.h dirac_encoder.h \
8 rate_control.h prefilter.h enc_picture.h enc_queue.h
10 cpp_sources = comp_compress.cpp picture_compress.cpp quality_monitor.cpp \
11 quant_chooser.cpp seq_compress.cpp dirac_encoder.cpp \
12 rate_control.cpp prefilter.cpp enc_picture.cpp enc_queue.cpp
16 lib_LIBRARIES = libdirac_encoder.a
17 libdirac_encoder_a_AR = link -lib -out:libdirac_encoder.a $(libdirac_encoder_a_OBJECTS); link $(LIBFLAGS) -out:libdirac_encoder$(LIBEXT) $(LDFLAGS) $(libdirac_encoder_a_OBJECTS) $(libdirac_encoder_a_DEPENDENCIES); echo
19 libdirac_encoder_a_AR = ar crv
20 lib_LTLIBRARIES = libdirac_encoder.la
23 libdirac_encoder_a_SOURCES = $(h_sources) $(cpp_sources)
25 libdirac_encoder_a_LIBADD = \
26 $(top_builddir)/libdirac_motionest/libdirac_motionest.a \
27 $(top_builddir)/libdirac_common/libdirac_common.a \
28 $(top_builddir)/libdirac_byteio/libdirac_byteio.a
30 libdirac_encoder_la_SOURCES = $(h_sources) $(cpp_sources)
31 libdirac_encoder_la_CXXFLAGS = $(AM_CXXFLAGS)
32 libdirac_encoder_la_LIBADD = \
33 $(top_builddir)/libdirac_motionest/libdirac_motionest.la \
34 $(top_builddir)/libdirac_common/libdirac_common.la \
35 $(top_builddir)/libdirac_byteio/libdirac_byteio.la
37 libdirac_encoder_la_LDFLAGS= -no-undefined -version-info $(GENERIC_LIBRARY_VERSION)
39 library_includedir=$(includedir)/$(GENERIC_LIBRARY_NAME)/libdirac_encoder
40 library_include_HEADERS = dirac_encoder.h
42 #Custom install rule for MSCV
44 install-exec-local: libdirac_encoder.lib
45 $(mkinstalldirs) "$(DESTDIR)$(libdir)"; \
46 echo " $(INSTALL_PROGRAM) libdirac_encoder.lib $(DESTDIR)$(libdir)/libdirac_encoder.lib"; \
47 $(INSTALL_PROGRAM) libdirac_encoder.lib $(DESTDIR)$(libdir)/libdirac_encoder.lib || exit 1; \
48 for ext in lib dll pdb; do \
49 file="libdirac_encoder.$$ext"; \
50 if test -f "$$file"; then \
51 $(mkinstalldirs) "$(DESTDIR)$(bindir)"; \
52 echo " $(INSTALL_PROGRAM) $$file $(DESTDIR)$(bindir)/$$file"; \
53 $(INSTALL_PROGRAM) "$$file" "$(DESTDIR)$(bindir)/$$file" || exit 1; \
59 "$(DESTDIR)$(bindir)/libdirac_encoder.dll" \
60 "$(DESTDIR)$(bindir)/libdirac_encoder.pdb" \
61 "$(DESTDIR)$(libdir)/libdirac_encoder.lib"; \
63 if test -f "$$file"; then \
64 echo " rm -f" "$$file"; \
71 CLEANFILES = *.pdb *.ilk *.dll *.lib *.exp *.a