2001-01-26 01:34:20 +03:00
|
|
|
# $NetBSD: Makefile,v 1.7 2001/01/25 22:34:20 is Exp $
|
1999-02-04 22:01:37 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
1999-02-04 22:01:37 +03:00
|
|
|
|
1999-04-11 01:36:26 +04:00
|
|
|
AMIGA: GENERIC
|
2001-01-26 01:34:20 +03:00
|
|
|
@echo Generating 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 '#' >> $@
|
2001-01-26 01:34:20 +03:00
|
|
|
@echo -n '# Created from: ' >> $@
|
|
|
|
@sed -e '1s/$$NetBSD/NetBSD/' GENERIC |\
|
1999-04-11 01:36:26 +04:00
|
|
|
cpp -undef -P -DAMIGA_CONFIGURATION 2>/dev/null |\
|
1999-02-04 22:01:37 +03:00
|
|
|
awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
|
|
|
|
|
1999-04-11 01:36:26 +04:00
|
|
|
DRACO: GENERIC
|
2001-01-26 01:34:20 +03:00
|
|
|
@echo Generating 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 '#' >> $@
|
2001-01-26 01:34:20 +03:00
|
|
|
@echo -n '# Created from: ' >> $@
|
|
|
|
@sed -e '1s/$$NetBSD/NetBSD/' GENERIC |\
|
1999-04-11 01:36:26 +04:00
|
|
|
cpp -undef -P -DDRACO_CONFIGURATION 2>/dev/null |\
|
1999-02-04 22:01:37 +03:00
|
|
|
awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
|
|
|
|
|
2000-04-02 00:21:27 +04:00
|
|
|
INSTALL: GENERIC
|
2001-01-26 01:34:20 +03:00
|
|
|
@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 '#' >> $@
|
2001-01-26 01:34:20 +03:00
|
|
|
@echo -n '# Created from: ' >> $@
|
|
|
|
@sed -e '1s/$$NetBSD/NetBSD/' \
|
2000-10-05 00:38:11 +04:00
|
|
|
-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
|