Use ${PRINT_OBJDIR} rather than looking for the libsa objdir manually.
This commit is contained in:
parent
98b2b14b9c
commit
59c268f094
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2001/12/12 12:24:24 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2002/04/08 17:29:53 bjh21 Exp $
|
||||
|
||||
NOMAN= # defined
|
||||
|
||||
|
@ -35,15 +35,9 @@ S_KERN=${S}/lib/libkern
|
|||
S_MACHSA=${S}/arch/atari/stand/libsa
|
||||
S_LIBTOS=${S}/arch/atari/stand/tostools/libtos
|
||||
|
||||
.if exists(${S_MACHSA}/libsa.a)
|
||||
LIBSA=${S_MACHSA}/libsa.a
|
||||
.else
|
||||
. if exists(${S_MACHSA}/obj/libsa.a)
|
||||
LIBSA=${S_MACHSA}/obj/libsa.a
|
||||
. else
|
||||
LIBSA=${S_MACHSA}/obj.${MACHINE}/libsa.a
|
||||
. endif
|
||||
.endif
|
||||
S_MACHSAOBJ!= cd ${S_MACHSA} && ${PRINTOBJDIR}
|
||||
|
||||
LIBSA=${S_MACHSAOBJ}/libsa.a
|
||||
|
||||
DPADD= ${LIBSA}
|
||||
LDADD= ${LIBSA}
|
||||
|
|
Loading…
Reference in New Issue