diff options
| author | Mark Murray <markm@FreeBSD.org> | 1996-10-24 18:03:53 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 1996-10-24 18:03:53 +0000 |
| commit | ebebb88b8df8b031516c4ef060d152e19da56f17 (patch) | |
| tree | fa7d8feb1fe43a9337189600095ac593f6ef9830 /gnu/lib/libmp | |
| parent | 3200ac98486073141747c9ca0c64f530c5af51c3 (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libmp')
| -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 2815a7f36fd0..1a7abb0768af 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 |
