# $OpenBSD: Makefile,v 1.3 2001/09/06 19:12:34 jason Exp $ LIB= kern .PATH: ${.CURDIR}/../../../../lib/libkern .PATH: ${.CURDIR}/../../../../lib/libkern/arch/sparc .include "${.CURDIR}/../../../../lib/libkern/arch/sparc/Makefile.inc" CFLAGS= -O2 -nostdinc -I${.CURDIR}/../include -I${.CURDIR}/../../../.. \ -I${.CURDIR}/../../../../lib/libkern \ -I${.CURDIR}/../../../../lib/libkern/arch/sparc -I${.CURDIR} AFLAGS= -x assembler-with-cpp -traditional-cpp -I${.CURDIR}/../include \ -I${.CURDIR}/../../../.. -I${.CURDIR}/../../../../lib/libkern \ -I${.CURDIR}/../../../../lib/libkern/arch/sparc # kern routines SRCS= __main.c ashrdi3.c bzero.S divdi3.c qdivrem.c strlen.S strcat.c \ strcmp.c strcpy.c strncmp.c umoddi3.c SRCS+= umul.S mul.S rem.S sdiv.S udiv.S urem.S SRCS+= saveregs.S ${OBJS}: ${.CURDIR}/../Makefile.inc CLEANFILES += machine NOPROFILE= NOPIC= .if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj) .BEGIN: @([ -h machine ] || ln -s ${.CURDIR}/../../include machine) .endif install: .include