46 lines
		
	
	
	
		
			890 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
	
		
			890 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| -- $Source$
 | |
| -- $State$
 | |
| -- $Revision$
 | |
| 
 | |
| local d = ROOTDIR.."plat/pc86/"
 | |
| 
 | |
| include (d.."libsys/pmfile")
 | |
| 
 | |
| local bootsector = ackfile {
 | |
| 	file (d.."boot.s"),
 | |
| 	install = pm.install("%BINDIR%lib/pc86/boot.o"),
 | |
| }
 | |
| 
 | |
| local descr = group {
 | |
| 	install = pm.install(d.."descr", "%BINDIR%%PLATIND%/%PLATFORM%/descr")
 | |
| }
 | |
| 
 | |
| local headers = group {
 | |
| 	install = {
 | |
| 		pm.install(d.."include/ack/config.h", "%BINDIR%%PLATIND%/%PLATFORM%/include/ack/config.h"),
 | |
| 		pm.install(d.."include/unistd.h",     "%BINDIR%%PLATIND%/%PLATFORM%/include/unistd.h"),
 | |
| 	}
 | |
| }
 | |
| 
 | |
| platform_pc86 = group {
 | |
| 	ARCH = "i86",
 | |
| 	PLATFORM = "pc86",
 | |
| 	OPTIMISATION = "-O",
 | |
| 	
 | |
| 	-- Ensure the descr and headers are installed first because we'll need
 | |
| 	-- them to build the libraries.
 | |
| 	
 | |
| 	descr,
 | |
| 	headers,
 | |
| 	
 | |
| 	-- Build the back-end support.
 | |
| 	
 | |
| 	mach_i86,
 | |
| 	support_i86,
 | |
| 	lang_runtimes,
 | |
| 
 | |
| 	-- Build the PC standalone syscall library.
 | |
| 	
 | |
| 	libsys_pc86,
 | |
| 	bootsector,
 | |
| }
 |