Home | History | Annotate | Line # | Download | only in libarch
Makefile revision 1.21
      1  1.21       mrg #	$NetBSD: Makefile,v 1.21 2008/10/26 07:05:33 mrg Exp $
      2   1.1    brezak 
      3  1.18   thorpej # These should always be a MACHINE_CPU value
      4  1.20        pk ARCHDIRS= alpha arm i386 m68k sparc x86_64
      5  1.11  drochner 
      6  1.12    simonb .for arch in ${ARCHDIRS}
      7  1.18   thorpej .include "${.CURDIR}/${arch}/Makefile.inc"
      8  1.18   thorpej .PATH:	${.CURDIR}/${arch}
      9  1.12    simonb .endfor
     10  1.12    simonb 
     11  1.12    simonb OBJS+= ${ASM}
     12  1.12    simonb POBJS+=	${ASM:.o=.po}
     13  1.12    simonb CLEANFILES+= ${ASM} ${POBJS}
     14  1.12    simonb 
     15  1.12    simonb # Build the library if SRCS is now defined ...
     16  1.12    simonb .if defined(SRCS)
     17  1.21       mrg .if defined(LD32DIR) && ${LD32DIR} != "none"
     18  1.21       mrg LIB=	${LD32DIR}
     19  1.21       mrg .else
     20  1.18   thorpej LIB=	${MACHINE_CPU}
     21  1.21       mrg .endif
     22  1.15      matt SHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version
     23  1.12    simonb 
     24  1.12    simonb .include <bsd.lib.mk>
     25  1.12    simonb .else
     26  1.12    simonb # ... otherwise just build the manpages
     27  1.12    simonb .include <bsd.man.mk>
     28   1.1    brezak .endif
     29  1.20        pk .include <bsd.subdir.mk>
     30