Home | History | Annotate | Line # | Download | only in libarch
Makefile revision 1.14
      1  1.14   thorpej #	$NetBSD: Makefile,v 1.14 2000/02/26 19:39:35 thorpej 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.12    simonb LIB=    ${MACHINE_ARCH:C/mipse[bl]/mips/}
     17  1.13    simonb SHLIB_VERSION_FILE= ${.CURDIR}/${MACHINE_ARCH:C/mipse[bl]/mips/}/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