• R/O
  • SSH
  • HTTPS

bchan: 提交


Commit MetaInfo

修訂540 (tree)
時間2012-07-29 13:30:19
作者ornse01

Log Message

add commands for building and linking bchanf library.

Change Summary

差異

--- bchan/trunk/src/Makefile (revision 539)
+++ bchan/trunk/src/Makefile (revision 540)
@@ -38,7 +38,7 @@
3838 VPATH = $(S)
3939
4040 # ヘッダファイルのディレクトリ追加
41-HEADER := $(S) $(HEADER)
41+HEADER := $(S) $(HEADER) ../src/bchanf/src
4242
4343 # ソースファイル
4444 SRC = main.c cache.c parser.c layout.c retriever.c tadlib.c poptray.c postres.c http.c submit.c sjisstring.c parselib.c submitutil.c bchan_vobj.c tadurl.c bchan_panels.c bchan_menus.c residhash.c resindexhash.c tadimf.c layoutarray.c array.c render.c layoutstyle.c traydata.c hmi.c wordlist.c tadsearch.c httpdateparser.c setcookieheader.c psvlexer.c cookiedb.c
@@ -68,12 +68,16 @@
6868 INST = $(addprefix $(TARGET), .bz .map)
6969 NOINST = $(addprefix $(TARGET), .out .fsn .dbx)
7070
71-all: $(INST)
71+all: library $(INST)
7272
73-$(TARGET).out: $(OBJ)
73+library:
74+ @$(MAKE) -f Makefile.lib -C ./bchanf
75+
76+$(TARGET).out: $(OBJ) bchanf/libbchanf.a
7477 $(LINK.o) $(LDOBJS) $^ $(LOADLIBES) $(LDLIBS) $(OUTPUT_OPTION)
7578
7679 clean:
80+ @$(MAKE) clean -f Makefile.lib -C ./bchanf
7781 $(RM) $(OBJ)
7882 $(RM) $(WC_SRC:%.C=%.c) $(DBSRC)
7983 $(RM) $(INST) $(NOINST) *.lst $(DEPS)
Show on old repository browser