Some small changes in configuration_manager output - added (c/f) info.
[h316.git] / systems / Makefile
... / ...
CommitLineData
1# Makefile for system generation
2
3# Targets
4export SUPER3_SYS=super3.sys
5export SUPER2_SYS=super2.sys
6export SUPER3_SLST=super3.slst
7export SUPER2_SLST=super2.slst
8export DAP_SYS=dap.sys
9export DAP_SLST=dap.slst
10export SUPER_SIMPLE_SYS=super_simple.sys
11
12# Used files
13export LDR_APM_8K=$(H316)/slst/ldr-apm_8k.slst
14export LDR_APM=$(H316)/obj/ldr-apm.obj
15export LDR_DUMY=$(H316)/obj/ldr-dumy.obj
16export PRNTNZ=$(H316)/obj/prntnz.obj
17export CLEANUP2=$(H316)/programs/tools/build/cleanup2.obj
18export CLEANUP=$(H316)/programs/tools/build/cleanup.obj
19export BINAL=$(H316)/programs/tools/build/binal.obj
20export PAL_AP=$(H316)/obj/pal-ap.obj
21export RESTART=$(H316)/programs/tools/build/restart.obj
22export DAP16=$(H316)/obj/dap16.obj
23export IOS16=$(H316)/obj/ios-16.obj
24export DAP_LIBRARY=$(H316)/lib/iolib/lib/dap-lib.lib
25export DUMYX16=$(H316)/obj/dumy-x16.obj
26export DECCL=$(H316)/obj/deccl.obj
27export SETSIZ=$(H316)/obj/setsiz.obj
28export SUPER_SYS_FOR_DAP=$(SUPER_SIMPLE_SYS)
29
30export MAKE
31
32all: super3 super2 dap
33
34super2: $(SUPER2_SLST)
35super3: $(SUPER3_SLST)
36dap: $(DAP_SLST)
37
38$(SUPER_SIMPLE_SYS): $(LDR_APM_8K) $(PAL_AP) $(LDR_APM) $(LDR_DUMY)
39 ./build_super_simple.sh
40
41$(DAP_SLST) $(DAP_SYS): $(DAP16) $(IOS16) $(DAP_LIBRARY) $(DUMYX16) $(DECCL) $(SETSIZ)\
42 $(SUPER_SYS_FOR_DAP)
43 ./build_dap16.sh
44
45$(SUPER2_SLST) $(SUPER2_SYS): $(LDR_APM_8K) $(LDR_APM) $(LDR_DUMY) $(PRNTNZ)\
46 $(CLEANUP) $(PAL_AP)
47 ./build_super2.sh
48
49$(SUPER3_SLST) $(SUPER3_SYS): $(LDR_APM_8K) $(LDR_APM) $(LDR_DUMY) $(PRNTNZ)\
50 $(CLEANUP2) $(BINAL) $(RESTART)
51 ./build_super3.sh
52
53clean:
54 @rm -f $(SUPER2_SLST) $(SUPER2_SYS) $(SUPER3_SLST) $(SUPER3_SYS) $(DAP_SYS) $(DAP_SLST)\
55 $(SUPER_SIMPLE_SYS)
56
57.PHONY: super3