Home | History | Annotate | Line # | Download | only in conf
Makefile revision 1.7.8.1
      1  1.7.8.1  nathanw #	$NetBSD: Makefile,v 1.7.8.1 2002/02/28 04:06:29 nathanw Exp $
      2      1.1       is 
      3      1.1       is #
      4      1.1       is # Use this file to regenerate AMIGA and DRACO out of the GENERIC template.
      5      1.1       is #
      6      1.1       is 
      7      1.5       is all: AMIGA DRACO INSTALL
      8      1.1       is 
      9      1.4     tron AMIGA: GENERIC
     10      1.7       is 	@echo Generating AMIGA...
     11      1.2       is 	@echo -n '# '$$ > $@
     12      1.2       is 	@echo NetBSD$$ >> $@
     13      1.2       is 	@echo '#' >> $@
     14      1.2       is 	@echo '# This file was automatically created. Changes will be' >> $@
     15      1.1       is 	@echo '# lost when running make in this directory.' >> $@
     16      1.1       is 	@echo '#' >> $@
     17      1.7       is 	@echo -n '# Created from: ' >> $@
     18      1.7       is 	@sed -e '1s/$$NetBSD/NetBSD/' GENERIC |\
     19      1.4     tron 		cpp -undef -P -DAMIGA_CONFIGURATION 2>/dev/null |\
     20  1.7.8.1  nathanw 		sed -e 's/\([ 	][ 	]*\)\#\([^ ]\)/\1# \2/' |\
     21      1.1       is 		awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
     22      1.1       is 
     23      1.4     tron DRACO: GENERIC
     24      1.7       is 	@echo Generating DRACO...
     25      1.2       is 	@echo -n '# '$$ > $@
     26      1.2       is 	@echo NetBSD$$ >> $@
     27      1.2       is 	@echo '#' >> $@
     28      1.2       is 	@echo '# This file was automatically created. Changes will be' >> $@
     29      1.1       is 	@echo '# lost when running make in this directory.' >> $@
     30      1.1       is 	@echo '#' >> $@
     31      1.7       is 	@echo -n '# Created from: ' >> $@
     32      1.7       is 	@sed -e '1s/$$NetBSD/NetBSD/' GENERIC |\
     33      1.4     tron 		cpp -undef -P -DDRACO_CONFIGURATION 2>/dev/null |\
     34  1.7.8.1  nathanw 		sed -e 's/\([ 	][ 	]*\)\#\([^ ]\)/\1# \2/' |\
     35      1.1       is 		awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
     36      1.1       is 
     37      1.5       is INSTALL: GENERIC
     38      1.7       is 	@echo Generating INSTALL...
     39      1.5       is 	@echo -n '# '$$ > $@
     40      1.5       is 	@echo NetBSD$$ >> $@
     41      1.5       is 	@echo '#' >> $@
     42      1.5       is 	@echo '# This file was automatically created. Changes will be' >> $@
     43      1.5       is 	@echo '# lost when running make in this directory.' >> $@
     44      1.5       is 	@echo '#' >> $@
     45      1.7       is 	@echo -n '# Created from: ' >> $@
     46      1.7       is 	@sed -e '1s/$$NetBSD/NetBSD/' \
     47      1.6       is 		-e 's/	pty	/	pty 2	/' GENERIC |\
     48      1.5       is 		cpp -undef -P \
     49      1.5       is 			-DAMIGA_CONFIGURATION -DDRACO_CONFIGURATION \
     50      1.5       is 			-DINSTALL_CONFIGURATION 2>/dev/null |\
     51  1.7.8.1  nathanw 		sed -e 's/\([ 	][ 	]*\)\#\([^ ]\)/\1# \2/' |\
     52      1.5       is 		awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
     53      1.5       is 
     54      1.5       is AMIGA DRACO INSTALL: GENERIC Makefile
     55