Home | History | Annotate | Line # | Download | only in sets
Makefile revision 1.3
      1  1.3  thorpej #	$NetBSD: Makefile,v 1.3 2001/11/24 02:54:50 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.3  thorpej print_machine: .PHONY
     35  1.3  thorpej 	@echo ${MACHINE}
     36  1.3  thorpej 
     37  1.3  thorpej print_machine_arch: .PHONY
     38  1.3  thorpej 	@echo ${MACHINE_ARCH}
     39  1.3  thorpej 
     40  1.3  thorpej print_machine_cpu: .PHONY
     41  1.3  thorpej 	@echo ${MACHINE_CPU}
     42  1.3  thorpej 
     43  1.3  thorpej print_object_fmt: .PHONY
     44  1.3  thorpej 	@echo ${OBJECT_FMT}
     45  1.3  thorpej 
     46  1.3  thorpej print_use_new_toolchain: .PHONY
     47  1.3  thorpej 	@echo "${USE_NEW_TOOLCHAIN:Dyes}"
     48  1.3  thorpej 
     49  1.3  thorpej # This target has debugging value only, really.
     50  1.3  thorpej makeflist: .PHONY check_destdir
     51  1.3  thorpej 	DESTDIR=${DESTDIR} MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH} \
     52  1.3  thorpej 	    MAKE=${MAKE} sh ${.CURDIR}/makeflist
     53  1.3  thorpej 
     54  1.1  thorpej #
     55  1.1  thorpej # SET BUILDING TARGETS
     56  1.1  thorpej #
     57  1.1  thorpej 
     58  1.1  thorpej .PRECIOUS: checkflist
     59  1.1  thorpej checkflist: check_destdir
     60  1.3  thorpej 	DESTDIR=${DESTDIR} MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH} \
     61  1.3  thorpej 	    MAKE=${MAKE} sh ${.CURDIR}/checkflist
     62  1.1  thorpej 
     63  1.2  thorpej .PRECIOUS: maketars
     64  1.2  thorpej maketars: check_destdir check_releasedir
     65  1.1  thorpej 	sh ${.CURDIR}/maketars -d ${DESTDIR} -t ${RELEASEDIR}/binary/sets
     66  1.1  thorpej 
     67  1.2  thorpej .PRECIOUS: makesums
     68  1.2  thorpej makesums: check_releasedir
     69  1.1  thorpej 	sh ${.CURDIR}/makesums -t ${RELEASEDIR}/binary/sets
     70  1.1  thorpej 
     71  1.1  thorpej #
     72  1.1  thorpej # MAIN ENTRY POINTS
     73  1.1  thorpej #
     74  1.1  thorpej 
     75  1.1  thorpej sets: maketars makesums
     76  1.1  thorpej 	@true
     77