Blame backends/Makefile.am

Packit 032894
## Process this file with automake to create Makefile.in
Packit 032894
##
Packit 032894
## Copyright (C) 2000-2010, 2013, 2014 Red Hat, Inc.
Packit 032894
## Copyright (C) 2012 Tilera Corporation
Packit 032894
## This file is part of elfutils.
Packit 032894
##
Packit 032894
## This file is free software; you can redistribute it and/or modify
Packit 032894
## it under the terms of either
Packit 032894
##
Packit 032894
##   * the GNU Lesser General Public License as published by the Free
Packit 032894
##     Software Foundation; either version 3 of the License, or (at
Packit 032894
##     your option) any later version
Packit 032894
##
Packit 032894
## or
Packit 032894
##
Packit 032894
##   * the GNU General Public License as published by the Free
Packit 032894
##     Software Foundation; either version 2 of the License, or (at
Packit 032894
##     your option) any later version
Packit 032894
##
Packit 032894
## or both in parallel, as here.
Packit 032894
##
Packit 032894
## elfutils is distributed in the hope that it will be useful, but
Packit 032894
## WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 032894
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 032894
## General Public License for more details.
Packit 032894
##
Packit 032894
## You should have received copies of the GNU General Public License and
Packit 032894
## the GNU Lesser General Public License along with this program.  If
Packit 032894
## not, see <http://www.gnu.org/licenses/>.
Packit 032894
include $(top_srcdir)/config/eu.am
Packit 032894
if BUILD_STATIC
Packit 032894
AM_CFLAGS += $(fpic_CFLAGS)
Packit 032894
endif
Packit 032894
AM_CPPFLAGS += -I$(top_srcdir)/libebl -I$(top_srcdir)/libasm \
Packit 032894
	   -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw
Packit 032894
Packit 032894
noinst_LIBRARIES = libebl_backends.a libebl_backends_pic.a
Packit 032894
Packit 032894
modules = i386 sh x86_64 ia64 alpha arm aarch64 sparc ppc ppc64 s390 \
Packit 032894
	  tilegx m68k bpf riscv csky
Packit 032894
Packit 032894
i386_SRCS = i386_init.c i386_symbol.c i386_corenote.c i386_cfi.c \
Packit 032894
	    i386_retval.c i386_regs.c i386_auxv.c i386_syscall.c \
Packit 032894
	    i386_initreg.c i386_unwind.c
Packit 032894
Packit 032894
sh_SRCS = sh_init.c sh_symbol.c sh_corenote.c sh_regs.c sh_retval.c
Packit 032894
Packit 032894
x86_64_SRCS = x86_64_init.c x86_64_symbol.c x86_64_corenote.c x86_64_cfi.c \
Packit 032894
	      x86_64_retval.c x86_64_regs.c x86_64_syscall.c x86_64_initreg.c \
Packit 032894
	      x86_64_unwind.c x32_corenote.c
Packit 032894
Packit 032894
Packit 032894
ia64_SRCS = ia64_init.c ia64_symbol.c ia64_regs.c ia64_retval.c
Packit 032894
Packit 032894
alpha_SRCS = alpha_init.c alpha_symbol.c alpha_retval.c alpha_regs.c \
Packit 032894
	     alpha_corenote.c alpha_auxv.c
Packit 032894
Packit 032894
arm_SRCS = arm_init.c arm_symbol.c arm_regs.c arm_corenote.c \
Packit 032894
	   arm_auxv.c arm_attrs.c arm_retval.c arm_cfi.c arm_initreg.c
Packit 032894
Packit 032894
aarch64_SRCS = aarch64_init.c aarch64_regs.c aarch64_symbol.c	\
Packit 032894
	       aarch64_corenote.c aarch64_retval.c aarch64_cfi.c \
Packit 032894
	       aarch64_initreg.c aarch64_unwind.c
Packit 032894
Packit 032894
sparc_SRCS = sparc_init.c sparc_symbol.c sparc_regs.c sparc_retval.c \
Packit 032894
	     sparc_corenote.c sparc64_corenote.c sparc_auxv.c sparc_attrs.c \
Packit 032894
             sparc_cfi.c sparc_initreg.c
Packit 032894
Packit 032894
ppc_SRCS = ppc_init.c ppc_symbol.c ppc_retval.c ppc_regs.c \
Packit 032894
	   ppc_corenote.c ppc_auxv.c ppc_attrs.c ppc_syscall.c \
Packit 032894
	   ppc_cfi.c ppc_initreg.c
Packit 032894
Packit 032894
ppc64_SRCS = ppc64_init.c ppc64_symbol.c ppc64_retval.c ppc64_corenote.c \
Packit 032894
	     ppc64_unwind.c ppc64_resolve_sym.c
Packit 032894
Packit 032894
s390_SRCS = s390_init.c s390_symbol.c s390_regs.c s390_retval.c \
Packit 032894
	    s390_corenote.c s390x_corenote.c s390_cfi.c s390_initreg.c \
Packit 032894
	    s390_unwind.c
Packit 032894
Packit 032894
tilegx_SRCS = tilegx_init.c tilegx_symbol.c tilegx_regs.c \
Packit 032894
              tilegx_retval.c tilegx_corenote.c
Packit 032894
Packit 032894
m68k_SRCS = m68k_init.c m68k_symbol.c m68k_regs.c \
Packit 032894
	    m68k_retval.c m68k_corenote.c m68k_cfi.c m68k_initreg.c
Packit 032894
Packit 032894
# m68k prstatus core notes are described by a packed structure
Packit 032894
# which has not naturally aligned fields. Since we don't access
Packit 032894
# these fields directly, but take their offset to be used later
Packit 032894
# to extract the data through elfxx_xlatetom/memmove, this isn't
Packit 032894
# an issue.
Packit 032894
m68k_corenote_no_Wpacked_not_aligned = yes
Packit 032894
Packit 032894
bpf_SRCS = bpf_init.c bpf_regs.c bpf_symbol.c
Packit 032894
Packit 032894
riscv_SRCS = riscv_init.c riscv_symbol.c riscv_cfi.c riscv_regs.c \
Packit 032894
	     riscv_initreg.c riscv_corenote.c riscv64_corenote.c riscv_retval.c
Packit 032894
Packit 032894
csky_SRCS = csky_attrs.c csky_init.c csky_symbol.c csky_cfi.c \
Packit 032894
	    csky_regs.c csky_initreg.c csky_corenote.c
Packit 032894
Packit 032894
libebl_backends_a_SOURCES = $(i386_SRCS) $(sh_SRCS) $(x86_64_SRCS) \
Packit 032894
			    $(ia64_SRCS) $(alpha_SRCS) $(arm_SRCS) \
Packit 032894
			    $(aarch64_SRCS) $(sparc_SRCS) $(ppc_SRCS) \
Packit 032894
			    $(ppc64_SRCS) $(s390_SRCS) $(tilegx_SRCS) \
Packit 032894
			    $(m68k_SRCS) $(bpf_SRCS) $(riscv_SRCS) $(csky_SRCS)
Packit 032894
Packit 032894
libebl_backends_pic_a_SOURCES =
Packit 032894
am_libebl_backends_pic_a_OBJECTS = $(libebl_backends_a_SOURCES:.c=.os)
Packit 032894
Packit 032894
noinst_HEADERS = libebl_CPU.h common-reloc.c linux-core-note.c x86_corenote.c
Packit 032894
EXTRA_DIST = $(modules:=_reloc.def)
Packit 032894
Packit 032894
MOSTLYCLEANFILES = $(am_libebl_backends_pic_a_OBJECTS)