Commit f3e6a440 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Remove superfluous things

parent fe85b304
......@@ -3,7 +3,7 @@
(eval
. (setq company-clang-arguments
(split-string
"-I@abs_top_srcdir@ -I@abs_top_builddir@ -I@abs_top_srcdir@/lib -I@abs_top_builddir@/lib -I@abs_top_srcdir@/src -I@abs_top_builddir@/src -I@abs_top_srcdir@/src/core -I@abs_top_builddir@/src/core -I@abs_top_srcdir@/src/lang -I@abs_top_builddir@/src/lang @CFLAGS@ @CPPFLAGS@ @OPENMP_CFLAGS@ @ASAN_CFLAGS@ @GOBJECT_CFLAGS@"
"-I@abs_top_srcdir@ -I@abs_top_builddir@ -I@abs_top_srcdir@/lib -I@abs_top_builddir@/lib -I@abs_top_srcdir@/src -I@abs_top_builddir@/src -I@abs_top_srcdir@/src/core -I@abs_top_builddir@/src/core @CFLAGS@ @CPPFLAGS@ @OPENMP_CFLAGS@ @ASAN_CFLAGS@"
)
)
)
......
# Doxyfile 1.8.13
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = Libtarot
PROJECT_NUMBER = @VERSION@
PROJECT_BRIEF = "A framework for playing tarot card game"
PROJECT_LOGO =
OUTPUT_DIRECTORY = doxygen-doc
CREATE_SUBDIRS = NO
ALLOW_UNICODE_NAMES = NO
OUTPUT_LANGUAGE = English
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH =
STRIP_FROM_INC_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = YES
QT_AUTOBRIEF = YES
MULTILINE_CPP_IS_BRIEF = NO
INHERIT_DOCS = YES
SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 4
ALIASES =
TCL_SUBST =
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
OPTIMIZE_FOR_FORTRAN = NO
OPTIMIZE_OUTPUT_VHDL = NO
EXTENSION_MAPPING =
MARKDOWN_SUPPORT = YES
TOC_INCLUDE_HEADINGS = 0
AUTOLINK_SUPPORT = YES
BUILTIN_STL_SUPPORT = YES
CPP_CLI_SUPPORT = NO
SIP_SUPPORT = NO
IDL_PROPERTY_SUPPORT = YES
DISTRIBUTE_GROUP_DOC = NO
GROUP_NESTED_COMPOUNDS = NO
SUBGROUPING = YES
INLINE_GROUPED_CLASSES = NO
INLINE_SIMPLE_STRUCTS = NO
TYPEDEF_HIDES_STRUCT = NO
LOOKUP_CACHE_SIZE = 0
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_PACKAGE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = YES
EXTRACT_ANON_NSPACES = YES
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = NO
HIDE_SCOPE_NAMES = YES
HIDE_COMPOUND_REFERENCE= NO
SHOW_INCLUDE_FILES = YES
SHOW_GROUPED_MEMB_INC = NO
FORCE_LOCAL_INCLUDES = NO
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
SORT_MEMBERS_CTORS_1ST = NO
SORT_GROUP_NAMES = NO
SORT_BY_SCOPE_NAME = NO
STRICT_PROTO_MATCHING = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
SHOW_FILES = YES
SHOW_NAMESPACES = YES
FILE_VERSION_FILTER =
LAYOUT_FILE =
CITE_BIB_FILES =
#---------------------------------------------------------------------------
# Configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = NO
WARN_AS_ERROR = NO
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# Configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = src
INPUT_ENCODING = UTF-8
FILE_PATTERNS = tarot.h tarot.hpp tarot_mainpage.h tarot_lang.h
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXCLUDE_SYMBOLS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO
FILTER_SOURCE_PATTERNS =
USE_MDFILE_AS_MAINPAGE =
#---------------------------------------------------------------------------
# Configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = YES
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = NO
REFERENCES_RELATION = NO
REFERENCES_LINK_SOURCE = YES
SOURCE_TOOLTIPS = YES
USE_HTAGS = NO
VERBATIM_HEADERS = YES
CLANG_ASSISTED_PARSING = NO
CLANG_OPTIONS =
#---------------------------------------------------------------------------
# Configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX = tarot_
#---------------------------------------------------------------------------
# Configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_EXTRA_STYLESHEET =
HTML_EXTRA_FILES =
HTML_COLORSTYLE_HUE = 220
HTML_COLORSTYLE_SAT = 100
HTML_COLORSTYLE_GAMMA = 80
HTML_TIMESTAMP = NO
HTML_DYNAMIC_SECTIONS = NO
HTML_INDEX_NUM_ENTRIES = 100
GENERATE_DOCSET = NO
DOCSET_FEEDNAME = "Doxygen generated docs"
DOCSET_BUNDLE_ID = org.doxygen.Project
DOCSET_PUBLISHER_ID = org.doxygen.Publisher
DOCSET_PUBLISHER_NAME = Publisher
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
CHM_INDEX_ENCODING =
BINARY_TOC = NO
TOC_EXPAND = NO
GENERATE_QHP = NO
QCH_FILE =
QHP_NAMESPACE = org.doxygen.Project
QHP_VIRTUAL_FOLDER = doc
QHP_CUST_FILTER_NAME =
QHP_CUST_FILTER_ATTRS =
QHP_SECT_FILTER_ATTRS =
QHG_LOCATION =
GENERATE_ECLIPSEHELP = NO
ECLIPSE_DOC_ID = org.doxygen.Project
DISABLE_INDEX = NO
GENERATE_TREEVIEW = YES
ENUM_VALUES_PER_LINE = 4
TREEVIEW_WIDTH = 250
EXT_LINKS_IN_WINDOW = NO
FORMULA_FONTSIZE = 10
FORMULA_TRANSPARENT = YES
USE_MATHJAX = NO
MATHJAX_FORMAT = HTML-CSS
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
MATHJAX_EXTENSIONS =
MATHJAX_CODEFILE =
SEARCHENGINE = YES
SERVER_BASED_SEARCH = NO
EXTERNAL_SEARCH = NO
SEARCHENGINE_URL =
SEARCHDATA_FILE = searchdata.xml
EXTERNAL_SEARCH_ID =
EXTRA_SEARCH_MAPPINGS =
#---------------------------------------------------------------------------
# Configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4
EXTRA_PACKAGES =
LATEX_HEADER =
LATEX_FOOTER =
LATEX_EXTRA_STYLESHEET =
LATEX_EXTRA_FILES =
PDF_HYPERLINKS = YES
USE_PDFLATEX = YES
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
LATEX_SOURCE_CODE = NO
LATEX_BIB_STYLE = plain
LATEX_TIMESTAMP = NO
#---------------------------------------------------------------------------
# Configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
RTF_SOURCE_CODE = NO
#---------------------------------------------------------------------------
# Configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_SUBDIR =
MAN_LINKS = NO
#---------------------------------------------------------------------------
# Configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = YES
XML_OUTPUT = xml
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# Configuration options related to the DOCBOOK output
#---------------------------------------------------------------------------
GENERATE_DOCBOOK = NO
DOCBOOK_OUTPUT = docbook
DOCBOOK_PROGRAMLISTING = NO
#---------------------------------------------------------------------------
# Configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# Configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration options related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
EXTERNAL_PAGES = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
MSCGEN_PATH =
DIA_PATH =
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = YES
DOT_NUM_THREADS = 4
DOT_FONTNAME = Helvetica
DOT_FONTSIZE = 10
DOT_FONTPATH =
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
GROUP_GRAPHS = YES
UML_LOOK = NO
UML_LIMIT_NUM_FIELDS = 10
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = YES
CALLER_GRAPH = YES
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = png
INTERACTIVE_SVG = NO
DOT_PATH =
DOTFILE_DIRS =
MSCFILE_DIRS =
DIAFILE_DIRS =
PLANTUML_JAR_PATH =
PLANTUML_CFG_FILE =
PLANTUML_INCLUDE_PATH =
DOT_GRAPH_MAX_NODES = 50
MAX_DOT_GRAPH_DEPTH = 0
DOT_TRANSPARENT = YES
DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
\ No newline at end of file
......@@ -11,15 +11,6 @@ include_HEADERS =
INDENTED_FILES =
TESTS =
BUILT_SOURCES =
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = \
--add-include-path=$(srcdir) \
--libtool=$(top_abs_builddir)/libtool \
--add-init-section="int tarot_init (const char *); if (tarot_init (\"\") != 0) exit (1);" \
--c-include="tarot_gobject.h" \
--include-first-in-src="tarot_gobject.h" \
--accept-unprefixed \
--warn-all
ACLOCAL_AMFLAGS = -I m4
dist_noinst_SCRIPTS = \
......@@ -31,79 +22,43 @@ EXTRA_DIST = .gitignore \
README.org \
README.md \
Dockerfile \
Doxyfile \
src/gettext.h \
$(srcdir)/Makefile.introspection \
m4/introspection.m4
src/gettext.h
AM_DISTCHECK_CONFIGURE_FLAGS = \
"EMACS=no" \
"INDENT=no" \
"--disable-doxygen-doc" \
"--disable-introspection"
COVERAGE_INFO_CONFIGURE_FLAGS = \
"EMACS=no" \
"INDENT=no" \
"--disable-doxygen-doc"
"INDENT=no"
AM_CPPFLAGS = \
-I $(top_builddir)/src \
-I $(top_srcdir)/src \
-I $(top_builddir)/src/core \
-I $(top_srcdir)/src/core \
-I $(top_builddir)/src/lang \
-I $(top_srcdir)/src/lang \
-DLOCALEDIR=\"$(localedir)\"
AM_CFLAGS = \
$(OPENMP_CFLAGS) \
$(ASAN_CFLAGS) \
$(GCOV_CFLAGS)
$(ASAN_CFLAGS)
# Needed to build and distribute the .h
AM_YFLAGS = -d
AM_LIBS = \
$(ASAN_LIBS) \
$(OPENMP_LIBS) \
$(GCOV_LIBS)
$(OPENMP_LIBS)
AM_LDADD = \
$(LTLIBINTL) \
$(LTLIBTHREAD) \
@INTL_MACOSX_LIBS@
MOSTLYCLEANFILES = $(DX_CLEANFILES)
CLEANFILES = coverage.info
include $(srcdir)/site.am
include $(srcdir)/src/libtarot.am
include $(srcdir)/src/libtarot-program.am
include $(srcdir)/src/tarot-status.am
include $(srcdir)/src/core/libtarot-core.am
include $(srcdir)/src/core/test-libtarot-core.am
include $(srcdir)/src/lang/libtarot-lang.am
include $(srcdir)/src/lang/tarot-parrot.am
include $(srcdir)/src/lang/test-libtarot-lang.am
include $(srcdir)/games/games.am
include $(srcdir)/games/pass/pass.am
include $(srcdir)/games/fail/fail.am
include $(srcdir)/test-tarot-status.am
## THE ORDER IS IMPORTANT, THE GENERATED FILES SHOULD BE INDENTED
## AFTER tarot.h
include $(srcdir)/src/tarot-gobject/tarot-gobject.am
INDENTED_FILES += $(include_HEADERS)
@INDENT_RULES@
@ORGMODE_RULES@
@DOCKER_RULES@
@DX_RULES@
@COVERAGE_RULES@
-include Makefile.introspection
mostlyclean-local: clean-coverage-files
clean-local: clean-coverage-files
# -*- Mode: makefile -*-
# Copyright 2009-2010 Johan Dahlin
#
# This file is free software; the author(s) gives unlimited
# permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# * Input variables:
#
# INTROSPECTION_GIRS - List of GIRS that should be generated
# INTROSPECTION_SCANNER - Command to invoke scanner, normally set by
# GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
# INTROSPECTION_SCANNER_ARGS - Additional args to pass in to the scanner
# INTROSPECTION_SCANNER_ENV - Environment variables to set before running
# the scanner
# INTROSPECTION_COMPILER - Command to invoke compiler, normally set by
# GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
# INTROSPECTION_COMPILER_ARGS - Additional args to pass in to the compiler
#
# * Simple tutorial
#
# Add this to configure.ac:
# -Wno-portability to AM_INIT_AUTOMAKE
# GOBJECT_INTROSPECTION_CHECK([0.6.7])
#
# Add this to Makefile.am where your library/program is built:
# include $(INTROSPECTION_MAKEFILE)
# INTROSPECTION_GIRS = YourLib-1.0.gir
# YourLib-1.0.gir: libyourlib.la
# YourLib_1_0_gir_NAMESPACE = YourLib
# YourLib_1_0_gir_VERSION = 1.0
# YourLib_1_0_gir_LIBS = libyourlib.la
# YourLib_1_0_gir_FILES = $(libyourlib_1_0_SOURCES)
# girdir = $(datadir)/gir-1.0
# dist_gir_DATA = $(srcdir)/YourLib-1.0.gir
# typelibdir = $(libdir)/girepository-1.0
# typelib_DATA = $(srcdir)/YourLib-1.0.typelib
#
# Make sure the required variables are set, these should under normal
# circumstances come from introspection.m4
$(if $(INTROSPECTION_SCANNER),,$(error Need to define INTROSPECTION_SCANNER))
$(if $(INTROSPECTION_COMPILER),,$(error Need to define INTROSPECTION_COMPILER))
# Private functions
## Transform the gir filename to something which can reference through a variable
## without automake/make complaining, eg Gtk-2.0.gir -> Gtk_2_0_gir
_gir_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
# Namespace and Version is either fetched from the gir filename
# or the _NAMESPACE/_VERSION variable combo
_gir_namespace = $(or $($(_gir_name)_NAMESPACE),$(firstword $(subst -, ,$(notdir $(1)))))
_gir_version = $(or $($(_gir_name)_VERSION),$(lastword $(subst -, ,$(1:.gir=))))
# _PROGRAM is an optional variable which needs it's own --program argument
_gir_program = $(if $($(_gir_name)_PROGRAM),--program=$($(_gir_name)_PROGRAM))
# Variables which provides a list of things
_gir_libraries = $(foreach lib,$($(_gir_name)_LIBS),--library=$(lib))
_gir_packages = $(foreach pkg,$($(_gir_name)_PACKAGES),--pkg=$(pkg))
_gir_includes = $(foreach include,$($(_gir_name)_INCLUDES),--include=$(include))
_gir_export_packages = $(foreach pkg,$($(_gir_name)_EXPORT_PACKAGES),--pkg-export=$(pkg))
# Reuse the LIBTOOL variable from automake if it's set, but
# work around MSYS weirdness: When running g-ir-scanner, MSYS changes
# a command-line argument --libtool="/bin/sh ../../libtool" into
# --libtool=c:/opt/msys/1.0/bin/libtool. So just use sh.exe without path
# because we already "know" where the libtool configure produced is.
_gir_libtool = $(if $(findstring MINGW,$(shell uname -s)),--libtool="$(top_builddir)/libtool",$(if $(LIBTOOL),--libtool="$(LIBTOOL)"))
# Macros for AM_SILENT_RULES prettiness
_gir_verbosity = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
_gir_silent_scanner_prefix = $(_gir_silent_scanner_prefix_$(V))
_gir_silent_scanner_prefix_ = $(_gir_silent_scanner_prefix_$(_gir_verbosity))
_gir_silent_scanner_prefix_0 = @echo " GISCAN $(1)";
_gir_silent_scanner_opts = $(_gir_silent_scanner_opts_$(V))
_gir_silent_scanner_opts_ = $(_gir_silent_scanner_opts_$(_gir_verbosity))
_gir_silent_scanner_opts_0 = --quiet
_gir_silent_compiler = $(_gir_silent_compiler_$(V))
_gir_silent_compiler_ = $(_gir_silent_compiler_$(_gir_verbosity))
_gir_silent_compiler_0 = @echo " GICOMP $(1)";
_gir_default_scanner_env = CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)"
#
# Creates a GIR by scanning C headers/sources
# $(1) - Name of the gir file (output)
#
# If output is Gtk-2.0.gir then you should name the variables like
# Gtk_2_0_gir_NAMESPACE, Gtk_2_0_gir_VERSION etc.
# Required variables:
# FILES - C sources and headers which should be scanned
#
# One of these variables are required:
# LIBS - Library where the symbol represented in the gir can be found
# PROGRAM - Program where the symbol represented in the gir can be found
#
# Optional variables
# NAMESPACE - Namespace of the gir, first letter capital,
# rest should be lower case, for instance: 'Gtk', 'Clutter', 'ClutterGtk'.
# If not present the namespace will be fetched from the gir filename,
# the part before the first dash. For 'Gtk-2.0', namespace will be 'Gtk'.
# VERSION - Version of the gir, if not present, will be fetched from gir
# filename, the part after the first dash. For 'Gtk-2.0', version will be '2.0'.
# LIBTOOL - Command to invoke libtool, usually set by automake
# SCANNERFLAGS - Flags to pass in to the scanner, see g-ir-scanner(1) for a list
# CFLAGS - Flags to pass in to the parser when scanning headers
# OTHERLIBS - Additional libs that do not have to be rebuilt
# LDFLAGS - Linker flags used by the scanner
# PACKAGES - list of pkg-config names which cflags are required to parse
# the headers of this gir
# INCLUDES - Gir files to include without the .gir suffix, for instance
# GLib-2.0, Gtk-2.0. This is needed for all libraries which you depend on that
# provides introspection information.
# EXPORT_PACKAGES - list of pkg-config names that are provided by this gir.
# By default the names in the PACKAGES variable will be used.
#
define introspection-scanner
# Basic sanity check, to make sure required variables are set
$(if $($(_gir_name)_FILES),,$(error Need to define $(_gir_name)_FILES))
$(if $(or $(findstring --header-only,$($(_gir_name)_SCANNERFLAGS)),
$($(_gir_name)_LIBS),
$($(_gir_name)_PROGRAM)),,
$(error Need to define $(_gir_name)_LIBS or $(_gir_name)_PROGRAM))
# Only dependencies we know are actually filenames goes into _FILES, make
# sure these are built before running the scanner. Libraries and programs
# needs to be added manually.
$(srcdir)/$(1): $$($(_gir_name)_FILES)
@ $(MKDIR_P) $(dir $(srcdir)/$(1))
@ $(MAKE) $$($(_gir_name)_LIBS) $$($(_gir_name)_PROGRAM)
$(_gir_silent_scanner_prefix) $(_gir_default_scanner_env) $(INTROSPECTION_SCANNER_ENV) $(INTROSPECTION_SCANNER) $(_gir_silent_scanner_opts) \
$(INTROSPECTION_SCANNER_ARGS) \
--namespace=$(_gir_namespace) \
--nsversion=$(_gir_version) \
$(_gir_libtool) \
$(_gir_packages) \
$(_gir_includes) \
$(_gir_export_packages) \
$($(_gir_name)_OTHERLIBS) \
$(_gir_program) \
$(_gir_libraries) \
$($(_gir_name)_SCANNERFLAGS) \
--cflags-begin \
$($(_gir_name)_CFLAGS) \
--cflags-end \
$($(_gir_name)_LDFLAGS) \
$$^ \
--output $(srcdir)/$(1)
endef
$(foreach gir,$(INTROSPECTION_GIRS),$(eval $(call introspection-scanner,$(gir))))
#
# Compiles a gir into a typelib
# $(1): gir filename (input)
# $(2): typelib filename (output)
#
define introspection-compiler
$(_gir_silent_compiler) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) --includedir=. $(srcdir)/$(1) -o $(srcdir)/$(2)
endef
# Simple rule to compile a typelib.
%.typelib: %.gir
$(call introspection-compiler,$<,$@)
......@@ -7,41 +7,10 @@ cd $SRCDIR || exit 1
mkdir -p lib || exit 1
echo "" > lib/Makefile.am
echo "introspection.m4..."
cp /usr/share/aclocal/introspection.m4 m4/
echo "gettext.h..."
cp /usr/share/gettext/gettext.h src/
echo "Autoreconf..."
autoreconf --install --warnings=all || exit 1
echo "Finalize the distribution..."
./configure \
--disable-asan \
--disable-openmp \
--enable-introspection \
--enable-mkenums \
--disable-coverage \
--disable-indent \
--disable-orgmode \
--disable-docker || exit 1
echo "********************************************************"
echo "* DO NOT PANIC, this is an intermediate configure run. *"
echo "* Your configuration will be processed AFTER we have *"
echo "* the generated sources. *"
echo "********************************************************"
make -j 16 \
src/lang/_tarot_parser.h \
src/tarot-gobject/tarot_gobject.h \
src/tarot-gobject/tarot_gobject_enums.c || exit 1
make -j 16 src/tarot-gobject/libtarot-gobject.la || exit 1
make -j 16 \
src/tarot-gobject/Tarot-0.0.gir \
src/tarot-gobject/Tarot-0.0.typelib || exit 1
make -j 16 distclean || exit 1
echo "********************************************************"
echo "* Thank you for bearing with me, now let's process *"
echo "* your configuration. *"
echo "********************************************************"