Home | History | Annotate | Line # | Download | only in libdecnumber
Makefile revision 1.8
      1 #	$NetBSD: Makefile,v 1.8 2020/09/14 00:40:40 christos Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "../Makefile.inc"
      5 
      6 LIBISPRIVATE=	yes
      7 
      8 LIB=		decnumber
      9 
     10 .include "${.CURDIR}/arch/${GDB_MACHINE_ARCH}/defs.mk"
     11 
     12 GCPPFLAGS=	${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
     13 CPPFLAGS+=	-I${.CURDIR}/arch/${GDB_MACHINE_ARCH} \
     14 		-I${.CURDIR}/../libbfd/arch/${GDB_MACHINE_ARCH} \
     15 		-I${DIST}/include -I. \
     16 		-I${DIST}/libdecnumber ${GCPPFLAGS:M-D*} \
     17 		${GCPPFLAGS:M-I*:N-I.*}
     18 
     19 SRCS=		${G_OBJS:.o=.c} ${G_SOURCES}
     20 
     21 .if ${MACHINE_ARCH} == "vax"
     22 COPTS.decNumber.c=-O0
     23 .endif
     24 
     25 .PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd
     26 
     27 .include <bsd.lib.mk>
     28