Cross Reference: Makefile
xref: /xsrc/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/
Makefile revision 90360741
190360741Stv#	$NetBSD: Makefile,v 1.5 1999/05/24 00:05:37 tv Exp $
23cbc2fa9Smrg#
35c5d6177Smrg# build and install xsrc
43cbc2fa9Smrg
5b583040eStvall: all-xc all-contrib
6b583040eStv
7b583040eStvall-xc:
8b583040eStv.if exists(xc/xmakefile)
9b583040eStv	@cd xc && ${MAKE} -f xmakefile World
10b583040eStv.else
11b583040eStv	@cd xc && ${MAKE} World
12b583040eStv.endif
133cbc2fa9Smrg
143cbc2fa9Smrgall-contrib:
15b583040eStv.if !exists(contrib/Makefile)
16b583040eStv	@cd contrib && PATH=../xc/config/imake:$$PATH \
175c5d6177Smrg	    sh ../xc/config/util/xmkmf -a ../xc ../contrib
18b583040eStv.endif
19b583040eStv	@cd contrib && ${MAKE}
203cbc2fa9Smrg
213cbc2fa9Smrginstall: install-xc install-contrib
223cbc2fa9Smrg
233cbc2fa9Smrginstall-xc:
24b583040eStv	@cd xc && ${MAKE} install && ${MAKE} install.man
253cbc2fa9Smrg
263cbc2fa9Smrginstall-contrib:
27b583040eStv	@cd contrib && ${MAKE} install && ${MAKE} install.man
285c5d6177Smrg
29b583040eStvclean cleandir distclean:
30b583040eStv	@cd xc && ${MAKE} clean
31b583040eStv	@-cd contrib && ${MAKE} clean
3290360741Stv
3390360741Stvbuild:
3490360741Stv.if exists(xc/xmakefile)
3590360741Stv	@echo ""
3690360741Stv	@echo "Warning:  This does not rebuild from a clean tree."
3790360741Stv	@echo "Use 'make clean' first if you want to start from scratch."
3890360741Stv	@echo ""
3990360741Stv.endif
4090360741Stv	@${MAKE} all install
41

Indexes created Fri Nov 28 15:09:28 GMT 2025