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