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