Commit 00dc4a44 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠 Committed by Sebastian Dröge

Drop support for Autotools as build system

parent 86f9b46c
AUTOMAKE_OPTIONS = foreign
if BUILD_TESTS
ORCTEST_DIR = orc-test
TESTSUITE_DIR= testsuite
else
ORCTEST_DIR =
TESTSUITE_DIR =
endif
SUBDIRS = orc $(ORCTEST_DIR) tools $(TESTSUITE_DIR) examples doc
DIST_SUBDIRS = orc orc-test tools examples testsuite doc
EXTRA_DIST = COPYING RELEASE autogen.sh gtk-doc.make orc.m4 \
$(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/orc-0.4.*" ) \
meson_options.txt
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
pkgconfig_DATA = orc-$(ORC_MAJORMINOR).pc orc-test-$(ORC_MAJORMINOR).pc
cp_v_gen = $(cp_v_gen_$(V))
cp_v_gen_ = $(cp_v_gen_$(AM_DEFAULT_VERBOSITY))
cp_v_gen_0 = @echo " CP $@";
orc-$(ORC_MAJORMINOR).pc: orc.pc
$(cp_v_gen)cp orc.pc orc-$(ORC_MAJORMINOR).pc
orc-test-$(ORC_MAJORMINOR).pc: orc-test.pc
$(cp_v_gen)cp orc-test.pc orc-test-$(ORC_MAJORMINOR).pc
orc-$(ORC_MAJORMINOR)-uninstalled.pc: orc-uninstalled.pc
$(cp_v_gen)cp orc-uninstalled.pc orc-$(ORC_MAJORMINOR)-uninstalled.pc
orc-test-$(ORC_MAJORMINOR)-uninstalled.pc: orc-test-uninstalled.pc
$(cp_v_gen)cp orc-test-uninstalled.pc orc-test-$(ORC_MAJORMINOR)-uninstalled.pc
BUILT_SOURCES=orc-$(ORC_MAJORMINOR)-uninstalled.pc \
orc-test-$(ORC_MAJORMINOR)-uninstalled.pc
CLEANFILES = orc-$(ORC_MAJORMINOR).pc orc-$(ORC_MAJORMINOR)-uninstalled.pc \
orc-test-$(ORC_MAJORMINOR).pc orc-test-$(ORC_MAJORMINOR)-uninstalled.pc
ACLOCAL_AMFLAGS = -I m4
aclocaldir = $(datadir)/aclocal
aclocal_DATA = orc.m4
......@@ -70,7 +70,7 @@ Questions and Answers:
- Q: How big is the Orc library?
A: For embedded users, the --enable-backend configure option can
A: For embedded users, the orc-backend meson option can
be used to disable irrelvant targets. Compiled with only one target
(SSE), the library size is about 150 kB uncompressed, or 48 kB
compressed. The goal was to keep the uncompressed size under
......
0.4.30 (unreleased)
===================
- autotools support has been dropped in favour of Meson as build system
- FILL ME
0.4.29
======
......
#!/bin/sh
set -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd "$srcdir"
autoreconf -i -f
cd "$olddir"
if test -z "$NOCONFIGURE"; then
exec $srcdir/configure --disable-static --enable-maintainer-mode --enable-gtk-doc $@
fi
AC_PREREQ([2.68])
AC_INIT([orc], [0.4.29.1], [https://gitlab.freedesktop.org/gstreamer/orc/issues/],[orc])
dnl don't forget to update libversion
AS_NANO(ORC_GIT=no,ORC_GIT=yes)
AC_CANONICAL_HOST()
AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
dnl use pretty build output with automake >= 1.11
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
[AM_DEFAULT_VERBOSITY=1
AC_SUBST(AM_DEFAULT_VERBOSITY)])
ORC_MAJORMINOR=0.4
AC_SUBST(ORC_MAJORMINOR)
AC_CONFIG_HEADER(config.h)
dnl CURRENT, REVISION, AGE
dnl - library source changed -> increment REVISION
dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
dnl - interfaces added -> increment AGE
dnl - interfaces removed -> AGE = 0
ORC_LIBVERSION="29:0:29"
AC_SUBST(ORC_LIBVERSION)
LT_PREREQ([2.2.6])
LT_INIT([dlopen win32-dll disable-static])
AC_PROG_CC
AC_PROG_CC_STDC
AM_PROG_CC_C_O
AM_PROG_AS
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([orc/orc.h])
AM_MAINTAINER_MODE([enable])
ACLOCAL_AMFLAGS="-I m4 $ACLOCAL_AMFLAGS"
AC_SUBST(ACLOCAL_AMFLAGS)
AM_CONDITIONAL(CROSS_COMPILING, test "x$cross_compiling" = "xyes")
AC_CHECK_FUNCS([posix_memalign])
##################################################
# Check for gtk-doc.
##################################################
if test "x$cross_compiling" = "xyes" ; then
enable_gtk_doc=no
fi
GTK_DOC_CHECK([1.12], [--flavour no-tmpl])
AS_HOST_DEFINES()
AC_C_BIGENDIAN
AC_FUNC_MMAP()
AC_HEADER_STDC
AC_CHECK_HEADERS([inttypes.h])
AC_CHECK_HEADERS([sys/time.h])
AC_CHECK_HEADERS([unistd.h])
AC_CHECK_FUNCS([gettimeofday])
AC_CHECK_LIBM
AC_SUBST(LIBM)
AC_CHECK_LIB(rt, clock_gettime,
AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Defined if we have clock_gettime()])
LIBRT=-lrt
)
AC_SUBST(LIBRT)
dnl Android liblog
case "${host_os}" in
*android*)
AC_CHECK_LIB(log, __android_log_print,
AC_DEFINE(HAVE_ANDROID_LIBLOG, 1, [Defined if we have __android_log_print()])
LIBLOG=-llog
)
;;
*)
;;
esac
AC_SUBST(LIBLOG)
AC_CACHE_CHECK(for monotonic clocks,
orc_cv_monotonic_clock,AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#include <time.h>
#include <unistd.h>
int main() {
#if !(defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0 && defined(CLOCK_MONOTONIC))
#error No monotonic clock
#endif
return 0;
}
]])],orc_cv_monotonic_clock=yes,orc_cv_monotonic_clock=no))
if test "$orc_cv_monotonic_clock" = "yes"; then
AC_DEFINE(HAVE_MONOTONIC_CLOCK,1,[Defined if we have a monotonic clock])
fi
AC_CHECK_HEADERS([valgrind/valgrind.h])
AS_COMPILER_FLAG(-Wall, ORC_CFLAGS="$ORC_CFLAGS -Wall")
if test "x$ORC_GIT" = "xyes"
then
AS_COMPILER_FLAG(-Werror, ERROR_CFLAGS="-Werror")
fi
case "${host_os}" in
nobody_is_using_this_currently)
AC_DEFINE(HAVE_CODEMEM_MALLOC, 1, [Use malloc to allocate code for execution])
;;
mingw*|pw32*|cygwin*)
AC_DEFINE(HAVE_CODEMEM_VIRTUALALLOC, 1, [Use VirtualAlloc to allocate code for execution])
;;
linux*|darwin*|solaris*|netbsd*|freebsd*|openbsd*|kfreebsd*|dragonfly*|gnu*)
AC_DEFINE(HAVE_CODEMEM_MMAP, 1, [Use mmap to allocate code for execution])
;;
*)
AC_ERROR([no code allocation backend])
;;
esac
case "${host_os}" in
mingw*|pw32*|cygwin*)
AC_DEFINE(HAVE_THREAD_WIN32, 1, [Use Windows thread code])
;;
*android*)
AC_DEFINE(HAVE_THREAD_PTHREAD, 1, [Use pthread thread code])
PTHREAD_CFLAGS=
PTHREAD_LIBS=
;;
*)
AC_DEFINE(HAVE_THREAD_PTHREAD, 1, [Use pthread thread code])
PTHREAD_CFLAGS=
PTHREAD_LIBS=-lpthread
;;
esac
AC_SUBST(PTHREAD_CFLAGS)
AC_SUBST(PTHREAD_LIBS)
AC_ARG_ENABLE(backend,
AC_HELP_STRING([--enable-backend],[sse,mmx,neon,mips,all (default all)]),
[], [enable_backend=all])
case "${enable_backend}" in
sse)
ENABLE_BACKEND_SSE=yes
AC_DEFINE(ENABLE_BACKEND_SSE, 1, [Enable SSE backend])
;;
mmx)
ENABLE_BACKEND_MMX=yes
AC_DEFINE(ENABLE_BACKEND_MMX, 1, [Enable MMX backend])
;;
altivec)
ENABLE_BACKEND_ALTIVEC=yes
AC_DEFINE(ENABLE_BACKEND_ALTIVEC, 1, [Enable Altivec backend])
;;
neon)
ENABLE_BACKEND_NEON=yes
AC_DEFINE(ENABLE_BACKEND_NEON, 1, [Enable NEON backend])
;;
### ARM backend is disabled until it has decent coverage
# arm)
# ENABLE_BACKEND_ARM=yes
# AC_DEFINE(ENABLE_BACKEND_ARM, 1, [Enable Arm backend])
# ;;
c64x)
ENABLE_BACKEND_C64X=yes
AC_DEFINE(ENABLE_BACKEND_C64X, 1, [Enable c64x backend])
;;
mips)
ENABLE_BACKEND_MIPS=yes
AC_DEFINE(ENABLE_BACKEND_MIPS, 1, [Enable MIPS backend])
;;
all|auto)
ENABLE_BACKEND_SSE=yes
AC_DEFINE(ENABLE_BACKEND_SSE, 1, [Enable SSE backend])
ENABLE_BACKEND_MMX=yes
AC_DEFINE(ENABLE_BACKEND_MMX, 1, [Enable MMX backend])
ENABLE_BACKEND_ALTIVEC=yes
AC_DEFINE(ENABLE_BACKEND_ALTIVEC, 1, [Enable Altivec backend])
ENABLE_BACKEND_NEON=yes
AC_DEFINE(ENABLE_BACKEND_NEON, 1, [Enable NEON backend])
# ENABLE_BACKEND_ARM=yes
# AC_DEFINE(ENABLE_BACKEND_ARM, 1, [Enable Arm backend])
ENABLE_BACKEND_C64X=yes
AC_DEFINE(ENABLE_BACKEND_C64X, 1, [Enable c64x backend])
ENABLE_BACKEND_MIPS=yes
AC_DEFINE(ENABLE_BACKEND_MIPS, 1, [Enable MIPS backend])
;;
esac
AM_CONDITIONAL(ENABLE_BACKEND_SSE, test "x$ENABLE_BACKEND_SSE" = "xyes")
AM_CONDITIONAL(ENABLE_BACKEND_MMX, test "x$ENABLE_BACKEND_MMX" = "xyes")
AM_CONDITIONAL(ENABLE_BACKEND_ALTIVEC, test "x$ENABLE_BACKEND_ALTIVEC" = "xyes")
AM_CONDITIONAL(ENABLE_BACKEND_NEON, test "x$ENABLE_BACKEND_NEON" = "xyes")
AM_CONDITIONAL(ENABLE_BACKEND_ARM, test "x$ENABLE_BACKEND_ARM" = "xyes")
AM_CONDITIONAL(ENABLE_BACKEND_C64X, test "x$ENABLE_BACKEND_C64X" = "xyes")
AM_CONDITIONAL(ENABLE_BACKEND_MIPS, test "x$ENABLE_BACKEND_MIPS" = "xyes")
dnl building of tests
AC_ARG_ENABLE(tests,
AS_HELP_STRING([--disable-tests],[disable building test apps]),
[
case "${enableval}" in
yes) BUILD_TESTS=yes ;;
no) BUILD_TESTS=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --disable-tests) ;;
esac
],
[BUILD_TESTS=yes]) dnl Default value
AM_CONDITIONAL(BUILD_TESTS, test "x$BUILD_TESTS" = "xyes")
dnl Symbol visibility
AS_COMPILER_FLAG([-fvisibility=hidden], [
VISIBILITY_CFLAGS="-fvisibility=hidden"
AC_DEFINE(ORC_API_EXPORT, [extern __attribute__ ((visibility ("default")))], [public symbol export define])
], [
VISIBILITY_CFLAGS=""
AC_DEFINE(ORC_API_EXPORT, [extern], [public symbol export define])
])
AC_SUBST(VISIBILITY_CFLAGS)
dnl Check for -Bsymbolic-functions linker flag used to avoid
dnl intra-library PLT jumps, if available.
AC_ARG_ENABLE(Bsymbolic,
[AS_HELP_STRING([--disable-Bsymbolic],[avoid linking with -Bsymbolic])],,
[SAVED_LDFLAGS="${LDFLAGS}" SAVED_LIBS="${LIBS}"
AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
LDFLAGS=-Wl,-Bsymbolic-functions
LIBS=
AC_TRY_LINK([], [return 0],
AC_MSG_RESULT(yes)
enable_Bsymbolic=yes,
AC_MSG_RESULT(no)
enable_Bsymbolic=no)
LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}"])
ORC_CFLAGS="$ORC_CFLAGS \$(VISIBILITY_CFLAGS) \$(ERROR_CFLAGS) -I\$(top_srcdir) -D_GNU_SOURCE"
AC_SUBST(ERROR_CFLAGS)
AC_SUBST(ORC_CFLAGS)
ORC_LIBS="\$(top_builddir)/orc/liborc-$ORC_MAJORMINOR.la $LIBM $LIBRT"
AC_SUBST(ORC_LIBS)
#CFLAGS=`echo $CFLAGS | sed s/O2/O0/`
ORC_LDFLAGS="-version-info \$(ORC_LIBVERSION) -no-undefined -export-symbols-regex \^orc_"
if test "x${enable_Bsymbolic}" = "xyes"; then
ORC_LDFLAGS="$ORC_LDFLAGS -Wl,-Bsymbolic-functions"
fi
AC_SUBST(ORC_LDFLAGS)
pkgconfigdir="\$(libdir)/pkgconfig"
AC_SUBST(pkgconfigdir)
AC_CONFIG_FILES([
Makefile
doc/Makefile
doc/version.entities
orc/Makefile
orc-test/Makefile
testsuite/Makefile
testsuite/orcc/Makefile
testsuite/benchmorc/Makefile
examples/Makefile
tools/Makefile
orc-uninstalled.pc
orc.pc
orc-test.pc
orc-test-uninstalled.pc
])
AC_OUTPUT
echo "
Configuration
Version : ${VERSION}
Source code location : ${srcdir}
Prefix : ${prefix}
Compiler : ${CC}
API Documentation : ${enable_gtk_doc}
Enable SSE backend : ${ENABLE_BACKEND_SSE}
Enable MMX backend : ${ENABLE_BACKEND_MMX}
Enable ALTIVEC backend : ${ENABLE_BACKEND_ALTIVEC}
Enable NEON backend : ${ENABLE_BACKEND_NEON}
Enable C64X backend : ${ENABLE_BACKEND_C64X}
Enable MIPS backend : ${ENABLE_BACKEND_MIPS}
Building test apps : ${BUILD_TESTS}
"
## Process this file with automake to produce Makefile.in
# We require automake 1.6 at least.
AUTOMAKE_OPTIONS = 1.6
BUILT_SOURCES = version.entities
# This is a blank Makefile.am for using gtk-doc.
# Copy this to your project's API docs directory and modify the variables to
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
# of using the various options.
# The name of the module, e.g. 'glib'.
DOC_MODULE=orc
# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
#DOC_MODULE_VERSION=2
# The top-level SGML file. You can change this if you want to.
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
# The directory containing the source code. Relative to $(srcdir).
# gtk-doc will search all .c & .h files beneath here for inline comments
# documenting the functions and macros.
# e.g. DOC_SOURCE_DIR=../../../gtk
DOC_SOURCE_DIR=../orc
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
SCANGOBJ_OPTIONS=
# Extra options to supply to gtkdoc-scan.
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
SCAN_OPTIONS=
# Extra options to supply to gtkdoc-mkdb.
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
MKDB_OPTIONS=--sgml-mode --output-format=xml
# Extra options to supply to gtkdoc-mkhtml
MKHTML_OPTIONS=
# Extra options to supply to gtkdoc-fixref. Not normally needed.
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
FIXXREF_OPTIONS=
# Used for dependencies. The docs will be rebuilt if any of these change.
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
HFILE_GLOB=$(top_srcdir)/orc/*.h
CFILE_GLOB=$(top_srcdir)/orc/*.c
# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
EXTRA_HFILES=
# Header files to ignore when scanning. Use base file name, no paths
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
IGNORE_HFILES=orc-stdint.h
# Images to copy into HTML directory.
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
HTML_IMAGES=
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
content_files=building.xml concepts.xml opcode_table.xml opcodes.xml \
program.xml running.xml tutorial.xml table.xml
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
# These files must be listed here *and* in content_files
# e.g. expand_content_files=running.sgml
expand_content_files=
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
# signals and properties.
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
GTKDOC_CFLAGS=
GTKDOC_LIBS=
# This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.make
# Other files to distribute
# e.g. EXTRA_DIST += version.xml.in
EXTRA_DIST += version.entities.in
# Files not to distribute
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
#DISTCLEANFILES +=
# Comment this out if you want your docs-status tested during 'make check'
if ENABLE_GTK_DOC
#TESTS_ENVIRONMENT = cd $(srcsrc) &&
#TESTS = $(GTKDOC_CHECK)
endif
-include $(top_srcdir)/git.mk
DOC_SERVER = gstreamer.freedesktop.org
DOC_BASE = /srv/gstreamer.freedesktop.org/www/data/doc
DOC_URL = $(DOC_SERVER):$(DOC_BASE)
upload:
echo Uploading documentation to $(DOC_SERVER):$(DOC_BASE)/orc
ssh $(DOC_SERVER) mkdir -p $(DOC_BASE)/orc
rsync -rv -e ssh --delete html/* $(DOC_SERVER):$(DOC_BASE)/orc
ssh $(DOC_SERVER) chmod -R g+w $(DOC_BASE)/orc
update-tables: $(top_builddir)/testsuite/generate_xml_table $(top_builddir)/testsuite/generate_xml_table2
$(top_builddir)/testsuite/generate_xml_table >table.xml
$(top_builddir)/testsuite/generate_xml_table2 >opcode_table.xml
......@@ -5,7 +5,7 @@
%version-entities;
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<refentry id="orc-building" revision="29 may 2009">
<refentry id="orc-building" revision="23 aug 2019">
<refmeta>
<refentrytitle>Building Orc and Applications That Use Orc</refentrytitle>
<manvolnum>3</manvolnum>
......@@ -20,41 +20,37 @@ How to build Orc and applications using it.
</refnamediv>
<refsect1>
<title>Building Orc on UNIX</title>
<title>Building Orc</title>
<!-- this has been borrowed from the glib docs via gstreamer -->
<para>
On UNIX, Orc uses the standard GNU build system,
using <application>autoconf</application> for package
configuration and resolving portability issues,
<application>automake</application> for building makefiles
that comply with the GNU Coding Standards, and
<application>libtool</application> for building shared
libraries on multiple platforms. The normal sequence for
compiling and installing the Orc library is thus:
Orc uses the <ulink role="online-location" url="https://mesonbuild.com">Meson build system</ulink>
When using the Meson ninja backend (which is the default), the normal
sequence for compiling and installing the Orc library is thus:
<literallayout>
<userinput>./configure</userinput>
<userinput>make</userinput>
<userinput>make install</userinput>
<userinput>meson builddir</userinput>
<userinput>ninja -C builddir</userinput>
<userinput>ninja -C builddir install</userinput>
</literallayout>
</para>
<para>
The standard options provided by <application>GNU
autoconf</application> may be passed to the
<command>configure</command> script. Please see the
<application>autoconf</application> documentation or run
<command>./configure --help</command> for information about
the standard options.
To see build options, check the meson_options.txt file and
<command>meson setup --help</command>, or run
<command>meson configure builddir</command> (after the first meson
configure run). You can pass build options directly when running meson
for the first time, or you can change options with
<command>meson configure builddir -Doption=xyz</command> after the
initial meson run.
</para>
<para>
By default, code generators for all targets are built into the
library. Embedded system developers may wish to use the
--enable-backed option, which will disable all other code
<userinput>orc-backend</userinput> option, which will disable all other code
generators, saving about 200 kB in binary size. Outside of
embedded systems, using --enable-backend is not recommended.
embedded systems, using the <userinput>orc-backend</userinput> option
is not recommended.
</para>
</refsect1>
......
noinst_PROGRAMS =
if CROSS_COMPILING
else
noinst_PROGRAMS += example1 example2 example3 mt19937ar
BUILT_SOURCES = example1orc.c example1orc.h \
example2orc.c example2orc.h \
example3orc.c example3orc.h \
mt19937arorc.c mt19937arorc.h
endif
if ENABLE_BACKEND_MMX
noinst_PROGRAMS += volscale
endif
AM_LDFLAGS = $(ORC_LIBS)
AM_CFLAGS = $(ORC_CFLAGS)
EXTRA_DIST = example1orc.orc example2orc.orc example3orc.orc mt19937arorc.orc
CLEANFILES = example1orc.c example1orc.h \
example2orc.c example2orc.h \
example3orc.c example3orc.h \
mt19937arorc.c mt19937arorc.h
example1_SOURCES = example1.c
nodist_example1_SOURCES = example1orc.c example1orc.h
example2_SOURCES = example2.c
nodist_example2_SOURCES = example2orc.c example2orc.h
example3_SOURCES = example3.c
nodist_example3_SOURCES = example3orc.c example3orc.h
mt19937ar_SOURCES = mt19937ar.c
nodist_mt19937ar_SOURCES = mt19937arorc.c mt19937arorc.h
orcc_v_gen = $(orcc_v_gen_$(V))
orcc_v_gen_ = $(orcc_v_gen_$(AM_DEFAULT_VERBOSITY))
orcc_v_gen_0 = @echo " ORCC $@";
example1orc.c: $(srcdir)/example1orc.orc
$(orcc_v_gen)$(top_builddir)/tools/orcc$(EXEEXT) --implementation -o example1orc.c $(srcdir)/example1orc.orc
example1orc.h: $(srcdir)/example1orc.orc
$(orcc_v_gen)$(top_builddir)/tools/orcc$(EXEEXT) --header -o example1orc.h $(srcdir)/example1orc.orc
example2orc.c: $(srcdir)/example2orc.orc
$(orcc_v_gen)$(top_builddir)/tools/orcc$(EXEEXT) --implementation -o example2orc.c $(srcdir)/example2orc.orc
example2orc.h: $(srcdir)/example2orc.orc
$(orcc_v_gen)$(top_builddir)/tools/orcc$(EXEEXT) --header -o example2orc.h $(srcdir)/example2orc.orc
example3orc.c: $(srcdir)/example3orc.orc
$(orcc_v_gen)$(top_builddir)/tools/orcc$(EXEEXT) --implementation -o example3orc.c $(srcdir)/example3orc.orc
example3orc.h: $(srcdir)/example3orc.orc
$(orcc_v_gen)$(top_builddir)/tools/orcc$(EXEEXT) --header -o example3orc.h $(srcdir)/example3orc.orc
mt19937arorc.c: $(srcdir)/mt19937arorc.orc
$(orcc_v_gen)$(top_builddir)/tools/orcc$(EXEEXT) --implementation -o mt19937arorc.c $(srcdir)/mt19937arorc.orc
mt19937arorc.h: $(srcdir)/mt19937arorc.orc
$(orcc_v_gen)$(top_builddir)/tools/orcc$(EXEEXT) --header -o mt19937arorc.h $(srcdir)/mt19937arorc.orc
# -*- mode: makefile -*-
#
# gtk-doc.make - make rules for gtk-doc
# Copyright (C) 2003 James Henstridge
# 2004-2007 Damon Chaplin
# 2007-2017 Stefan Sauer
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
####################################
# Everything below here is generic #
####################################
if GTK_DOC_USE_LIBTOOL
GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
GTKDOC_RUN = $(LIBTOOL) --mode=execute
else
GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
GTKDOC_RUN =
endif
# We set GPATH here; this gives us semantics for GNU make<