diff options
author | markm <markm@FreeBSD.org> | 1996-10-24 18:03:53 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1996-10-24 18:03:53 +0000 |
commit | 60458c7a5c579d18cfcea70a2ad227276cc23f75 (patch) | |
tree | fa7d8feb1fe43a9337189600095ac593f6ef9830 /gnu/lib | |
parent | 136d3578ea3e2c0560098f4d2f79d2e202275107 (diff) | |
download | FreeBSD-src-60458c7a5c579d18cfcea70a2ad227276cc23f75.zip FreeBSD-src-60458c7a5c579d18cfcea70a2ad227276cc23f75.tar.gz |
Fix the dependancies.
Thanks Andrey!
Submitted by: ache
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libmp/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/lib/libmp/Makefile b/gnu/lib/libmp/Makefile index 2815a7f..1a7abb0 100644 --- a/gnu/lib/libmp/Makefile +++ b/gnu/lib/libmp/Makefile @@ -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 |