Changeset 548
- Timestamp:
- 02/13/09 22:25:37 (3 years ago)
- Location:
- interpreter/trunk
- Files:
-
- 10 edited
-
ChangeLog (modified) (1 diff)
-
Doxyfile (modified) (1 diff)
-
Makefile.am (modified) (1 diff)
-
configure.ac (modified) (9 diffs)
-
docs/version.texi (modified) (1 diff)
-
modules/Makefile.am (modified) (1 diff)
-
modules/all_modules.kt (modified) (1 diff)
-
windows/config.h (modified) (4 diffs)
-
windows/kite_parser.c (modified) (4 diffs)
-
windows/kite_parser.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
interpreter/trunk/ChangeLog
r545 r548 1 2/13/2009: 2 * Added System.compile_options to assist in module building. 3 1 4 2/8/2009: 2 5 * Added support for single quotes for strings (ticket #85). -
interpreter/trunk/Doxyfile
r503 r548 32 32 # if some version control system is used. 33 33 34 PROJECT_NUMBER = 1.0. 034 PROJECT_NUMBER = 1.0.2 35 35 36 36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -
interpreter/trunk/Makefile.am
r543 r548 64 64 EXTRA_DIST = cinvoke/arch/empty_empty_empty.c cinvoke/arch/empty_empty_empty.h 65 65 66 EXTRA_DIST += modules/build_kdocs.in 66 EXTRA_DIST += modules/build_kdocs.in Doxyfile 67 67 #BUILT_SOURCES = modules/build_kdocs 68 68 bin_SCRIPTS = modules/build_kdocs -
interpreter/trunk/configure.ac
r532 r548 3 3 4 4 AC_PREREQ(2.61) 5 AC_INIT(kite, 1.0. 1, bugs@kite-language.org)5 AC_INIT(kite, 1.0.2, bugs@kite-language.org) 6 6 AC_CONFIG_SRCDIR([apps/kite.c]) 7 7 AC_CONFIG_HEADER([config.h]) … … 10 10 AC_DEFINE(VERSION_MAJOR, [1], [The major version number.]) 11 11 AC_DEFINE(VERSION_MINOR, [0], [The minor version number.]) 12 AC_DEFINE(VERSION_PATCH, [ 1], [The patch level.])12 AC_DEFINE(VERSION_PATCH, [2], [The patch level.]) 13 13 14 14 # Checks for programs. … … 57 57 gc_save_CPPFLAGS="$CPPFLAGS" 58 58 gc_save_LDFLAGS="$LDFLAGS" 59 CFLAGS="$CFLAGS -I$with_gc/include "60 C PPFLAGS="$CPPFLAGS -I$with_gc/include"59 CFLAGS="$CFLAGS -I$with_gc/include -DHAVE_GC_GC_H" 60 CXXFLAGS="$CXXFLAGS -I$with_gc/include -DHAVE_GC_GC_H" 61 61 LDFLAGS="$LDFLAGS -L$with_gc/lib" 62 62 fi … … 84 84 fi 85 85 ]) 86 87 AC_SUBST([HAVE_GC], [true]) 88 ], [ 89 AC_SUBST([HAVE_GC], [false]) 86 90 ]) 87 91 … … 145 149 AC_DEFINE(ARCH_GCC_X86_WIN, [1], [x86 Windows]) 146 150 AC_DEFINE(BUILD_CINVOKE, [1], [Build C/Invoke library]) 151 AM_CONDITIONAL([DYLIB_EXT_WINDOWS], [true]) 152 AM_CONDITIONAL([DYLIB_EXT_OSX], [false]) 153 AM_CONDITIONAL([DYLIB_EXT_UNIX], [false]) 147 154 ;; 148 155 i[[3456789]]86-*-*) … … 152 159 AC_DEFINE(ARCH_GCC_X86_UNIX, [1], [x86 Unix]) 153 160 AC_DEFINE(BUILD_CINVOKE, [1], [Build C/Invoke library]) 161 case "${host}" in 162 *-apple-*) 163 AM_CONDITIONAL([DYLIB_EXT_OSX], [true]) 164 AM_CONDITIONAL([DYLIB_EXT_UNIX], [false]) 165 ;; 166 *) 167 AM_CONDITIONAL([DYLIB_EXT_UNIX], [true]) 168 AM_CONDITIONAL([DYLIB_EXT_OSX], [false]) 169 ;; 170 esac 171 AM_CONDITIONAL([DYLIB_EXT_WINDOWS], [false]) 154 172 ;; 155 173 x86_64-*-*) … … 159 177 AC_DEFINE(ARCH_GCC_X64_UNIX, [1], [x64 Unix]) 160 178 AC_DEFINE(BUILD_CINVOKE, [1], [Build C/Invoke library]) 179 case "${host}" in 180 *-apple-*) 181 AM_CONDITIONAL([DYLIB_EXT_OSX], [true]) 182 AM_CONDITIONAL([DYLIB_EXT_UNIX], [false]) 183 ;; 184 *) 185 AM_CONDITIONAL([DYLIB_EXT_UNIX], [true]) 186 AM_CONDITIONAL([DYLIB_EXT_OSX], [false]) 187 ;; 188 esac 189 AM_CONDITIONAL([DYLIB_EXT_WINDOWS], [false]) 161 190 ;; 162 191 sparc-*-*) … … 166 195 AC_DEFINE(ARCH_GCC_SPARC_UNIX, [1], [Sparc Unix]) 167 196 AC_DEFINE(BUILD_CINVOKE, [1], [Build C/Invoke library]) 197 AM_CONDITIONAL([DYLIB_EXT_UNIX], [true]) 198 AM_CONDITIONAL([DYLIB_EXT_OSX], [false]) 199 AM_CONDITIONAL([DYLIB_EXT_WINDOWS], [false]) 168 200 ;; 169 201 powerpc-*-darwin*) … … 173 205 AC_DEFINE(BUILD_CINVOKE, [1], [Build C/Invoke library]) 174 206 AC_DEFINE(ARCH_GCC_PPC_OSX, [1], [PPC OSX]) 207 AM_CONDITIONAL([DYLIB_EXT_OSX], [true]]) 208 AM_CONDITIONAL([DYLIB_EXT_UNIX], [false]) 209 AM_CONDITIONAL([DYLIB_EXT_WINDOWS], [false]) 175 210 ;; 176 211 *) 177 212 AC_MSG_RESULT([no support]) 213 AM_CONDITIONAL([DYLIB_EXT_UNIX], [true]) 214 AM_CONDITIONAL([DYLIB_EXT_OSX], [false]) 215 AM_CONDITIONAL([DYLIB_EXT_WINDOWS], [false]) 178 216 ;; 179 217 esac -
interpreter/trunk/docs/version.texi
r528 r548 1 @set UPDATED 4 February 20092 @set UPDATED-MONTH February 20093 @set EDITION 1.0. 14 @set VERSION 1.0. 11 @set UPDATED 16 December 2008 2 @set UPDATED-MONTH December 2008 3 @set EDITION 1.0.2 4 @set VERSION 1.0.2 -
interpreter/trunk/modules/Makefile.am
r530 r548 20 20 interface/http.kt interface/http/cgi.kt interface/language.kt interface/language/c.kt \ 21 21 interface/text.kt interface/text/readline.kt interface/text/base64.kt \ 22 interface/text/binary.kt interface/pop3.kt interface/smtp.kt all_modules.kt 22 interface/text/binary.kt interface/pop3.kt interface/smtp.kt all_modules.kt \ 23 System/compile_options.kt 23 24 24 25 AM_CFLAGS = -Wdeclaration-after-statement -Wextra -fno-omit-frame-pointer -ISystem/digest/ -I../objs -I../vm -fPIC -W -Wall -DCINVOKE_BUILD 25 26 AM_LDFLAGS = -fPIC 27 28 BUILT_SOURCES = System/compile_options.kt 29 30 if DYLIB_EXT_UNIX 31 LD_DYLIB_FLAGS = -shared 32 LD_DYLIB_EXTENSION = .so 33 else 34 if DYLIB_EXT_OSX 35 LD_DYLIB_FLAGS = -dynamiclib -Wl,-undefined,dynamic_lookup 36 LD_DYLIB_EXTENSION = .dylib 37 else 38 LD_DYLIB_FLAGS = -shared 39 LD_DYLIB_EXTENSION = .dll 40 endif 41 endif 42 43 install-exec-hook: 44 mkdir -p $(pkglibdir)/local-pkgs 45 46 System/compile_options.kt: Makefile 47 echo "global property build_cflags;" > System/compile_options.kt 48 echo "global property build_cxxflags;" >> System/compile_options.kt 49 echo "global property build_ldflags;" >> System/compile_options.kt 50 echo "global property build_cc;" >> System/compile_options.kt 51 echo "global property build_cplusplus;" >> System/compile_options.kt 52 echo "global property build_dylib_extension;" >> System/compile_options.kt 53 echo "global property build_dylib_flags;" >> System/compile_options.kt 54 echo "global property build_with_gc;" >> System/compile_options.kt 55 echo "global property build_install_dir;" >> System/compile_options.kt 56 echo "build_cflags = \"$(CFLAGS) $(AM_CFLAGS)\";" >> System/compile_options.kt 57 echo "build_cxxflags = \"$(CXXFLAGS) $(AM_CXXFLAGS)\";" >> System/compile_options.kt 58 echo "build_ldflags = \"$(LDFLAGS) $(AM_LDFLAGS)\";" >> System/compile_options.kt 59 echo "build_cc = \"$(CC)\";" >> System/compile_options.kt 60 echo "build_cplusplus = \"$(CXX)\";" >> System/compile_options.kt 61 echo "build_dylib_extension = \"$(LD_DYLIB_EXTENSION)\";" >> System/compile_options.kt 62 echo "build_dylib_flags = \"$(LD_DYLIB_FLAGS)\";" >> System/compile_options.kt 63 echo "build_with_gc = $(HAVE_GC);" >> System/compile_options.kt 64 echo "build_install_dir = \"$(pkglibdir)/local-pkgs\";" >> System/compile_options.kt -
interpreter/trunk/modules/all_modules.kt
r538 r548 57 57 import "System.vm.thread"; 58 58 import "System.vm"; 59 import "System.compile_options"; 59 60 60 61 import "interface.http.cgi"; -
interpreter/trunk/windows/config.h
r527 r548 114 114 115 115 /* Define to the full name and version of this package. */ 116 #define PACKAGE_STRING "kite 1.0. 1"116 #define PACKAGE_STRING "kite 1.0.2" 117 117 118 118 /* Define to the one symbol short name of this package. */ … … 120 120 121 121 /* Define to the version of this package. */ 122 #define PACKAGE_VERSION "1.0. 1"122 #define PACKAGE_VERSION "1.0.2" 123 123 124 124 /* Define to 1 if you have the ANSI C header files. */ … … 129 129 130 130 /* Version number of package */ 131 #define VERSION "1.0. 1"131 #define VERSION "1.0.2" 132 132 133 133 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a … … 152 152 153 153 /* The patch level. */ 154 #define VERSION_PATCH 1154 #define VERSION_PATCH 2 155 155 156 156 #define LIBRARY_SEARCH_PATH "" -
interpreter/trunk/windows/kite_parser.c
r534 r548 315 315 kite_opcode_t *opValue; 316 316 } 317 /* Line 1 87of yacc.c. */317 /* Line 193 of yacc.c. */ 318 318 #line 319 "kite_parser.c" 319 319 YYSTYPE; … … 391 391 392 392 #ifndef YY_ 393 # if YYENABLE_NLS393 # if defined YYENABLE_NLS && YYENABLE_NLS 394 394 # if ENABLE_NLS 395 395 # include <libintl.h> /* INFRINGES ON USER NAME SPACE */ … … 1137 1137 1138 1138 #ifndef YY_LOCATION_PRINT 1139 # if YYLTYPE_IS_TRIVIAL1139 # if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL 1140 1140 # define YY_LOCATION_PRINT(File, Loc) \ 1141 1141 fprintf (File, "%d.%d-%d.%d", \ … … 1714 1714 yyvsp = yyvs; 1715 1715 yylsp = yyls; 1716 #if YYLTYPE_IS_TRIVIAL1716 #if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL 1717 1717 /* Initialize the default location before parsing starts. */ 1718 1718 yylloc.first_line = yylloc.last_line = 1; -
interpreter/trunk/windows/kite_parser.h
r534 r548 165 165 kite_opcode_t *opValue; 166 166 } 167 /* Line 1 489 of yacc.c. */167 /* Line 1529 of yacc.c. */ 168 168 #line 169 "kite_parser.h" 169 169 YYSTYPE;
Note: See TracChangeset
for help on using the changeset viewer.
