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
|
# @(#)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
|
PROG= bdes
|
||||||
SRCS= bdes.c
|
SRCS= bdes.c
|
||||||
|
|
||||||
LDADD+= -L../../lib/libcipher -lcipher
|
.if exists(${.CURDIR}/../../lib/libcipher/obj)
|
||||||
DPADD+= ../../lib/libcipher/libcipher.a
|
LDFLAGS+= -L${.CURDIR}/../../lib/libcipher/obj
|
||||||
|
.else
|
||||||
|
LDFLAGS+= -L${.CURDIR}/../../lib/libcipher
|
||||||
|
.endif
|
||||||
|
|
||||||
|
LDADD+= -lcipher
|
||||||
|
DPADD+= libcipher.a
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user