mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-09 05:59:13 -04:00
24 lines
634 B
Makefile
24 lines
634 B
Makefile
# $NetBSD: Makefile.inc,v 1.1 2012/01/22 18:36:18 christos Exp $
|
|
|
|
.PATH: ${COMPATDIR}/arch/${MACHINE_ARCH}/stdio ${COMPATDIR}/stdio
|
|
|
|
SRCS+= compat_fgetpos.c compat_fsetpos.c
|
|
CPPFLAGS.compat_fgetpos.c+= -I${COMPATDIR}/../stdio
|
|
CPPFLAGS.compat_fsetpos.c+= -I${COMPATDIR}/../stdio
|
|
# $NetBSD: Makefile.inc,v 1.1 2012/01/22 18:36:18 christos Exp $
|
|
|
|
.ifndef ABSTOP
|
|
ABSTOP!= cd ${.PARSEDIR}; pwd
|
|
|
|
.if (${.PARSEDIR} == ${.CURDIR})
|
|
RELTOP:= .
|
|
.else
|
|
RELTOP:= ${.PARSEDIR:S,^${.CURDIR},,}
|
|
.endif
|
|
|
|
# you can set BSD{SRC,OBJ}DIR in Makefile.local.inc
|
|
.if exists(${ABSTOP}/Makefile.local.inc)
|
|
.include "${ABSTOP}/Makefile.local.inc"
|
|
.endif
|
|
.endif
|