mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix the dependancies.
Thanks Andrey! Submitted by: ache
This commit is contained in:
parent
3200ac9848
commit
ebebb88b8d
1 changed files with 9 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# $Id$
|
||||
# $Id: Makefile,v 1.6 1996/10/20 09:29:39 markm Exp $
|
||||
#
|
||||
|
||||
LIB= mp
|
||||
|
|
@ -29,12 +29,14 @@ SRCS= memory.c mp_set_fns.c mp_clz_tab.c version.c stack-alloc.c \
|
|||
mp_bpl.c extract-double.c insert-double.c \
|
||||
${MPN_SRCS} ${MPBSD_SRCS}
|
||||
|
||||
.ifmake all || depend
|
||||
.BEGIN:
|
||||
beforedepend all: mpz sysdep.h asm-syntax.h
|
||||
|
||||
sysdep.h: ${GMPDIR}/mpn/bsd.h
|
||||
cp ${GMPDIR}/mpn/bsd.h sysdep.h
|
||||
|
||||
asm-syntax.h:
|
||||
(echo "#define BSD_SYNTAX" ; \
|
||||
echo "#include \"syntax.h\"") > asm-syntax.h
|
||||
.endif
|
||||
|
||||
CLEANFILES+= sysdep.h asm-syntax.h
|
||||
|
||||
|
|
@ -42,12 +44,11 @@ CLEANFILES+= sysdep.h asm-syntax.h
|
|||
# same name. Nasty hack to keep them from being found by being in
|
||||
# .PATH:s
|
||||
#
|
||||
mpz:
|
||||
.if exists(${.OBJDIR})
|
||||
beforedepend:
|
||||
test -d ${.OBJDIR}/mpz || mkdir ${.OBJDIR}/mpz
|
||||
mkdir ${.OBJDIR}/$@
|
||||
.else
|
||||
beforedepend:
|
||||
test -d ${.CURDIR}/mpz || mkdir ${.CURDIR}/mpz
|
||||
mkdir ${.CURDIR}/$@
|
||||
.endif
|
||||
|
||||
CLEANDIRS+= ${.OBJDIR}/mpz ${.CURDIR}/mpz
|
||||
|
|
|
|||
Loading…
Reference in a new issue