修訂 | 3ed1df5a02503eae4512d89378e1a0ee2f999469 (tree) |
---|---|
時間 | 2015-03-27 15:18:18 |
作者 | ornse01 <ornse01@user...> |
Commiter | ornse01 |
add bchanf by submodule.
@@ -0,0 +1,3 @@ | ||
1 | +[submodule "src/bchanf"] | |
2 | + path = src/bchanf | |
3 | + url = git://git.sourceforge.jp/gitroot/bbk/bchanf.git |
@@ -1,139 +0,0 @@ | ||
1 | -# | |
2 | -# @(#)Makefile (library using bchanf) | |
3 | -# GNU make 用 | |
4 | -# | |
5 | -# make の方法 | |
6 | -# ・make | |
7 | -# リリース用の正式版を作成 | |
8 | -# ・make mode=debug | |
9 | -# デバッグ用に作成 | |
10 | -# ・make clean | |
11 | -# make で作成した全てのファイルを削除 | |
12 | -# ・make install | |
13 | -# 規定の場所にインストール (実機用のみ) | |
14 | -# | |
15 | - | |
16 | -# バージョン | |
17 | -version = 0x0010 | |
18 | - | |
19 | -# リリース用をデフォルトにする | |
20 | -mode = | |
21 | - | |
22 | -# ソースの依存関係ファイル (自動生成) | |
23 | -DEPS = Dependencies | |
24 | -DEPENDENCIES_OUTPUT := $(DEPS) | |
25 | - | |
26 | -# アプリケーション標準ルール | |
27 | -MACHINE = pcat | |
28 | -include $(BD)/appl/etc/makerules | |
29 | - | |
30 | -#---------------------------------------------------------------------- | |
31 | -# 作成対象 | |
32 | -TARGET = libbchanf | |
33 | - | |
34 | -# ソースファイルのサーチパス | |
35 | -TOPDIR = ../../src/bchanf | |
36 | -S = $(TOPDIR)/src $(TOPDIR)/src/http $(TOPDIR)/src/parse $(TOPDIR)/src/coll $(TOPDIR)/src/coding $(TOPDIR)/src/tad $(TOPDIR)/src/hmi $(TOPDIR)/src/css | |
37 | -VPATH = $(S) | |
38 | - | |
39 | -# ヘッダファイルのディレクトリ追加 | |
40 | -HEADER := $(S) $(HEADER) | |
41 | - | |
42 | -# ソースファイル | |
43 | - | |
44 | -SRC_HTTP = http_connector.c \ | |
45 | - http_transferdecoder.c \ | |
46 | - http_contentdecoder.c \ | |
47 | - http_headerlexer.c \ | |
48 | - http_statuslineparser.c \ | |
49 | - http_requestlinestream.c \ | |
50 | - http_defaultheaderstream.c \ | |
51 | - http_defaultheaderparser.c \ | |
52 | - http_transport.c | |
53 | - | |
54 | -SRC_PARSE = tokenchecker.c \ | |
55 | - charreferparser.c | |
56 | - | |
57 | -SRC_COLL = idtocb.c \ | |
58 | - arraybase.c \ | |
59 | - treebase.c \ | |
60 | - bytearray.c \ | |
61 | - wordarray.c | |
62 | - | |
63 | -SRC_CODING = base64encoder.c \ | |
64 | - base64decoder.c | |
65 | - | |
66 | -SRC_TAD = taditerator.c \ | |
67 | - tadstack.c \ | |
68 | - tadtsvparser.c \ | |
69 | - tadlexer_le.c \ | |
70 | - traydata_iterator.c \ | |
71 | - tadfragment.c \ | |
72 | - tadlangcode.c \ | |
73 | - taddecoder.c \ | |
74 | - tadsegment.c | |
75 | - | |
76 | -SRC_HMI = hmi_windowscroll.c \ | |
77 | - texteditor_textfragment.c \ | |
78 | - texteditor_characterstate.c \ | |
79 | - texteditor_insertfilter.c \ | |
80 | - texteditor_stackfilter.c | |
81 | - | |
82 | -SRC_CSS = cssrendering_box.c \ | |
83 | - cssrendering_coordinate.c | |
84 | - | |
85 | -SRC = $(SRC_HTTP) $(SRC_PARSE) $(SRC_COLL) $(SRC_CODING) $(SRC_TAD) $(SRC_HMI) $(SRC_CSS) | |
86 | - | |
87 | -# データボックスソースファイル | |
88 | -DBSRC = | |
89 | - | |
90 | -SRC += $(DBSRC) | |
91 | - | |
92 | -WC_SRC = $(filter %.C, $(SRC)) | |
93 | - | |
94 | -# オブジェクトファイル | |
95 | -OBJ = $(addsuffix .o, $(basename $(SRC))) | |
96 | - | |
97 | -# コンパイルオプション | |
98 | -ifneq ($(mode), debug) | |
99 | - CFLAGS += -Wall | |
100 | -endif | |
101 | - | |
102 | -CFLAGS += $(BUILDOPTIONS) | |
103 | - | |
104 | -LOADLIBES += -limg | |
105 | - | |
106 | -#---------------------------------------------------------------------- | |
107 | -.PHONY: all clean install | |
108 | - | |
109 | -INST = $(addprefix $(TARGET), .a) | |
110 | - | |
111 | -all: $(INST) | |
112 | - | |
113 | -$(TARGET).a: $(OBJ) | |
114 | - $(GNUi386)/bin/ar $(ARFLAGS) $@ $^ | |
115 | - $(RANLIB) $@ | |
116 | - | |
117 | -clean: | |
118 | - $(RM) $(OBJ) | |
119 | - $(RM) $(WC_SRC:%.C=%.c) $(DBSRC) | |
120 | - $(RM) $(INST) $(NOINST) *.lst $(DEPS) | |
121 | - | |
122 | -install: $(INST:%=$(EXE_INSTALLDIR)/%) | |
123 | - | |
124 | -$(EXE_INSTALLDIR)/$(TARGET).out: $(EXE_INSTALLDIR)/%: % | |
125 | - $(EXE_INSTALL_STRIP) | |
126 | - | |
127 | -# ソースの依存関係 | |
128 | - | |
129 | -$(WC_SRC:%.C=%.c): | |
130 | - | |
131 | -$(DBSRC): | |
132 | - | |
133 | -ifdef DEPENDENCIES_OUTPUT | |
134 | -$(DEPS): ; touch $(DEPS) | |
135 | -else | |
136 | -$(DEPS): $(SRC) ; $(MAKEDEPS) $@ $? | |
137 | -endif | |
138 | - | |
139 | -include $(DEPS) |
@@ -0,0 +1 @@ | ||
1 | +../../src/bchanf/src/Makefile.lib | |
\ No newline at end of file |
@@ -0,0 +1 @@ | ||
1 | +Subproject commit 9f68f9a677e1611779805baeb26152fa5a8faf5a |