1 # $NetBSD: Makefile,v 1.13 2007/10/17 19:53:14 garbled Exp $
4 # Use this file to regenerate DRACO, GENERIC, INSTALL
5 # out of the GENERIC.in template.
8 all: DRACO GENERIC INSTALL
10 DRACO
: __generate_config
12 GENERIC
: __generate_config
14 INSTALL
: __generate_config
16 __generate_config
: .USE GENERIC.in Makefile
17 @echo Generating
${.TARGET
}...
18 @echo
-n
'# '$$ > ${.TARGET
}
19 @echo NetBSD
$$ >> ${.TARGET
}
20 @echo
'#' >> ${.TARGET
}
21 @echo
'# This file was automatically created.' >> ${.TARGET
}
22 @echo
'# Changes will be lost when make is run in this directory.' >> ${.TARGET
}
23 @echo
'#' >> ${.TARGET
}
24 @echo
-n
'# Created from: ' >> ${.TARGET
}
25 ${TOOL_SED} -e
'1s/$$NetBSD/NetBSD/' GENERIC.in |\
26 m4
-P
-DM4_Target
=${.TARGET
} >> ${.TARGET
}