changeset 19:e48bf9927b1c

added make rule for build_stamp.h to cWnn and kWnn so that they will be built correctly.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Mon, 14 Apr 2008 17:55:44 +0900
parents e7e2aba67cb3
children c4b8c1d2b943
files cWnn/include/Makefile.in kWnn/include/Makefile.in
diffstat 2 files changed, 18 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cWnn/include/Makefile.in	Mon Apr 14 17:33:53 2008 +0900
+++ b/cWnn/include/Makefile.in	Mon Apr 14 17:55:44 2008 +0900
@@ -34,7 +34,7 @@
 
 INSTALL      = @INSTALL@ $(INSTALLFLAGS)
 
-HEADERS = commonhd.h jllib.h jslib.h msg.h rk_spclval.h wnnerror.h cplib.h
+HEADERS = commonhd.h jllib.h jslib.h msg.h rk_spclval.h wnnerror.h cplib.h build_stamp.h
 LINKS = wnn_config.h copyright.h demcom.h hinsi_file.h jd_sock.h  \
         jdata.h jh.h jlib.h wnn_string.h wnn_os.h hinsi.h ansidecl.h
 LINKS2 = getopt.h
@@ -204,6 +204,14 @@
 
 depend:: getopt.h
 
+build_stamp.h:  $(WNNINCLUDESRC)/build_stamp.h
+	$(RM) $@
+	$(LN) $? $@
+
+includes:: build_stamp.h
+
+depend:: build_stamp.h
+
 # 'clean' entry is not added because last 
 # 'clean' entry (action = '$(RM) $(LINKS)') does same thing. (aono)
 
--- a/kWnn/include/Makefile.in	Mon Apr 14 17:33:53 2008 +0900
+++ b/kWnn/include/Makefile.in	Mon Apr 14 17:55:44 2008 +0900
@@ -34,7 +34,7 @@
 
 INSTALL      = @INSTALL@
 
-HEADERS = jllib.h jslib.h msg.h rk_spclval.h wnnerror.h commonhd.h cplib.h
+HEADERS = jllib.h jslib.h msg.h rk_spclval.h wnnerror.h commonhd.h cplib.h build_stamp.h
 LINKS = wnn_config.h copyright.h demcom.h hinsi_file.h jd_sock.h jdata.h \
 	jh.h jlib.h wnn_string.h wnn_os.h hinsi.h ansidecl.h
 LINKS2 = getopt.h
@@ -257,6 +257,14 @@
 
 depend:: getopt.h
 
+build_stamp.h:  $(WNNINCLUDESRC)/build_stamp.h
+	$(RM) $@
+	$(LN) $? $@
+
+includes:: build_stamp.h
+
+depend:: build_stamp.h
+
 # 'clean' entry is not added because last 
 # 'clean' entry (action = '$(RM) $(LINKS)') does same thing. (aono)