annotate level1/atari/makefile @ 3165:2d22d31bc74b

L2 kernel: Minor comment tweaks
author Neal Crook <foofoobedoo@gmail.com>
date Thu, 06 Apr 2017 22:51:54 +0100
parents 5119107aaaa7
children 4d6cfe82ac3c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2826
e76cc015cc03 incorporated new port.mak file in every port directory
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2825
diff changeset
1 include port.mak
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
2
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
3 # Level 1 - Specify which shell should be used
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
4 #WHICHSHELL = shellplus
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
5 WHICHSHELL = shell_21
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
6
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
7 DISTRO = $(CPU)L$(LEVEL)
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
8 DISTRONAME = nos9$(CPU)l$(LEVEL)
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
9 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT)
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2624
diff changeset
10 BOOTFILE = bootfiles/bootfile
2826
e76cc015cc03 incorporated new port.mak file in every port directory
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2825
diff changeset
11 DIRS = cmds modules defs sys bootfiles wwwroot
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
12
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
13
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2624
diff changeset
14 CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs_dw)
2650
538d8fdbaeba Added fuji and ataridemo.dsk
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2648
diff changeset
15 CMDS_DEMO = $(shell $(CD) cmds; make --no-print-directory showobjs_demo)
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
16 SYS = $(shell $(CD) sys; make --no-print-directory showobjs)
2826
e76cc015cc03 incorporated new port.mak file in every port directory
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2825
diff changeset
17 WWWROOT = $(shell $(CD) wwwroot; make --no-print-directory showobjs)
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
18 DEFS = $(shell $(CD) defs; make --no-print-directory showobjs)
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
19 STARTUP = startup
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
20
3098
c2030762022b makefiles: Remove uploading of zip archives
Tormod Volden <debian.tormod@gmail.com>
parents: 3072
diff changeset
21 DSK = $(DISTROVER).dsk
c2030762022b makefiles: Remove uploading of zip archives
Tormod Volden <debian.tormod@gmail.com>
parents: 3072
diff changeset
22 DSK_DEMO = ataridemo.dsk
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
23
2650
538d8fdbaeba Added fuji and ataridemo.dsk
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2648
diff changeset
24 DSKS = $(DSK) $(DSK_DEMO)
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
25
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
26 # Make all components
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
27 all:
2904
62c91ac49d72 Make the banners print what we are compiling for
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
28 @$(ECHO) "************************************************************"
2826
e76cc015cc03 incorporated new port.mak file in every port directory
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2825
diff changeset
29 @$(ECHO) "*"
2904
62c91ac49d72 Make the banners print what we are compiling for
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
30 @$(ECHO) "* NitrOS-9/$(CPU) Level $(LEVEL) $(MACHINE) ($(PORT))"
2826
e76cc015cc03 incorporated new port.mak file in every port directory
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2825
diff changeset
31 @$(ECHO) "*"
2904
62c91ac49d72 Make the banners print what we are compiling for
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
32 @$(ECHO) "************************************************************"
2913
1c1600cc9f02 makefiles: Stop if a component fails to build
Tormod Volden <debian.tormod@gmail.com>
parents: 2904
diff changeset
33 $(foreach dir,$(DIRS),$(MAKE) -C $(dir) &&) :
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
34
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
35 # Clean all components
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
36 clean: dskclean
3106
5119107aaaa7 makefiles: Fail on broken clean targets
Tormod Volden <debian.tormod@gmail.com>
parents: 3098
diff changeset
37 $(foreach dir,$(DIRS),$(MAKE) -C $(dir) clean &&) :
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
38
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
39 dskclean:
3098
c2030762022b makefiles: Remove uploading of zip archives
Tormod Volden <debian.tormod@gmail.com>
parents: 3072
diff changeset
40 $(RM) $(DSKS)
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
41
3098
c2030762022b makefiles: Remove uploading of zip archives
Tormod Volden <debian.tormod@gmail.com>
parents: 3072
diff changeset
42 dsk: all $(DSKS)
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
43
3098
c2030762022b makefiles: Remove uploading of zip archives
Tormod Volden <debian.tormod@gmail.com>
parents: 3072
diff changeset
44 dskcopy: $(DSKS)
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
45 $(CP) $(DSKS) $(DSKDIR)
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
46
2631
442795681807 o Fixed Atari SIO DWRead to timeout longer
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2629
diff changeset
47 # $(OS9GEN) $@ -b=$(BOOTFILE)
2629
65b1b5c80fec Added bootfiles folder
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2624
diff changeset
48 $(DSK):
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
49 $(RM) $@
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2758
diff changeset
50 $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level 1"
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
51 $(MAKDIR) $@,CMDS
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
52 $(MAKDIR) $@,SYS
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
53 $(MAKDIR) $@,DEFS
2825
99fac4bd9c41 Updated makefiles in sys and inetd.conf to establish HTTPD port
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
54 $(MAKDIR) $@,WWWROOT
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
55 $(CD) cmds; $(OS9COPY) $(CMDS) ../$@,CMDS
2873
46c80d4b0de1 makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents: 2869
diff changeset
56 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
57 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
58 $(CD) sys; $(CPL) $(SYS) ../$@,SYS
2873
46c80d4b0de1 makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents: 2869
diff changeset
59 $(OS9ATTR_TEXT) $(foreach file,$(SYS),$@,SYS/$(file))
2856
84d284e812cd Makefiles: Rename CP to OS9COPY
Tormod Volden <debian.tormod@gmail.com>
parents: 2849
diff changeset
60 $(CD) wwwroot; $(OS9COPY) $(WWWROOT) ../$@,WWWROOT
2849
84d9d5765057 Makefiles: Call OS9ATTR with multiple files (part 2/2)
Tormod Volden <debian.tormod@gmail.com>
parents: 2835
diff changeset
61 $(OS9ATTR_TEXT) $(foreach file,$(WWWROOT),$@,WWWROOT/$(file))
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
62 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
2873
46c80d4b0de1 makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents: 2869
diff changeset
63 $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file))
2653
40d55004f686 o krn.asm: Conditionalized out code in kernel to check for top of RAM
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2650
diff changeset
64 $(CPL) $(STARTUP) $@,startup
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
65 $(OS9ATTR_TEXT) $@,startup
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
66
2650
538d8fdbaeba Added fuji and ataridemo.dsk
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2648
diff changeset
67 $(DSK_DEMO):
538d8fdbaeba Added fuji and ataridemo.dsk
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2648
diff changeset
68 $(RM) $@
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2758
diff changeset
69 $(OS9FORMAT_DW) -q $@ -n"NitrOS-9 Atari Demo Disk"
2650
538d8fdbaeba Added fuji and ataridemo.dsk
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2648
diff changeset
70 $(MAKDIR) $@,CMDS
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
71 $(CD) cmds; $(OS9COPY) $(CMDS_DEMO) ../$@,CMDS
2873
46c80d4b0de1 makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents: 2869
diff changeset
72 $(OS9ATTR_EXEC) $(foreach file,$(CMDS_DEMO),$@,CMDS/$(file))
2650
538d8fdbaeba Added fuji and ataridemo.dsk
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2648
diff changeset
73
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
74 info:
3072
32191c9fe2cd makefiles: Always use ECHO macro define
Tormod Volden <debian.tormod@gmail.com>
parents: 2913
diff changeset
75 @$(ECHO) "*** NitrOS-9/6809 Level 1 for the Atari XL/XE ***"
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
76 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
77