Home | History | Annotate | Line # | Download | only in conf
Makefile revision 1.10.84.1
      1  1.10.84.1   matt #	$NetBSD: Makefile,v 1.10.84.1 2007/11/06 23:14:29 matt Exp $
      2        1.1     is 
      3        1.1     is #
      4  1.10.84.1   matt # 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.10.84.1   matt 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.10  lukem 	sed -e '1s/$$NetBSD/NetBSD/' GENERIC.in |\
     26       1.10  lukem 		m4 -P -DM4_Target=${.TARGET} >> ${.TARGET}
     27