Makefile revision 1.9
11.9Sjandberg# $NetBSD: Makefile,v 1.9 2002/03/13 20:23:44 jandberg Exp $ 21.1Sis 31.1Sis# 41.1Sis# Use this file to regenerate AMIGA and DRACO out of the GENERIC template. 51.1Sis# 61.1Sis 71.9Sjandbergall: AMIGA DRACO INSTALL WSCONS 81.1Sis 91.4StronAMIGA: GENERIC 101.7Sis @echo Generating AMIGA... 111.2Sis @echo -n '# '$$ > $@ 121.2Sis @echo NetBSD$$ >> $@ 131.2Sis @echo '#' >> $@ 141.2Sis @echo '# This file was automatically created. Changes will be' >> $@ 151.1Sis @echo '# lost when running make in this directory.' >> $@ 161.1Sis @echo '#' >> $@ 171.7Sis @echo -n '# Created from: ' >> $@ 181.7Sis @sed -e '1s/$$NetBSD/NetBSD/' GENERIC |\ 191.4Stron cpp -undef -P -DAMIGA_CONFIGURATION 2>/dev/null |\ 201.8Sjdolecek sed -e 's/\([ ][ ]*\)\#\([^ ]\)/\1# \2/' |\ 211.1Sis awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@ 221.1Sis 231.4StronDRACO: GENERIC 241.7Sis @echo Generating DRACO... 251.2Sis @echo -n '# '$$ > $@ 261.2Sis @echo NetBSD$$ >> $@ 271.2Sis @echo '#' >> $@ 281.2Sis @echo '# This file was automatically created. Changes will be' >> $@ 291.1Sis @echo '# lost when running make in this directory.' >> $@ 301.1Sis @echo '#' >> $@ 311.7Sis @echo -n '# Created from: ' >> $@ 321.7Sis @sed -e '1s/$$NetBSD/NetBSD/' GENERIC |\ 331.4Stron cpp -undef -P -DDRACO_CONFIGURATION 2>/dev/null |\ 341.8Sjdolecek sed -e 's/\([ ][ ]*\)\#\([^ ]\)/\1# \2/' |\ 351.1Sis awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@ 361.1Sis 371.5SisINSTALL: GENERIC 381.7Sis @echo Generating INSTALL... 391.5Sis @echo -n '# '$$ > $@ 401.5Sis @echo NetBSD$$ >> $@ 411.5Sis @echo '#' >> $@ 421.5Sis @echo '# This file was automatically created. Changes will be' >> $@ 431.5Sis @echo '# lost when running make in this directory.' >> $@ 441.5Sis @echo '#' >> $@ 451.7Sis @echo -n '# Created from: ' >> $@ 461.7Sis @sed -e '1s/$$NetBSD/NetBSD/' \ 471.6Sis -e 's/ pty / pty 2 /' GENERIC |\ 481.5Sis cpp -undef -P \ 491.5Sis -DAMIGA_CONFIGURATION -DDRACO_CONFIGURATION \ 501.5Sis -DINSTALL_CONFIGURATION 2>/dev/null |\ 511.8Sjdolecek sed -e 's/\([ ][ ]*\)\#\([^ ]\)/\1# \2/' |\ 521.5Sis awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@ 531.5Sis 541.9Sjandberg# 551.9Sjandberg# Generate WSCONS by uncommenting needed things and commenting 561.9Sjandberg# out ite. 571.9Sjandberg# 581.9SjandbergWSCONS: GENERIC 591.9Sjandberg @echo Generating $@ ... 601.9Sjandberg @echo -n '# '$$ > $@ 611.9Sjandberg @echo NetBSD$$ >> $@ 621.9Sjandberg @echo '#' >> $@ 631.9Sjandberg @echo '# This file was automatically created. Changes will be' >> $@ 641.9Sjandberg @echo '# lost when running make in this directory.' >> $@ 651.9Sjandberg @echo '#' >> $@ 661.9Sjandberg @echo -n '# Created from: ' >> $@ 671.9Sjandberg @cat GENERIC | \ 681.9Sjandberg sed -e 's/^ite/#ite/' | \ 691.9Sjandberg sed -e 's/^grf/#grf/' | \ 701.9Sjandberg sed -e 's/^#ws/ws/' | \ 711.9Sjandberg sed -e 's/^#amidisplay/amidisplay/' | \ 721.9Sjandberg sed -e 's/^#\(options.*[[:<:]]WS.*\)/\1/' | \ 731.9Sjandberg sed -e 's/^#\(options.*[[:<:]]FONT_.*\)/\1/' | \ 741.9Sjandberg cpp -undef -P 2>/dev/null \ 751.9Sjandberg -DAMIGA_CONFIGURATION \ 761.9Sjandberg -DDRACO_CONFIGURATION | \ 771.9Sjandberg sed -e '1s/$$NetBSD/NetBSD/' | \ 781.9Sjandberg awk '{if (NF>1)count=0;else count++;if(count<=1)print}' | \ 791.9Sjandberg cat >>$@ 801.9Sjandberg 811.9SjandbergAMIGA DRACO INSTALL WSCONS: GENERIC Makefile 82