1994-06-10 19:16:32 +04:00
|
|
|
# $Id: Makefile,v 1.8 1994/06/10 15:16:53 pk Exp $
|
1993-10-23 03:16:57 +03:00
|
|
|
|
|
|
|
PROG= ldconfig
|
|
|
|
SRCS= ldconfig.c shlib.c etc.c
|
|
|
|
LDDIR?= $(.CURDIR)/..
|
1993-12-10 08:10:22 +03:00
|
|
|
CFLAGS+=-I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE_ARCH)
|
|
|
|
LDSTATIC=-static
|
|
|
|
BINDIR= /sbin
|
|
|
|
MAN8= ldconfig.0
|
1993-10-23 03:16:57 +03:00
|
|
|
|
1993-12-08 14:47:17 +03:00
|
|
|
.PATH: $(LDDIR) $(LDDIR)/$(MACHINE_ARCH)
|
1993-10-23 03:16:57 +03:00
|
|
|
|
1994-06-10 19:16:32 +04:00
|
|
|
.if ($(MACHINE_ARCH) == i386)
|
|
|
|
CFLAGS += -DSTANDARD_SEARCH_DIRS="\"/usr/lib\", \"/usr/X386/lib\""
|
|
|
|
.endif
|
|
|
|
|
1993-10-23 03:16:57 +03:00
|
|
|
.include <bsd.prog.mk>
|