1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
# ******************************************************************************
# Makefile Recorder project
# ******************************************************************************
#
# File description:
#
# The top-level makefile for Recorder, a non-blocking flight recorder
# for C or C++ programs
#
#
#
#
#
#
# ******************************************************************************
# This software is licensed under the GNU Lesser General Public License v2+
# (C) 2017-2019, Christophe de Dinechin <christophe@dinechin.org>
# ******************************************************************************
# This file is part of Recorder
#
# Recorder is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# Recorder 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 Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Recorder, in a file named COPYING.
# If not, see <https://www.gnu.org/licenses/>.
# ******************************************************************************
SOURCES=recorder_ring.c recorder.c
HEADERS=recorder_ring.h recorder.h
PRODUCTS=recorder.dll
PRODUCTS_VERSION=$(PACKAGE_VERSION)
CONFIG=sigaction <regex.h> <sys/mman.h> drand48 libregex setlinebuf
MANPAGES=$(wildcard man/man3/*.3 man/man1/*.1)
# For pkg-config generation
PACKAGE_NAME=recorder
PACKAGE_VERSION=1.0.8
PACKAGE_DESCRIPTION=Lock-free, real-time flight recorder for C or C++ programs
PACKAGE_URL="http://github.com/c3d/recorder"
PACKAGE_REQUIRES=
PACKAGE_BUGS=christophe@dinechin.org
TESTS= hanoi_test.c recorder_test.c ring_test.c crash_test.c
TEST_ARGS_hanoi_test=20 2>&1| grep "End fast recording Hanoi with 20 iterations"
TEST_ARGS_crash_test= | grep "Signal handler for 11 called"
MIQ=make-it-quick/
-include config.local-setup.mk
LDFLAGS+= -lm -lpthread
include $(MIQ)rules.mk
$(MIQ)rules.mk:
git submodule update --init --recursive
MAKEOVERRIDES:=
scope: scope/Makefile
scope: .ALWAYS
cd scope && make
scope/Makefile:
cd scope && qmake
.install: $(DO_INSTALL=scope/recorder_scope.$(DO_INSTALL)_exe)
scope/recorder_scope.$(DO_INSTALL)_exe: scope
|