Home | History | Annotate | Line # | Download | only in conf
Makefile revision 1.13.26.1
      1  1.13.26.1   haad #	$NetBSD: Makefile,v 1.13.26.1 2008/12/13 01:13:00 haad Exp $
      2        1.1     is 
      3        1.1     is #
      4       1.12  lukem # Use this file to regenerate DRACO, GENERIC, INSTALL
      5       1.10  lukem # out of the GENERIC.in template.
      6        1.1     is #
      7        1.1     is 
      8       1.12  lukem all: DRACO GENERIC INSTALL
      9        1.5     is 
     10       1.10  lukem DRACO: __generate_config
     11       1.10  lukem 
     12       1.10  lukem GENERIC: __generate_config
     13       1.10  lukem 
     14       1.10  lukem INSTALL: __generate_config
     15       1.10  lukem 
     16       1.10  lukem __generate_config: .USE GENERIC.in Makefile
     17       1.10  lukem 	@echo Generating ${.TARGET}...
     18       1.10  lukem 	@echo -n '# '$$ > ${.TARGET}
     19       1.10  lukem 	@echo NetBSD$$ >> ${.TARGET}
     20       1.10  lukem 	@echo '#' >> ${.TARGET}
     21       1.10  lukem 	@echo '# This file was automatically created.' >> ${.TARGET}
     22       1.10  lukem 	@echo '# Changes will be lost when make is run in this directory.' >> ${.TARGET}
     23       1.10  lukem 	@echo '#' >> ${.TARGET}
     24       1.10  lukem 	@echo -n '# Created from: ' >> ${.TARGET}
     25  1.13.26.1   haad 	${TOOL_SED} -e '1s/$$NetBSD/NetBSD/' GENERIC.in |\
     26       1.10  lukem 		m4 -P -DM4_Target=${.TARGET} >> ${.TARGET}
     27