1999-03-09 18:14:32 +03:00
|
|
|
# $NetBSD: Makefile,v 1.3 1999/03/09 15:14:32 is Exp $
|
1999-02-04 22:01:37 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Use this file to regenerate AMIGA and DRACO out of the GENERIC template.
|
|
|
|
#
|
|
|
|
|
|
|
|
all: AMIGA DRACO
|
|
|
|
|
|
|
|
AMIGA:
|
1999-02-15 22:16:41 +03:00
|
|
|
@echo -n '# '$$ > $@
|
|
|
|
@echo NetBSD$$ >> $@
|
|
|
|
@echo '#' >> $@
|
|
|
|
@echo '# This file was automatically created. Changes will be' >> $@
|
1999-02-04 22:01:37 +03:00
|
|
|
@echo '# lost when running make in this directory.' >> $@
|
|
|
|
@echo '#' >> $@
|
|
|
|
@echo '# Created from: ' >> $@
|
|
|
|
@sed -e '1s/NetBSD/ NetBSD/' GENERIC |\
|
1999-03-09 18:14:32 +03:00
|
|
|
cpp -undef -P -DAMIGA_CONFIGURATION |\
|
1999-02-04 22:01:37 +03:00
|
|
|
awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
|
|
|
|
|
|
|
|
DRACO:
|
1999-02-15 22:16:41 +03:00
|
|
|
@echo -n '# '$$ > $@
|
|
|
|
@echo NetBSD$$ >> $@
|
|
|
|
@echo '#' >> $@
|
|
|
|
@echo '# This file was automatically created. Changes will be' >> $@
|
1999-02-04 22:01:37 +03:00
|
|
|
@echo '# lost when running make in this directory.' >> $@
|
|
|
|
@echo '#' >> $@
|
|
|
|
@echo '# Created from: ' >> $@
|
|
|
|
@sed -e '1s/NetBSD/ NetBSD/' GENERIC |\
|
1999-03-09 18:14:32 +03:00
|
|
|
cpp -undef -P -DDRACO_CONFIGURATION |\
|
1999-02-04 22:01:37 +03:00
|
|
|
awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
|
|
|
|
|
|
|
|
AMIGA DRACO: GENERIC Makefile
|