comparison level2/mc09l2/cmds/makefile @ 3267:024ad1d926fd

Get gfx2 to build from cmds folders Now that gfx2.asm needs to include coco3vtio.d the latter needs to be built first and be accessed from the port-specific defs folder. OTOH the one built in 3rd-party/packages/basic09 is built only later during a full build. (All the different defs folders and .d files still puzzle me.) Also updated coco3fpga/defs/makefile to be based on the coco3 one. The mc09l2 port doesn't need gfx and gfx2. Note for later: This whole build of basic09 components from the 3rdparty folder during the ports builds is not very nice. At a minimum we should try to limit the extra --includedir to the few commands needing it.
author Tormod Volden <debian.tormod@gmail.com>
date Wed, 17 Jul 2019 01:14:55 +0200
parents e1aadba01e81
children
comparison
equal deleted inserted replaced
3266:d9e01e3952e4 3267:024ad1d926fd
4 vpath %.as $(LEVEL2)/cmds:$(LEVEL1)/cmds 4 vpath %.as $(LEVEL2)/cmds:$(LEVEL1)/cmds
5 vpath %.asm $(LEVEL2)/cmds:$(LEVEL1)/cmds:$(3RDPARTY)/packages/basic09 5 vpath %.asm $(LEVEL2)/cmds:$(LEVEL1)/cmds:$(3RDPARTY)/packages/basic09
6 6
7 DEPENDS = ./makefile 7 DEPENDS = ./makefile
8 AFLAGS += --includedir=$(3RDPARTY)/packages/basic09 8 AFLAGS += --includedir=$(3RDPARTY)/packages/basic09
9 AFLAGS += --includedir=../defs
9 LFLAGS += -L$(NITROS9DIR)/lib 10 LFLAGS += -L$(NITROS9DIR)/lib
10 LFLAGS += -lmc09 11 LFLAGS += -lmc09
11 LFLAGS += -lnet -lalib 12 LFLAGS += -lnet -lalib
12 13
13 CMDS = asm attr backup binex build cmp cobbler copy cputype \ 14 CMDS = asm attr backup binex build cmp cobbler copy cputype \
16 format free grfdrv help ident iniz irqs link list load login \ 17 format free grfdrv help ident iniz irqs link list load login \
17 makdir mc09rtc mdir megaread merge mfree minted mmap modpatch montype mpi os9gen padrom park \ 18 makdir mc09rtc mdir megaread merge mfree minted mmap modpatch montype mpi os9gen padrom park \
18 pmap proc procs prompt pwd pxd reboot rename save setime \ 19 pmap proc procs prompt pwd pxd reboot rename save setime \
19 shell_21 sleep smap tee tmode touch tsmon tuneport unlink verify wcreate xmode 20 shell_21 sleep smap tee tmode touch tsmon tuneport unlink verify wcreate xmode
20 21
21 CMDS_D2 = basic09 runb gfx2 gfx inkey syscall copy del echo format \ 22 CMDS_D2 = basic09 runb inkey syscall copy del echo format \
22 merge os9gen prompt tmode 23 merge os9gen prompt tmode
23 24
24 CMDS_DW = inetd dw telnet httpd 25 CMDS_DW = inetd dw telnet httpd
25 26
26 SHELLMODS = shellplus date deiniz echo iniz link load save unlink 27 SHELLMODS = shellplus date deiniz echo iniz link load save unlink