comparison level1/coco1/cmds/makefile @ 2690:6e40b043d3e0 lwtools-port

Removed coco port, added coco1 and coco2 ports. Cleaned term* descriptors to make unified between Level 1 and Level 2
author Boisy Pitre <boisy.pitre@nuance.com>
date Thu, 19 Jul 2012 10:09:15 -0500
parents
children 678c6848dc12
comparison
equal deleted inserted replaced
2689:80d85940d03b 2690:6e40b043d3e0
1 PORT = coco
2 include $(NITROS9DIR)/rules.mak
3
4 vpath %.a $(LEVEL1)/cmds
5 vpath %.asm $(LEVEL1)/cmds:$(NITROS9DIR)/3rdparty/packages/basic09
6
7 DEPENDS = ./makefile
8
9 AFLAGS += --includedir=$(NITROS9DIR)/3rdparty/packages/basic09
10 LFLAGS += -l=$(NITROS9DIR)/lib/net.l -l=$(NITROS9DIR)/lib/alib.l -l=$(NITROS9DIR)/lib/sys6809l1.l
11
12 BASIC09FILES = basic09.asm runb.asm gfx.asm inkey.asm syscall.asm
13 CMDS = asm attr backup binex build calldbg cmp cobbler copy cputype \
14 date dcheck debug ded deiniz del deldir devs dir dirsort disasm \
15 display dmode dsave dump echo edit error exbin format \
16 free grfdrv help ident iniz irqs link list load login makdir \
17 megaread mdir merge mfree mpi os9gen padrom park printerr procs prompt pwd pxd \
18 rename save setime shellplus shell_21 sleep \
19 tee tmode touch tsmon tuneport unlink verify xmode
20
21 CMDS_D2 = basic09 runb gfx inkey syscall copy del echo format \
22 merge os9gen prompt tmode
23
24 CMDS_DW = inetd telnet dw
25
26 SUBS = gfx inkey syscall
27 ALLOBJS = $(CMDS) $(CMDS_D2) $(CMDS_DW) $(SUBS)
28
29 all: $(ALLOBJS)
30
31 pwd: pd.asm
32 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPWD=1
33
34 xmode: xmode.asm
35 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DXMODE=1
36
37 tmode: xmode.asm
38 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DTMODE=1
39
40 pxd: pd.asm
41 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPXD=1
42
43 clean:
44 $(RM) $(ALLOBJS)
45
46 identify:
47 $(IDENT_SHORT) $(ALLOBJS)
48
49 showobjs:
50 @$(ECHO) $(CMDS)
51
52 showobjs_d2:
53 @$(ECHO) $(CMDS_D2)
54
55 showobjs_dw:
56 @$(ECHO) $(CMDS) $(CMDS_DW)
57
58 showallobjs:
59 @$(ECHO) $(ALLOBJS)