blob: 8f46c1d5d1e347d5a9edfe0182847d29faf8a526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $OpenBSD: Makefile,v 1.9 2013/03/20 21:49:59 kurt Exp $
# $NetBSD: Makefile,v 1.10 1995/03/06 04:24:41 cgd Exp $
MAN= ldconfig.8
.include <bsd.own.mk>
.if (${ELF_TOOLCHAIN:L} == "yes")
PROG= ldconfig
SRCS= ldconfig.c shlib.c etc.c prebind_delete.c debug.c prebind.c library.c sod.c prebind_path.c
LDDIR?= $(.CURDIR)/..
#CFLAGS+=-Werror
CFLAGS+=-I$(.CURDIR) -I$(.CURDIR)/..
LDSTATIC=${STATIC}
BINDIR= /sbin
#.PATH: $(LDDIR) $(LDDIR)/$(MACHINE_ARCH)
.endif
.include <bsd.prog.mk>
|