summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorclaude-bot <[email protected]>2026-07-13 12:40:00 +0000
committerclaude-bot <[email protected]>2026-07-13 12:40:00 +0000
commit740291cf2ae7f360b4ab119746da9ac2ef6611e4 (patch)
tree2fd7c57651516fbef1d0716e3276c24b8f71ed52 /Makefile.am
downloadogg-master.tar.gz
ogg-master.zip
Import xiph/ogg @ 36f969bb37559345ee03796ed625a9abd42c6db9HEADmaster
Snapshot for re3/reVC vendoring, per @lzcnt. Source: https://github.com/xiph/ogg (36f969bb37559345ee03796ed625a9abd42c6db9).
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am44
1 files changed, 44 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..a12c0be
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,44 @@
+## Process this file with automake to produce Makefile.in
+
+
+#AUTOMAKE_OPTIONS = foreign 1.6 dist-zip
+AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz
+ACLOCAL_AMFLAGS = -I m4
+
+SUBDIRS = src include doc
+
+m4datadir = $(datadir)/aclocal
+m4data_DATA = ogg.m4
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = ogg.pc
+
+EXTRA_DIST = README.md AUTHORS CHANGES COPYING \
+ libogg.spec libogg.spec.in \
+ ogg.m4 ogg.pc.in ogg-uninstalled.pc.in \
+ win32 CMakeLists.txt cmake
+
+dist-hook:
+ for item in $(EXTRA_DIST); do \
+ if test -d $$item; then \
+ echo -n "cleaning dir $$item for distribution..."; \
+ rm -rf `find $(distdir)/$$item -name .svn`; \
+ echo "OK"; \
+ fi; \
+ done
+
+# Verify cmake works with the dist tarball.
+cmake_builddir = _build.cmake
+distcheck-hook:
+ $(RM) -rf $(cmake_builddir)
+ mkdir $(cmake_builddir)
+ cd $(cmake_builddir) && cmake ../$(top_distdir)
+ cd $(cmake_builddir) && cmake --build .
+ cd $(cmake_builddir) && ctest
+ $(RM) -rf $(cmake_builddir)
+
+debug:
+ $(MAKE) all CFLAGS="@DEBUG@"
+
+profile:
+ $(MAKE) all CFLAGS="@PROFILE@"