Cross Reference: Makefile
xref: /src/lib/libarch/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/lib/libarch/
Makefile revision 1.28
11.28Smatt#	$NetBSD: Makefile,v 1.28 2014/08/10 23:25:49 matt Exp $
21.26Smatt
31.26Smatt.include <bsd.own.mk>
41.1Sbrezak
51.18Sthorpej# These should always be a MACHINE_CPU value
61.24SdyoungARCHDIRS= alpha arm i386 m68k sparc x86_64
71.11Sdrochner
81.12Ssimonb.for arch in ${ARCHDIRS}
91.18Sthorpej.include "${.CURDIR}/${arch}/Makefile.inc"
101.18Sthorpej.PATH:	${.CURDIR}/${arch}
111.12Ssimonb.endfor
121.12Ssimonb
131.12SsimonbOBJS+= ${ASM}
141.12SsimonbPOBJS+=	${ASM:.o=.po}
151.12SsimonbCLEANFILES+= ${ASM} ${POBJS}
161.12Ssimonb
171.28SmattLIBC_MACHINE_CPU?=	${MACHINE_CPU}
181.28Smatt
191.12Ssimonb# Build the library if SRCS is now defined ...
201.12Ssimonb.if defined(SRCS)
211.28Smatt.if defined(MLIBDIR) && ${MLIBDIR} != "none" && ${LIBC_MACHINE_CPU} != "arm"
221.22SmrgLIB=	${MLIBDIR}
231.21Smrg.else
241.28SmattLIB=	${LIBC_MACHINE_CPU}
251.21Smrg.endif
261.15SmattSHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version
271.12Ssimonb
281.12Ssimonb.include <bsd.lib.mk>
291.12Ssimonb.else
301.12Ssimonb# ... otherwise just build the manpages
311.12Ssimonb.include <bsd.man.mk>
321.1Sbrezak.endif
331.20Spk.include <bsd.subdir.mk>
34

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