mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
Pick correct library dir whenever obj exists or not
This commit is contained in:
parent
e01a904a06
commit
ab6b1a8ad5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12950
@ -1,10 +1,16 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $Id: Makefile,v 1.4 1994/09/30 06:04:40 pst Exp $
|
||||
# $Id: Makefile,v 1.5 1994/11/14 20:45:35 phk Exp $
|
||||
|
||||
PROG= bdes
|
||||
SRCS= bdes.c
|
||||
|
||||
LDADD+= -L../../lib/libcipher -lcipher
|
||||
DPADD+= ../../lib/libcipher/libcipher.a
|
||||
.if exists(${.CURDIR}/../../lib/libcipher/obj)
|
||||
LDFLAGS+= -L${.CURDIR}/../../lib/libcipher/obj
|
||||
.else
|
||||
LDFLAGS+= -L${.CURDIR}/../../lib/libcipher
|
||||
.endif
|
||||
|
||||
LDADD+= -lcipher
|
||||
DPADD+= libcipher.a
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user