Use fast resampler on MSVC builds to match others
[libopusenc.git] / Makefile.am
index f97ec5d..15556d7 100644 (file)
@@ -10,11 +10,22 @@ opusincludedir = ${includedir}/opus
 opusinclude_HEADERS = include/opusenc.h
 
 lib_LTLIBRARIES = libopusenc.la
+noinst_HEADERS = src/arch.h \
+                src/ogg_packer.h \
+                src/opus_header.h \
+                src/picture.h \
+                src/resample_sse.h \
+                src/speex_resampler.h \
+                src/stack_alloc.h \
+                src/unicode_support.h
+
 libopusenc_la_SOURCES = \
+       src/ogg_packer.c \
        src/opus_header.c \
        src/opusenc.c \
        src/picture.c \
-       src/resample.c
+       src/resample.c \
+       src/unicode_support.c
 libopusenc_la_LIBADD = $(DEPS_LIBS) $(lrintf_lib)
 libopusenc_la_LDFLAGS = -no-undefined \
  -version-info @OP_LT_CURRENT@:@OP_LT_REVISION@:@OP_LT_AGE@
@@ -27,24 +38,29 @@ examples_opusenc_example_SOURCES = examples/opusenc_example.c
 examples_opusenc_example_LDADD = libopusenc.la
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = opusenc.pc
+pkgconfig_DATA = libopusenc.pc
 
 debug:
        $(MAKE) CFLAGS="${CFLAGS} -O0 -ggdb -DOP_ENABLE_ASSERTIONS" all
 
 EXTRA_DIST = \
- opusenc.pc.in \
- opusenc-uninstalled.pc.in \
libopusenc.pc.in \
libopusenc-uninstalled.pc.in \
  doc/Doxyfile.in \
  doc/opus_logo.svg \
  doc/Makefile \
- unix/Makefile
+ win32/VS2015/opusenc.sln \
+ win32/VS2015/opusenc.vcxproj \
+ win32/VS2015/opusenc.vcxproj.filters \
+ win32/VS2015/common.props \
+ win32/genversion.bat \
+ win32/config.h
 
 # Targets to build and install just the library without the docs
-opusenc install-opusenc: NO_DOXYGEN = 1
+libopusenc install-libopusenc: NO_DOXYGEN = 1
 
-opusenc: all
-install-opusenc: install
+libopusenc: all
+install-libopusenc: install
 
 # Or just the docs
 docs: doc/doxygen-build.stamp
@@ -117,4 +133,4 @@ dist-hook:
        echo 'PACKAGE_VERSION="$(PACKAGE_VERSION)"' > $(top_distdir)/package_version
 
 
-.PHONY: opusenc install-opusenc docs install-docs
+.PHONY: libopusenc install-libopusenc docs install-docs