5 # below is boiler-plate to make $(CRUNCHED) from $(CRUNCHED).conf
6 # I'd use PROG instead of CRUNCHED, but the system makefiles REALLY want
7 # to build things in the normal way if you use PROG.
12 OUTPUTS= $(OUTMK) $(CRUNCHED).c $(CRUNCHED).cache
15 CLEANFILES+= $(CRUNCHED) *.o *.lo *.c *.mk *.cache
16 CLEANDIRFILES+= $(OUTPUTS)
22 MAKE=${MAKE} crunchgen ${.CURDIR}/$(CONF)
24 $(CRUNCHED): $(OUTPUTS) submake
29 ${MAKE} -f $(OUTMK) objs
31 rm -f $(CLEANDIRFILES)
33 .include <bsd.prog.mk>