Cross Reference: Makefile
xref: /src/lib/libarch/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/lib/libarch/
Makefile revision 1.24
11.23Sdyoung#	$NetBSD: Makefile,v 1.24 2011/07/28 20:30:07 dyoung Exp $
21.1Sbrezak
31.18Sthorpej# These should always be a MACHINE_CPU value
41.24SdyoungARCHDIRS= alpha arm i386 m68k sparc x86_64
51.11Sdrochner
61.12Ssimonb.for arch in ${ARCHDIRS}
71.18Sthorpej.include "${.CURDIR}/${arch}/Makefile.inc"
81.18Sthorpej.PATH:	${.CURDIR}/${arch}
91.12Ssimonb.endfor
101.12Ssimonb
111.12SsimonbOBJS+= ${ASM}
121.12SsimonbPOBJS+=	${ASM:.o=.po}
131.12SsimonbCLEANFILES+= ${ASM} ${POBJS}
141.12Ssimonb
151.12Ssimonb# Build the library if SRCS is now defined ...
161.12Ssimonb.if defined(SRCS)
171.22Smrg.if defined(MLIBDIR) && ${MLIBDIR} != "none"
181.22SmrgLIB=	${MLIBDIR}
191.21Smrg.else
201.18SthorpejLIB=	${MACHINE_CPU}
211.21Smrg.endif
221.15SmattSHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version
231.12Ssimonb
241.12Ssimonb.include <bsd.lib.mk>
251.12Ssimonb.else
261.12Ssimonb# ... otherwise just build the manpages
271.12Ssimonb.include <bsd.man.mk>
281.1Sbrezak.endif
291.20Spk.include <bsd.subdir.mk>
30

Indexes created Thu Jan 15 09:09:32 GMT 2026