1 1.1 christos # $NetBSD: Makefile.inc,v 1.1 2012/01/22 18:36:18 christos Exp $ 2 1.1 christos 3 1.1 christos .PATH: ${COMPATDIR}/arch/${MACHINE_ARCH}/stdio ${COMPATDIR}/stdio 4 1.1 christos 5 1.1 christos SRCS+= compat_fgetpos.c compat_fsetpos.c 6 1.1 christos CPPFLAGS.compat_fgetpos.c+= -I${COMPATDIR}/../stdio 7 1.1 christos CPPFLAGS.compat_fsetpos.c+= -I${COMPATDIR}/../stdio 8 1.1 christos # $NetBSD: Makefile.inc,v 1.1 2012/01/22 18:36:18 christos Exp $ 9 1.1 christos 10 1.1 christos .ifndef ABSTOP 11 1.1 christos ABSTOP!= cd ${.PARSEDIR}; pwd 12 1.1 christos 13 1.1 christos .if (${.PARSEDIR} == ${.CURDIR}) 14 1.1 christos RELTOP:= . 15 1.1 christos .else 16 1.1 christos RELTOP:= ${.PARSEDIR:S,^${.CURDIR},,} 17 1.1 christos .endif 18 1.1 christos 19 1.1 christos # you can set BSD{SRC,OBJ}DIR in Makefile.local.inc 20 1.1 christos .if exists(${ABSTOP}/Makefile.local.inc) 21 1.1 christos .include "${ABSTOP}/Makefile.local.inc" 22 1.1 christos .endif 23 1.1 christos .endif 24