diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
| commit | 967be9e750221ab2ab783f95df79bb26d290a45e (patch) | |
| tree | 6802900a5e975f9f68b169f0f503f040056d6952 /tiger-compiler/Makefile.am | |
Diffstat (limited to 'tiger-compiler/Makefile.am')
| -rw-r--r-- | tiger-compiler/Makefile.am | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/tiger-compiler/Makefile.am b/tiger-compiler/Makefile.am new file mode 100644 index 0000000..a1b0c87 --- /dev/null +++ b/tiger-compiler/Makefile.am @@ -0,0 +1,64 @@ +# We use GNU Make features, and that's OK. +AUTOMAKE_OPTIONS = -Wno-portability subdir-objects +ACLOCAL_AMFLAGS = -I build-aux/m4 + +# We work on C++ only. This way we don't have to list the sources of +# programs foo whose sources are exactly foo.cc. A common pattern for +# tests. +AM_DEFAULT_SOURCE_EXT = .cc + +BUILT_SOURCES = +FORMAT_IGNORE = +CLEANFILES = $(EXTRA_PROGRAMS) +EXTRA_DIST = $(dist_TESTS) +MAINTAINERCLEANFILES = +TESTS = $(check_PROGRAMS) $(dist_TESTS) +check_PROGRAMS = +dist_TESTS = +dist_noinst_DATA = + +# Our tests should be run only if the sources are updated: they are +# self contained, and two runs in a row cannot differ. +override RECHECK_LOGS = + +include build-aux/local.am +include data/local.am + +SUBDIRS = . tests +if ENABLE_TCSH +SUBDIRS += tcsh +endif + +# Most headers are to be shipped and to be found in src/, e.g. +# tasks/tasks.hh is shipped in $(top_srcdir)/src/task/tasks.hh. Some +# are *built* in src, e.g., $(top_builddir)/src/modules.hh. +AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/src -I$(top_builddir)/src +AM_CPPFLAGS += $(BOOST_CPPFLAGS) +# Find the prelude. +AM_CPPFLAGS += -DPKGDATADIR="\"$(pkgdatadir)\"" +AM_CXXFLAGS = $(WARNING_CXXFLAGS) + + +# Find configuration headers. +AM_CPPFLAGS += -I$(top_builddir) + +include lib/local.am +include src/local.am +include doc/local.am + +EXTRA_DIST += bootstrap AUTHORS.txt NEWS.txt THANKS.txt .clang-format flake.nix flake.lock + +## --------------------- ## +## Version and authors. ## +## --------------------- ## + +BUILT_SOURCES += authors.h +CLEANFILES += authors.h tc.log.bz2 +# Improve --version. +AUTHORS_H_GEN = $(srcdir)/build-aux/bin/authors.h-gen +EXTRA_DIST += AUTHORS.txt $(AUTHORS_H_GEN) +authors.h: AUTHORS.txt $(AUTHORS_H_GEN) + $(AM_V_GEN)$(AUTHORS_H_GEN) $< >$@.tmp + $(AM_V_at)$(top_srcdir)/build-aux/bin/move-if-change $@.tmp $@ + + |
