123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- -- $Source$
- -- $State$
- -- $Revision$
- local d = ROOTDIR.."plat/nes/"
- include (d.."libsys/pmfile")
- local bootsector = ackfile {
- file (d.."boot.s"),
- install = pm.install("%BINDIR%lib/nes/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_nes = group {
- ARCH = "6500",
- PLATFORM = "nes",
- 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_6500,
- support_6500,
- lang_runtimes,
- -- Build the NES library.
- libsys_nes,
- bootsector
- }
|