NetBSD/sys/arch/amiga/conf/Makefile

52 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2001/01/25 22:34:20 is Exp $
#
# Use this file to regenerate AMIGA and DRACO out of the GENERIC template.
#
2000-04-02 00:21:27 +04:00
all: AMIGA DRACO INSTALL
AMIGA: GENERIC
@echo Generating AMIGA...
@echo -n '# '$$ > $@
@echo NetBSD$$ >> $@
@echo '#' >> $@
@echo '# This file was automatically created. Changes will be' >> $@
@echo '# lost when running make in this directory.' >> $@
@echo '#' >> $@
@echo -n '# Created from: ' >> $@
@sed -e '1s/$$NetBSD/NetBSD/' GENERIC |\
cpp -undef -P -DAMIGA_CONFIGURATION 2>/dev/null |\
awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
DRACO: GENERIC
@echo Generating DRACO...
@echo -n '# '$$ > $@
@echo NetBSD$$ >> $@
@echo '#' >> $@
@echo '# This file was automatically created. Changes will be' >> $@
@echo '# lost when running make in this directory.' >> $@
@echo '#' >> $@
@echo -n '# Created from: ' >> $@
@sed -e '1s/$$NetBSD/NetBSD/' GENERIC |\
cpp -undef -P -DDRACO_CONFIGURATION 2>/dev/null |\
awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
2000-04-02 00:21:27 +04:00
INSTALL: GENERIC
@echo Generating INSTALL...
2000-04-02 00:21:27 +04:00
@echo -n '# '$$ > $@
@echo NetBSD$$ >> $@
@echo '#' >> $@
@echo '# This file was automatically created. Changes will be' >> $@
@echo '# lost when running make in this directory.' >> $@
@echo '#' >> $@
@echo -n '# Created from: ' >> $@
@sed -e '1s/$$NetBSD/NetBSD/' \
-e 's/ pty / pty 2 /' GENERIC |\
2000-04-02 00:21:27 +04:00
cpp -undef -P \
-DAMIGA_CONFIGURATION -DDRACO_CONFIGURATION \
-DINSTALL_CONFIGURATION 2>/dev/null |\
awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
AMIGA DRACO INSTALL: GENERIC Makefile