Annotation of sys/arch/sgi/stand/libsa/Makefile, Revision 1.1
1.1 ! nbrk 1: # $OpenBSD: Makefile,v 1.3 2004/09/22 22:06:18 miod Exp $
! 2:
! 3: LIB= sa
! 4:
! 5: .PATH: ${.CURDIR}/../../../../lib/libsa
! 6:
! 7: CLEANFILES += machine mips64
! 8:
! 9: CFLAGS= ${CEXTRAFLAGS} -O2 ${SAABI} -nostdinc -mno-abicalls -D_NO_ABICALLS \
! 10: -I${.CURDIR} -I${.CURDIR}/../include -I${.CURDIR}/../.. \
! 11: -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. \
! 12: -I${.CURDIR}/../../../../lib/libsa \
! 13: -I${.OBJDIR}
! 14:
! 15: CPPFLAGS+= -D__INTERNAL_LIBSA_CREAD ${STANDALONE}
! 16: CPPFLAGS+= -DLIBSA_LONGLONG_PRINTF
! 17:
! 18: # stand routines
! 19: SRCS= alloc.c exit.c exec.c getfile.c gets.c globals.c \
! 20: memcmp.c memcpy.c memset.c printf.c snprintf.c strerror.c strncpy.c
! 21:
! 22: # io routines
! 23: SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c ioctl.c lseek.c \
! 24: open.c read.c stat.c write.c cread.c
! 25:
! 26: # boot filesystems
! 27: SRCS+= ufs.c nfs.c cd9660.c
! 28:
! 29: ${OBJS}: ${.CURDIR}/../Makefile.inc
! 30:
! 31: NOPROFILE=
! 32: NOPIC=
! 33:
! 34: .if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj)
! 35: .BEGIN:
! 36: @([ -h machine ] || ln -s ${.CURDIR}/../../include machine)
! 37: @([ -h mips64 ] || ln -s ${.CURDIR}/../../../mips64/include mips64)
! 38: .endif
! 39:
! 40: install:
! 41:
! 42: .include <bsd.lib.mk>
CVSweb