Changeset 429 in kBuild
- Timestamp:
- Mar 26, 2006 6:07:04 AM (19 years ago)
- Location:
- trunk/src/gmake
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/Makefile.kmk
r376 r429 22 22 CONFIG_NO_DEFAULT_VARIABLES \ 23 23 KMK 24 24 25 25 26 kmk_SOURCES = \ … … 90 91 # Standalone kmkbuiltin commands. 91 92 # 92 PROGRAMS += kmk_append kmk_cp kmk_echo kmk_mkdir kmk_install kmk_ln kmk_rm 93 PROGRAMS += kmk_append kmk_cp kmk_echo kmk_mkdir kmk_install kmk_ln kmk_rm 93 94 94 95 kmk_append_TEMPLATE = BIN -
trunk/src/gmake/file.c
r287 r429 968 968 init_hash_files (void) 969 969 { 970 #ifdef KMK 971 hash_init (&files, 8192, file_hash_1, file_hash_2, file_hash_cmp); 972 #else 970 973 hash_init (&files, 1000, file_hash_1, file_hash_2, file_hash_cmp); 974 #endif 971 975 } 972 976 -
trunk/src/gmake/make.h
r281 r429 424 424 extern void collapse_continuations PARAMS ((char *)); 425 425 extern void remove_comments PARAMS((char *)); 426 #ifdef KMK 427 #define lindex(s, limit, c) ((char *)memchr((s), (c), (limit) - (s))) 428 #else 426 429 extern char *lindex PARAMS ((const char *, const char *, int)); 430 #endif 427 431 extern int alpha_compare PARAMS ((const void *, const void *)); 428 432 extern void print_spaces PARAMS ((unsigned int)); -
trunk/src/gmake/misc.c
r281 r429 22 22 #include "dep.h" 23 23 #include "debug.h" 24 25 #ifdef __EMX__ /* saves 5-10ms on libc */ 26 # define bcopy(src, dst, size) __builtin_memcpy((dst), (src), (size)) 27 #endif 24 28 25 29 /* Variadic functions. We go through contortions to allow proper function … … 420 424 421 425 426 #ifndef KMK /* This is really a reimplemntation of memchr. */ 422 427 /* Limited INDEX: 423 428 Search through the string STRING, which ends at LIMIT, for the character C. … … 435 440 return 0; 436 441 } 442 #endif 437 443 438 444 -
trunk/src/gmake/variable.c
r370 r429 149 149 init_hash_global_variable_set (void) 150 150 { 151 hash_init (&global_variable_set.table, VARIABLE_BUCKETS, 151 hash_init (&global_variable_set.table, 152 #ifdef KMK 153 8192, 154 #else 155 VARIABLE_BUCKETS, 156 #endif 152 157 variable_hash_1, variable_hash_2, variable_hash_cmp); 153 158 }
Note:
See TracChangeset
for help on using the changeset viewer.