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