Initial revision
This commit is contained in:
		
							parent
							
								
									f682c264a8
								
							
						
					
					
						commit
						143abc2420
					
				
					 8 changed files with 137 additions and 0 deletions
				
			
		
							
								
								
									
										44
									
								
								mach/i386/libcc/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								mach/i386/libcc/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,44 @@ | |||
| SUF=o | ||||
| MAKEFILE=../../proto/libg/Makefile | ||||
| MACHDEF="MACH=i386" "SUF=$(SUF)" "ASAR=aal" | ||||
| STDIO="PREF=cc" "SUB=.1s" "SRC=lang/cem/libcc/stdio" | ||||
| GEN="PREF=cc" "SUB=.2g" "SRC=lang/cem/libcc/gen" | ||||
| MON="PREF=mon" "SRC=lang/cem/libcc/mon" | ||||
| LIBM="PREF=m" "SRC=lang/cem/libcc/math" | ||||
| 
 | ||||
| install:	cpstdio cpgen cpmath | ||||
| 
 | ||||
| cpstdio: | ||||
| 		make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tailcp | ||||
| cpgen: | ||||
| 		make -f $(MAKEFILE) $(GEN) $(MACHDEF) cp | ||||
| cpmon: | ||||
| 		make -f $(MAKEFILE) $(MON) $(MACHDEF) tailcp | ||||
| cpmath: | ||||
| 		make -f $(MAKEFILE) $(LIBM) $(MACHDEF) tailcp | ||||
| 
 | ||||
| cmp:		cmpstdio cmpgen cmpmath | ||||
| 
 | ||||
| cmpstdio: | ||||
| 		make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tail | ||||
| 		-../../compare tail_cc.1s | ||||
| cmpgen: | ||||
| 		make -f $(MAKEFILE) $(GEN) $(MACHDEF) head | ||||
| 		-../../compare head_cc | ||||
| 		make -f $(MAKEFILE) $(GEN) $(MACHDEF) tail | ||||
| 		-../../compare tail_cc.2g | ||||
| cmpmon: | ||||
| 		make -f $(MAKEFILE) $(MON) $(MACHDEF) tail | ||||
| 		-../../compare tail_mon | ||||
| cmpmath: | ||||
| 		make -f $(MAKEFILE) $(LIBM) $(MACHDEF) tail | ||||
| 		-../../compare tail_m | ||||
| 
 | ||||
| clean: | ||||
| 		-rm -f *.old *.[ce$(SUF)] tail* head* | ||||
| 
 | ||||
| opr: | ||||
| 		make pr | opr | ||||
| 
 | ||||
| pr: | ||||
| 		@pr Makefile | ||||
							
								
								
									
										6
									
								
								mach/i386/libcc/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								mach/i386/libcc/compmodule
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 | ||||
| then | ||||
| 	echo `basename $1 $2`.o | ||||
| else | ||||
| 	exit 1 | ||||
| fi | ||||
							
								
								
									
										30
									
								
								mach/i386/libm2/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								mach/i386/libm2/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | |||
| SUF=o | ||||
| EMHOME=../../.. | ||||
| MAKEFILE=$(EMHOME)/mach/proto/libg/Makefile | ||||
| MACHDEF="MACH=i386" "SUF=$(SUF)" "ASAR=aal" | ||||
| M2LIB = lang/m2/libm2 | ||||
| MOD="PREF=m2" "SUB=" "SRC=$(M2LIB)" | ||||
| 
 | ||||
| all: | ||||
| 		make -f $(MAKEFILE) $(MOD) $(MACHDEF) all | ||||
| 
 | ||||
| install:	cpmod | ||||
| 
 | ||||
| cpmod: | ||||
| 		make -f $(MAKEFILE) $(MOD) $(MACHDEF) cp | ||||
| 
 | ||||
| cmp:		cmpmod | ||||
| 
 | ||||
| cmpmod: | ||||
| 		make -f $(MAKEFILE) $(MOD) $(MACHDEF) all | ||||
| 		-$(EMHOME)/mach/compare tail_m2 | ||||
| 		-$(EMHOME)/mach/compare head_m2 | ||||
| 
 | ||||
| clean: | ||||
| 		-rm -f *.old *.[ce$(SUF)] tail* head* | ||||
| 
 | ||||
| opr: | ||||
| 		make pr | opr | ||||
| 
 | ||||
| pr: | ||||
| 		@pr Makefile | ||||
							
								
								
									
										4
									
								
								mach/i386/libm2/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								mach/i386/libm2/compmodule
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 | ||||
| then echo `basename $1 $2`.o | ||||
| else exit 1 | ||||
| fi | ||||
							
								
								
									
										20
									
								
								mach/i386/liboc/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								mach/i386/liboc/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| SUF=o | ||||
| MAKEFILE=../../proto/libg/Makefile | ||||
| MACHDEF="MACH=i386" "SUF=$(SUF)" "ASAR=aal" | ||||
| PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" | ||||
| 
 | ||||
| install: | ||||
| 	make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp | ||||
| 
 | ||||
| cmp: | ||||
| 	make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail | ||||
| 	-../../compare tail_ocm | ||||
| 
 | ||||
| clean: | ||||
| 		-rm -f *.old *.[ce$(SUF)] tail* | ||||
| 
 | ||||
| opr: | ||||
| 	make pr | opr | ||||
| 
 | ||||
| pr: | ||||
| 	@pr Makefile | ||||
							
								
								
									
										6
									
								
								mach/i386/liboc/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								mach/i386/liboc/compmodule
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 | ||||
| then | ||||
| 	echo `basename $1 $2`.o | ||||
| else | ||||
| 	exit 1 | ||||
| fi | ||||
							
								
								
									
										21
									
								
								mach/i386/libpc/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								mach/i386/libpc/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,21 @@ | |||
| SUF=o | ||||
| MAKEFILE=../../proto/libg/Makefile | ||||
| MACHDEF="MACH=i386" "SUF=$(SUF)" "ASAR=aal" | ||||
| PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc" | ||||
| 
 | ||||
| install: | ||||
| 	make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) cp | ||||
| 
 | ||||
| cmp: | ||||
| 	make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) all | ||||
| 	-../../compare head_pc | ||||
| 	-../../compare tail_pc | ||||
| 
 | ||||
| clean: | ||||
| 	-rm -f *.old *.[ce$(SUF)] tail* head* | ||||
| 
 | ||||
| opr: | ||||
| 	make pr | opr | ||||
| 
 | ||||
| pr: | ||||
| 	@pr Makefile | ||||
							
								
								
									
										6
									
								
								mach/i386/libpc/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								mach/i386/libpc/compmodule
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 | ||||
| then | ||||
| 	echo `basename $1 $2`.o | ||||
| else | ||||
| 	exit 1 | ||||
| fi | ||||
		Loading…
	
	Add table
		
		Reference in a new issue