summaryrefslogtreecommitdiff
path: root/usr.bin/ldd/Makefile.elf
blob: b64b2fe2534502a37a72faff2ca3e8def2bbf895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#	$NetBSD: Makefile.elf,v 1.6 2019/11/04 12:45:10 joerg Exp $

# Makefile fragment to build a (32 or 64 bit) libldd_elfxx.a.
# Expects CPPFLAGS to have ELFSIZE set, and LIB to be set.

SRCS=	ldd_elfxx.c
SRCS+=	xmalloc.c debug.c expand.c map_object.c load.c search.c \
	headers.c paths.c tls.c symver.c

CPPFLAGS.tls.c+=	-std=gnu11

.include "Makefile.common"