• R/O
  • SSH
  • HTTPS

haribote: Commit


Commit MetaInfo

Revision188 (tree)
Time2010-03-01 20:28:05
Authortatsupc

Log Message

create edorbfs and orbspace

Change Summary

Incremental Difference

--- haribote/trunk/orbspace/edorbfs/make.bat (nonexistent)
+++ haribote/trunk/orbspace/edorbfs/make.bat (revision 188)
@@ -0,0 +1 @@
1+..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
\ No newline at end of file
--- haribote/trunk/orbspace/edorbfs/edorbfs.c (nonexistent)
+++ haribote/trunk/orbspace/edorbfs/edorbfs.c (revision 188)
@@ -0,0 +1,7 @@
1+#include "io_img.h"
2+#include "..\orbspace\orbfs.h"
3+
4+int main(int argc, char **argv)
5+{
6+ return 0;
7+}
--- haribote/trunk/orbspace/edorbfs/io_img.h (nonexistent)
+++ haribote/trunk/orbspace/edorbfs/io_img.h (revision 188)
@@ -0,0 +1 @@
1+#include <stdio.h>
--- haribote/trunk/orbspace/edorbfs/Makefile (nonexistent)
+++ haribote/trunk/orbspace/edorbfs/Makefile (revision 188)
@@ -0,0 +1,10 @@
1+TARGET = edorbfs
2+MODE = exe
3+OBJS = $(TARGET).obj ../orbspace/orbfs.obj io_img.obj
4+STACKSIZE = 0x1000000 # 16MB (default)
5+
6+INCPATH = ../../z_tools/win32/
7+CC1OPT = -Dmain=main0
8+include ../com_mak.txt
9+
10+# tolset08対応Makefile
--- haribote/trunk/orbspace/com_mak.txt (nonexistent)
+++ haribote/trunk/orbspace/com_mak.txt (revision 188)
@@ -0,0 +1,97 @@
1+TOOLPATH = ../../z_tools/
2+RULEFILE = $(TOOLPATH)guigui00/guigui00.rul
3+MAKE = $(TOOLPATH)make.exe -r
4+SJISCONV = $(TOOLPATH)sjisconv.exe -s
5+CC1 = $(TOOLPATH)cc1.exe -I$(INCPATH) $(CC1OPT) -Os -Wall -quiet
6+CPP = $(TOOLPATH)c++.exe -I$(CPPINCPATH) $(CC1OPT) -Os -Wall -nostdlib -fno-builtin -fno-exceptions \
7+ -fno-rtti -B$(TOOLPATH) -x c++ -c
8+GAS2NASK = $(TOOLPATH)gas2nask.exe -a
9+NASK = $(TOOLPATH)nask.exe
10+OBJ2BIM = $(TOOLPATH)obj2bim.exe
11+BIM2BIN = $(TOOLPATH)bim2bin.exe
12+CPP0 = $(TOOLPATH)cpp0.exe -P -I$(INCPATH)
13+ASKA = $(TOOLPATH)aska.exe
14+NASKCNV = $(TOOLPATH)naskcnv0.exe -l -s -w
15+GOLIB = $(TOOLPATH)golib00.exe
16+LINK = $(TOOLPATH)ld.exe -s -Bdynamic --stack $(STACKSIZE)
17+EDIMG = $(TOOLPATH)edimg.exe
18+SARTOL = $(TOOLPATH)sartol.exe
19+DELE = del
20+COPY = copy
21+
22+LIBPATH = $(INCPATH)
23+LIBS = $(LIBPATH)w32clibc.lib $(LIBPATH)golibc.lib $(LIBPATH)libmingw.lib
24+
25+# 以上の項目はあなたのディレクトリ構成にあわせて書き換える
26+
27+ALL:
28+ $(MAKE) $(TARGET).$(MODE)
29+
30+%.ca : %.c Makefile
31+ $(SJISCONV) $*.c $*.ca
32+
33+%.cpa : %.cpp Makefile
34+ $(SJISCONV) $*.cpp $*.cpa
35+
36+%.gas : %.ca Makefile
37+ $(CC1) -o $*.gas $*.ca
38+
39+%.nas : %.gas Makefile
40+ $(GAS2NASK) $*.gas $*.nas
41+
42+%.obj : %.nas Makefile
43+ $(NASK) $*.nas $*.obj
44+
45+%.obj : %.cpa Makefile
46+ $(CPP) -o $*.obj $*.cpa
47+
48+%.ias : %.ask Makefile
49+ $(CPP0) -o $*.ias $*.ask
50+
51+%.3as : %.ias Makefile
52+ $(ASKA) $*.ias $*.3as
53+
54+%.nas : %.3as Makefile
55+ $(NASKCNV) $*.3as $*.nas
56+
57+%.lst : %.nas Makefile
58+ $(NASK) $*.nas $*.obj $*.lst
59+
60+$(TARGET).bim : $(OBJS) Makefile
61+ $(OBJ2BIM) @$(RULEFILE) out:$(TARGET).bim stack:$(STACKSIZE) map:$(TARGET).map $(OBJS)
62+
63+%.bin : %.bim Makefile
64+ $(BIM2BIN) in:$*.bim out:$*.org malloc:$(MALLOCSIZE) mmarea:$(MMAREA) $(BIMOPT0)
65+ $(BIM2BIN) -osacmp in:$*.org out:$*.bin $(BIMOPT1)
66+
67+$(TARGET).lib : $(OBJS) Makefile
68+ $(GOLIB) out:$@ $(OBJS)
69+
70+$(TARGET).dll : $(TARGET).bim Makefile
71+ $(OBJ2BIM) @$(RULEFILE) out:$(TARGET).bim map:$(TARGET).map $(OBJS)
72+ $(BIM2BIN) -osacmp -tek1 in:$(TARGET).bim out:$(TARGET).dll
73+
74+$(TARGET).exe : $(OBJS) Makefile
75+ $(LINK) -o $(TARGET).exe -Map $(TARGET).map $(OBJS) $(LIBS)
76+
77+clean :
78+ -$(DELE) *.obj
79+ -$(DELE) $(TARGET).bim
80+ -$(DELE) $(TARGET).map
81+ -$(DELE) $(TARGET).org
82+
83+run :
84+ $(MAKE) $(TARGET).$(MODE)
85+ $(COPY) $(TARGET).$(MODE) ..\z_tools\!built.bin
86+ $(MAKE) -C $(TOOLPATH)osa_qemu
87+ $(EDIMG) @$(TOOLPATH)edimgopt.txt $(EDIMGOPT) imgout:../z_tools/qemu/fdimage0.bin
88+ $(MAKE) -C $(TOOLPATH)qemu
89+
90+arc :
91+ $(MAKE) $(TARGET).$(MODE)
92+ $(SARTOL) e $(ARCORG) . @-4k ARCINFO0.TXT $(ARCFLIES)
93+ $(BIM2BIN) -osacmp in:$(ARCORG) out:$(ARCTEK) $(BIMOPT2)
94+
95+src_only :
96+ $(MAKE) clean
97+ -$(DELE) $(TARGET).$(MODE)
--- haribote/trunk/orbspace/Makefile (nonexistent)
+++ haribote/trunk/orbspace/Makefile (revision 188)
@@ -0,0 +1,2 @@
1+config:
2+ make -C edorbfs
--- haribote/trunk/orbspace/orbspace/make.bat (nonexistent)
+++ haribote/trunk/orbspace/orbspace/make.bat (revision 188)
@@ -0,0 +1 @@
1+..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
\ No newline at end of file
Show on old repository browser