Makefile revision 1.4
1#	$NetBSD: Makefile,v 1.4 1999/04/10 21:36:26 tron Exp $
2
3#
4# Use this file to regenerate AMIGA and DRACO out of the GENERIC template.
5#
6
7all: AMIGA DRACO
8
9AMIGA: GENERIC
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 -undef -P -DAMIGA_CONFIGURATION 2>/dev/null |\
19		awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
20
21DRACO: GENERIC
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 -undef -P -DDRACO_CONFIGURATION 2>/dev/null |\
31		awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
32
33AMIGA DRACO: GENERIC Makefile
34