Initial revision
This commit is contained in:
		
							parent
							
								
									e9f4f7498c
								
							
						
					
					
						commit
						8c20160cb6
					
				
					 12 changed files with 150 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								mach/minix/libcc/.distr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mach/minix/libcc/.distr
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| Makefile | ||||
| compmodule | ||||
							
								
								
									
										43
									
								
								mach/minix/libcc/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								mach/minix/libcc/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,43 @@ | |||
| SUF=o | ||||
| MAKEFILE=../../proto/libg/Makefile | ||||
| MACHDEF="MACH=minix" "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" | ||||
| 
 | ||||
| all:		 | ||||
| 		make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tail | ||||
| 		make -f $(MAKEFILE) $(GEN) $(MACHDEF) head | ||||
| 		make -f $(MAKEFILE) $(GEN) $(MACHDEF) tail | ||||
| 
 | ||||
| install:	cpstdio cpgen | ||||
| 
 | ||||
| cpstdio: | ||||
| 		make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tailcp | ||||
| cpgen: | ||||
| 		make -f $(MAKEFILE) $(GEN) $(MACHDEF) cp | ||||
| cpmon: | ||||
| 		make -f $(MAKEFILE) $(MON) $(MACHDEF) tailcp | ||||
| 
 | ||||
| cmp:		cmpstdio cmpgen | ||||
| 
 | ||||
| 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 | ||||
| 
 | ||||
| clean: | ||||
| 		-rm -f *.old *.[ce$(SUF)] tail* head* | ||||
| 
 | ||||
| opr: | ||||
| 		make pr | opr | ||||
| 
 | ||||
| pr: | ||||
| 		@pr Makefile | ||||
							
								
								
									
										6
									
								
								mach/minix/libcc/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								mach/minix/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 | ||||
							
								
								
									
										2
									
								
								mach/minix/libm2/.distr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mach/minix/libm2/.distr
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| Makefile | ||||
| compmodule | ||||
							
								
								
									
										30
									
								
								mach/minix/libm2/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								mach/minix/libm2/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | |||
| SUF=o | ||||
| EMHOME=../../.. | ||||
| MAKEFILE=$(EMHOME)/mach/proto/libg/Makefile | ||||
| MACHDEF="MACH=minix" "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/minix/libm2/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								mach/minix/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 | ||||
							
								
								
									
										2
									
								
								mach/minix/liboc/.distr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mach/minix/liboc/.distr
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| Makefile | ||||
| compmodule | ||||
							
								
								
									
										23
									
								
								mach/minix/liboc/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								mach/minix/liboc/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| SUF=o | ||||
| MAKEFILE=../../proto/libg/Makefile | ||||
| MACHDEF="MACH=minix" "SUF=$(SUF)" "ASAR=aal" | ||||
| PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" | ||||
| 
 | ||||
| all: | ||||
| 	make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail | ||||
| 
 | ||||
| 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/minix/liboc/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								mach/minix/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 | ||||
							
								
								
									
										2
									
								
								mach/minix/libpc/.distr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mach/minix/libpc/.distr
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| Makefile | ||||
| compmodule | ||||
							
								
								
									
										24
									
								
								mach/minix/libpc/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								mach/minix/libpc/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| SUF=o | ||||
| MAKEFILE=../../proto/libg/Makefile | ||||
| MACHDEF="MACH=minix" "SUF=$(SUF)" "ASAR=aal" | ||||
| PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc" | ||||
| 
 | ||||
| all: | ||||
| 	make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) all | ||||
| 
 | ||||
| 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/minix/libpc/compmodule
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								mach/minix/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