Makefile revision 1.2
1# $NetBSD: Makefile,v 1.2 2000/06/20 06:00:27 thorpej Exp $ 2 3# The `all' target must appear before bsd.own.mk is pulled in. 4all: 5 @echo "Please understand what you are doing, first." 6 @false 7 8# 9# DETERMINE WHICH CRYPTO SET TO USE 10# 11 12.include <bsd.own.mk> 13 14# 15# UTILITY TARGETS 16# 17 18check_destdir: .PHONY 19.if !defined(DESTDIR) 20 @echo "DESTDIR must be set" 21 @false 22.else 23 @true 24.endif 25 26check_releasedir: .PHONY 27.if !defined(RELEASEDIR) 28 @echo "RELEASEDIR must be set" 29 @false 30.else 31 @true 32.endif 33 34# 35# SET BUILDING TARGETS 36# 37 38.PRECIOUS: checkflist 39checkflist: check_destdir 40 DESTDIR=${DESTDIR} sh ${.CURDIR}/checkflist 41 42.PRECIOUS: maketars 43maketars: check_destdir check_releasedir 44 sh ${.CURDIR}/maketars -d ${DESTDIR} -t ${RELEASEDIR}/binary/sets 45 46.PRECIOUS: makesums 47makesums: check_releasedir 48 sh ${.CURDIR}/makesums -t ${RELEASEDIR}/binary/sets 49 50# 51# MAIN ENTRY POINTS 52# 53 54sets: maketars makesums 55 @true 56