Makefile revision 1.2
1#	$NetBSD: Makefile,v 1.2 1999/02/15 19:16:41 is Exp $
2
3#
4# Use this file to regenerate AMIGA and DRACO out of the GENERIC template.
5#
6
7all: AMIGA DRACO
8
9AMIGA: 
10	@echo -n '# '$$ > $@
11	@echo NetBSD$$ >> $@
12	@echo '#' >> $@
13	@echo '# This file was automatically created. Changes will be' >> $@
14	@echo '# lost when running make in this directory.' >> $@
15	@echo '#' >> $@
16	@echo '# Created from: ' >> $@
17	@sed -e '1s/NetBSD/ NetBSD/' GENERIC |\
18		cpp -P -DAMIGA_CONFIGURATION |\
19		awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
20
21DRACO:
22	@echo -n '# '$$ > $@
23	@echo NetBSD$$ >> $@
24	@echo '#' >> $@
25	@echo '# This file was automatically created. Changes will be' >> $@
26	@echo '# lost when running make in this directory.' >> $@
27	@echo '#' >> $@
28	@echo '# Created from: ' >> $@
29	@sed -e '1s/NetBSD/ NetBSD/' GENERIC |\
30		cpp -P -DDRACO_CONFIGURATION |\
31		awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
32
33AMIGA DRACO: GENERIC Makefile
34