Cross Reference: Makefile
xref: /xsrc/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/
Makefile revision b583040e
1b583040eStv#	$NetBSD: Makefile,v 1.4 1999/05/16 16:07:12 tv Exp $
23cbc2fa9Smrg#
35c5d6177Smrg# build and install xsrc
43cbc2fa9Smrg
5b583040eStvbuild:
6b583040eStv.if exists(xc/xmakefile)
7b583040eStv	@echo ""
8b583040eStv	@echo "Warning:  This does not rebuild from a clean tree."
9b583040eStv	@echo "Use 'make clean' first if you want to start from scratch."
10b583040eStv	@echo ""
11b583040eStv.endif
12b583040eStv	@${MAKE} all install
13b583040eStv
14b583040eStvall: all-xc all-contrib
15b583040eStv
16b583040eStvall-xc:
17b583040eStv.if exists(xc/xmakefile)
18b583040eStv	@cd xc && ${MAKE} -f xmakefile World
19b583040eStv.else
20b583040eStv	@cd xc && ${MAKE} World
21b583040eStv.endif
223cbc2fa9Smrg
233cbc2fa9Smrgall-contrib:
24b583040eStv.if !exists(contrib/Makefile)
25b583040eStv	@cd contrib && PATH=../xc/config/imake:$$PATH \
265c5d6177Smrg	    sh ../xc/config/util/xmkmf -a ../xc ../contrib
27b583040eStv.endif
28b583040eStv	@cd contrib && ${MAKE}
293cbc2fa9Smrg
303cbc2fa9Smrginstall: install-xc install-contrib
313cbc2fa9Smrg
323cbc2fa9Smrginstall-xc:
33b583040eStv	@cd xc && ${MAKE} install && ${MAKE} install.man
343cbc2fa9Smrg
353cbc2fa9Smrginstall-contrib:
36b583040eStv	@cd contrib && ${MAKE} install && ${MAKE} install.man
375c5d6177Smrg
38b583040eStvclean cleandir distclean:
39b583040eStv	@cd xc && ${MAKE} clean
40b583040eStv	@-cd contrib && ${MAKE} clean
41

Indexes created Fri Nov 28 10:09:32 GMT 2025