Home | History | Annotate | Line # | Download | only in complex
Makefile.inc revision 1.9
      1  1.9  christos # $NetBSD: Makefile.inc,v 1.9 2016/09/19 22:05:05 christos Exp $
      2  1.1  drochner 
      3  1.1  drochner .PATH: ${.CURDIR}/complex
      4  1.1  drochner 
      5  1.9  christos COMPLEX_SRCS = cabs.c carg.c \
      6  1.8  christos 	ccos.c ccosh.c cephes_subr.c cexp.c clog.c conj.c cpow.c cproj.c \
      7  1.9  christos 	cimag.c creal.c csin.c csinh.c csqrt.c ctan.c ctanh.c \
      8  1.9  christos 	catrig.c
      9  1.9  christos CATRIG_SRCS = cacos.c cacosh.c casin.c casinh.c catan.c catanh.c
     10  1.1  drochner 
     11  1.9  christos CPPFLAGS+=-I${.CURDIR}/src
     12  1.5  christos .for i in ${COMPLEX_SRCS}
     13  1.5  christos SRCS+=	$i ${i:S/.c/f.c/} ${i:S/.c/l.c/}
     14  1.9  christos MAN+= ${i:Ncatrig*:Ncephes_*:S/.c/.3/}
     15  1.9  christos MLINKS+= ${i:Ncatrig*:Ncephes_*:S/.c/.3/} ${i:Ncatrig*:Ncephes_*:S/.c/f.3/}
     16  1.9  christos MLINKS+= ${i:Ncatrig*:Ncephes_*:S/.c/.3/} ${i:Ncatrig*:Ncephes_*:S/.c/l.3/}
     17  1.5  christos .endfor
     18  1.9  christos 
     19  1.9  christos .for i in ${CATRIG_SRCS}
     20  1.9  christos MAN+= ${i:S/.c/.3/}
     21  1.9  christos MLINKS+= ${i:S/.c/.3/} ${i:S/.c/f.3/}
     22  1.9  christos MLINKS+= ${i:S/.c/.3/} ${i:S/.c/l.3/}
     23  1.9  christos .endfor
     24  1.9  christos 
     25  1.9  christos 
     26