genode/repos/libports/ports/gcov.port

170 lines
8.4 KiB
Plaintext
Raw Normal View History

LICENSE := GPLv2
VERSION := 8.3.0
DOWNLOADS := gcov.archive generated.git
URL(gcov) := ftp://ftp.fu-berlin.de/gnu/gcc/gcc-$(VERSION)/gcc-$(VERSION).tar.xz
SHA(gcov) := 64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c
DIR(gcov) := src/gcov
SIG(gcov) := ${URL(gcov)}
KEY(gcov) := GNU
URL(generated) := https://github.com/cproc/genode-generated.git
REV(generated) := 21d621a326ac3f074647c0555144d1638ee495a8
DIR(generated) := include
TAR_OPT(gcov) := gcc-$(VERSION)/gcc/color-macros.h \
gcc-$(VERSION)/gcc/coretypes.h \
gcc-$(VERSION)/gcc/defaults.h \
gcc-$(VERSION)/gcc/diagnostic.c \
gcc-$(VERSION)/gcc/diagnostic-color.c \
gcc-$(VERSION)/gcc/diagnostic-color.h \
gcc-$(VERSION)/gcc/diagnostic-core.h \
gcc-$(VERSION)/gcc/diagnostic.def \
gcc-$(VERSION)/gcc/diagnostic.h \
gcc-$(VERSION)/gcc/diagnostic-show-locus.c \
gcc-$(VERSION)/gcc/double-int.h \
gcc-$(VERSION)/gcc/dumpfile.h \
gcc-$(VERSION)/gcc/edit-context.h \
gcc-$(VERSION)/gcc/edit-context.c \
gcc-$(VERSION)/gcc/fixed-value.h \
gcc-$(VERSION)/gcc/flag-types.h \
gcc-$(VERSION)/gcc/gcc-rich-location.h \
gcc-$(VERSION)/gcc/gcov.c \
gcc-$(VERSION)/gcc/gcov-counter.def \
gcc-$(VERSION)/gcc/gcov-io.c \
gcc-$(VERSION)/gcc/gcov-io.h \
gcc-$(VERSION)/gcc/ggc.h \
gcc-$(VERSION)/gcc/ggc-none.c \
gcc-$(VERSION)/gcc/hash-map.h \
gcc-$(VERSION)/gcc/hash-map-traits.h \
gcc-$(VERSION)/gcc/hash-set.h \
gcc-$(VERSION)/gcc/hash-table.c \
gcc-$(VERSION)/gcc/hash-table.h \
gcc-$(VERSION)/gcc/hash-traits.h \
gcc-$(VERSION)/gcc/hwint.h \
gcc-$(VERSION)/gcc/inchash.h \
gcc-$(VERSION)/gcc/input.c \
gcc-$(VERSION)/gcc/input.h \
gcc-$(VERSION)/gcc/intl.c \
gcc-$(VERSION)/gcc/intl.h \
gcc-$(VERSION)/gcc/is-a.h \
gcc-$(VERSION)/gcc/machmode.h \
gcc-$(VERSION)/gcc/memory-block.cc \
gcc-$(VERSION)/gcc/memory-block.h \
gcc-$(VERSION)/gcc/mem-stats.h \
gcc-$(VERSION)/gcc/mem-stats-traits.h \
gcc-$(VERSION)/gcc/mode-classes.def \
gcc-$(VERSION)/gcc/poly-int.h \
gcc-$(VERSION)/gcc/poly-int-types.h \
gcc-$(VERSION)/gcc/pretty-print.c \
gcc-$(VERSION)/gcc/pretty-print.h \
gcc-$(VERSION)/gcc/real.h \
gcc-$(VERSION)/gcc/selftest.h \
gcc-$(VERSION)/gcc/selftest-diagnostic.h \
gcc-$(VERSION)/gcc/signop.h \
gcc-$(VERSION)/gcc/statistics.h \
gcc-$(VERSION)/gcc/system.h \
gcc-$(VERSION)/gcc/tsystem.h \
gcc-$(VERSION)/gcc/typed-splay-tree.h \
gcc-$(VERSION)/gcc/vec.c \
gcc-$(VERSION)/gcc/vec.h \
gcc-$(VERSION)/gcc/version.c \
gcc-$(VERSION)/gcc/version.h \
gcc-$(VERSION)/gcc/wide-int.h \
gcc-$(VERSION)/gcc/wide-int-print.h \
gcc-$(VERSION)/gcc/config/dbxelf.h \
gcc-$(VERSION)/gcc/config/elfos.h \
gcc-$(VERSION)/gcc/config/initfini-array.h \
gcc-$(VERSION)/gcc/config/newlib-stdint.h \
gcc-$(VERSION)/gcc/config/vxworks-dummy.h \
gcc-$(VERSION)/gcc/config/arm/aout.h \
gcc-$(VERSION)/gcc/config/arm/arm.h \
gcc-$(VERSION)/gcc/config/arm/arm-flags.h \
gcc-$(VERSION)/gcc/config/arm/arm-opts.h \
gcc-$(VERSION)/gcc/config/arm/bpabi.h \
gcc-$(VERSION)/gcc/config/arm/elf.h \
gcc-$(VERSION)/gcc/config/arm/unknown-elf.h \
gcc-$(VERSION)/gcc/config/i386/att.h \
gcc-$(VERSION)/gcc/config/i386/biarch64.h \
gcc-$(VERSION)/gcc/config/i386/i386elf.h \
gcc-$(VERSION)/gcc/config/i386/i386.h \
gcc-$(VERSION)/gcc/config/i386/i386-opts.h \
gcc-$(VERSION)/gcc/config/i386/stringop.def \
gcc-$(VERSION)/gcc/config/i386/unix.h \
gcc-$(VERSION)/gcc/config/i386/x86-64.h \
gcc-$(VERSION)/gcc/config/i386/x86-tune.def \
gcc-$(VERSION)/include/ansidecl.h \
gcc-$(VERSION)/include/demangle.h \
gcc-$(VERSION)/include/environ.h \
gcc-$(VERSION)/include/filenames.h \
gcc-$(VERSION)/include/hashtab.h \
gcc-$(VERSION)/include/libiberty.h \
gcc-$(VERSION)/include/md5.h \
gcc-$(VERSION)/include/obstack.h \
gcc-$(VERSION)/include/safe-ctype.h \
gcc-$(VERSION)/include/splay-tree.h \
gcc-$(VERSION)/libcpp/internal.h \
gcc-$(VERSION)/libcpp/line-map.c \
gcc-$(VERSION)/libcpp/system.h \
gcc-$(VERSION)/libcpp/include/cpp-id-data.h \
gcc-$(VERSION)/libcpp/include/cpplib.h \
gcc-$(VERSION)/libcpp/include/line-map.h \
gcc-$(VERSION)/libcpp/include/symtab.h \
gcc-$(VERSION)/libgcc/gthr.h \
gcc-$(VERSION)/libgcc/libgcov-driver.c \
gcc-$(VERSION)/libgcc/libgcov-driver-system.c \
gcc-$(VERSION)/libgcc/libgcov.h \
gcc-$(VERSION)/libgcc/libgcov-interface.c \
gcc-$(VERSION)/libgcc/libgcov-merge.c \
gcc-$(VERSION)/libgcc/libgcov-profiler.c \
gcc-$(VERSION)/libiberty/argv.c \
gcc-$(VERSION)/libiberty/concat.c \
gcc-$(VERSION)/libiberty/cp-demangle.c \
gcc-$(VERSION)/libiberty/cp-demangle.h \
gcc-$(VERSION)/libiberty/cplus-dem.c \
gcc-$(VERSION)/libiberty/d-demangle.c \
gcc-$(VERSION)/libiberty/filename_cmp.c \
gcc-$(VERSION)/libiberty/fopen_unlocked.c \
gcc-$(VERSION)/libiberty/hashtab.c \
gcc-$(VERSION)/libiberty/lbasename.c \
gcc-$(VERSION)/libiberty/md5.c \
gcc-$(VERSION)/libiberty/obstack.c \
gcc-$(VERSION)/libiberty/rust-demangle.c \
gcc-$(VERSION)/libiberty/safe-ctype.c \
gcc-$(VERSION)/libiberty/splay-tree.c \
gcc-$(VERSION)/libiberty/vprintf-support.c \
gcc-$(VERSION)/libiberty/vprintf-support.h \
gcc-$(VERSION)/libiberty/xexit.c \
gcc-$(VERSION)/libiberty/xmalloc.c \
gcc-$(VERSION)/libiberty/xmemdup.c \
gcc-$(VERSION)/libiberty/xstrdup.c \
gcc-$(VERSION)/libiberty/xstrerror.c \
gcc-$(VERSION)/libiberty/xstrndup.c \
gcc-$(VERSION)/libiberty/xvasprintf.c \
gcc-$(VERSION)/COPYING \
--strip-components=1
PATCHES := src/app/gcov/patches/*.patch \
src/lib/gcov/patches/*.patch
PATCH_OPT := -p1 -d src/gcov
default: symlinks
#
# These .c files need to be compiled with g++
#
symlinks: $(DOWNLOADS)
$(VERBOSE)ln -s diagnostic-color.c ${DIR(gcov)}/gcc/diagnostic-color.cc
$(VERBOSE)ln -s diagnostic-show-locus.c ${DIR(gcov)}/gcc/diagnostic-show-locus.cc
$(VERBOSE)ln -s diagnostic.c ${DIR(gcov)}/gcc/diagnostic.cc
$(VERBOSE)ln -s edit-context.c ${DIR(gcov)}/gcc/edit-context.cc
$(VERBOSE)ln -s gcov.c ${DIR(gcov)}/gcc/gcov.cc
$(VERBOSE)ln -s ggc-none.c ${DIR(gcov)}/gcc/ggc-none.cc
$(VERBOSE)ln -s hash-table.c ${DIR(gcov)}/gcc/hash-table.cc
$(VERBOSE)ln -s input.c ${DIR(gcov)}/gcc/input.cc
$(VERBOSE)ln -s intl.c ${DIR(gcov)}/gcc/intl.cc
$(VERBOSE)ln -s pretty-print.c ${DIR(gcov)}/gcc/pretty-print.cc
$(VERBOSE)ln -s vec.c ${DIR(gcov)}/gcc/vec.cc
$(VERBOSE)ln -s version.c ${DIR(gcov)}/gcc/version.cc
$(VERBOSE)ln -s line-map.c ${DIR(gcov)}/libcpp/line-map.cc