Home | History | Annotate | Line # | Download | only in libarch
Makefile revision 1.15
      1 #	$NetBSD: Makefile,v 1.15 2001/07/14 03:18:33 matt Exp $
      2 
      3 ARCHDIRS= alpha arm32 i386 m68k
      4 
      5 .for arch in ${ARCHDIRS}
      6 .include "${.CURDIR}/${arch:C/mipse[bl]/mips/}/Makefile.inc"
      7 .PATH:	${.CURDIR}/${arch:C/mipse[bl]/mips/}
      8 .endfor
      9 
     10 OBJS+= ${ASM}
     11 POBJS+=	${ASM:.o=.po}
     12 CLEANFILES+= ${ASM} ${POBJS}
     13 
     14 # Build the library if SRCS is now defined ...
     15 .if defined(SRCS)
     16 LIB=    ${MACHINE_ARCH:C/mipse[bl]/mips/:C/arm*/arm32/}
     17 SHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version
     18 
     19 .include <bsd.lib.mk>
     20 .else
     21 # ... otherwise just build the manpages
     22 .include <bsd.man.mk>
     23 .endif
     24