1 1.8.2.1 pgoyette # $NetBSD: Makefile.inc,v 1.8.2.1 2016/11/04 14:48:54 pgoyette Exp $ 2 1.1 drochner 3 1.1 drochner .PATH: ${.CURDIR}/complex 4 1.1 drochner 5 1.8.2.1 pgoyette 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.8.2.1 pgoyette cimag.c creal.c csin.c csinh.c csqrt.c ctan.c ctanh.c \ 8 1.8.2.1 pgoyette catrig.c 9 1.8.2.1 pgoyette CATRIG_SRCS = cacos.c cacosh.c casin.c casinh.c catan.c catanh.c 10 1.1 drochner 11 1.8.2.1 pgoyette 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.8.2.1 pgoyette MAN+= ${i:Ncatrig*:Ncephes_*:S/.c/.3/} 15 1.8.2.1 pgoyette MLINKS+= ${i:Ncatrig*:Ncephes_*:S/.c/.3/} ${i:Ncatrig*:Ncephes_*:S/.c/f.3/} 16 1.8.2.1 pgoyette MLINKS+= ${i:Ncatrig*:Ncephes_*:S/.c/.3/} ${i:Ncatrig*:Ncephes_*:S/.c/l.3/} 17 1.5 christos .endfor 18 1.8.2.1 pgoyette 19 1.8.2.1 pgoyette .for i in ${CATRIG_SRCS} 20 1.8.2.1 pgoyette MAN+= ${i:S/.c/.3/} 21 1.8.2.1 pgoyette MLINKS+= ${i:S/.c/.3/} ${i:S/.c/f.3/} 22 1.8.2.1 pgoyette MLINKS+= ${i:S/.c/.3/} ${i:S/.c/l.3/} 23 1.8.2.1 pgoyette .endfor 24 1.8.2.1 pgoyette 25 1.8.2.1 pgoyette 26