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