summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/dlsym/test2/libbb/Makefile
blob: 73bc8aae150d4aa48cb956608dc58e291f41d6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $OpenBSD: Makefile,v 1.1 2005/09/15 22:16:27 kurt Exp $

.include <bsd.obj.mk>

CC_DIR=${.CURDIR}/../libcc

CC_OBJDIR!=	if [ -d $(CC_DIR)/${__objdir} ]; then \
			echo "$(CC_DIR)/${__objdir}"; \
		else \
			echo "$(CC_DIR)"; \
		fi

LIB=bb
SRCS= bb.c
LDADD=		-Wl,-E -Wl,-rpath,$(CC_OBJDIR) -L$(CC_OBJDIR) -lcc
.include <bsd.lib.mk>