- Timestamp:
- Dec 26, 2008 12:54:01 PM (16 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/Makefile.kmk
r2141 r2145 38 38 KBUILD_SVN_REV=$(KBUILD_SVN_REV) \ 39 39 KBUILD_TYPE=\"$(KBUILD_TYPE)\" 40 TEMPLATE_BIN-KMK_DEPS = $(PATH_kmk)/config.h 40 TEMPLATE_BIN-KMK_DEPS = \ 41 $(PATH_kmk)/config.h \ 42 $(PATH_kmk)/fts.h 41 43 TEMPLATE_BIN-KMK_CLEAN = $(TEMPLATE_BIN-KMK_DEPS) 42 44 TEMPLATE_BIN-KMK_DEPS.solaris = \ 43 $(PATH_kmk)/fts.h \44 45 $(PATH_kmk)/paths.h 45 46 TEMPLATE_BIN-KMK_CLEAN.solaris = $(TEMPLATE_BIN-KMK_DEPS.solaris) 46 47 TEMPLATE_BIN-KMK_DEPS.win = \ 47 $(PATH_kmk)/fts.h \48 48 $(PATH_kmk)/sysexits.h \ 49 49 $(PATH_kmk)/unistd.h \ … … 79 79 kmkmissing_SOURCES = \ 80 80 kmkbuiltin/err.c \ 81 kmkbuiltin/fts.c \ 81 82 kmkbuiltin/setmode.c \ 82 83 kmkbuiltin/strmode.c \ … … 106 107 kmkbuiltin/strlcpy.c \ 107 108 kmkbuiltin/solfakes.c \ 108 kmkbuiltin/fts.c \109 109 glob/glob.c \ 110 110 glob/fnmatch.c … … 113 113 kmkbuiltin/strlcpy.c \ 114 114 kmkbuiltin/mscfakes.c \ 115 kmkbuiltin/fts.c \116 115 glob/glob.c \ 117 116 glob/fnmatch.c \ -
trunk/src/kmk/config.h.darwin
r2134 r2145 287 287 288 288 /* Build host information. (not used by kmk) */ 289 #define MAKE_HOST "i 686-apple-darwin8.8.1"289 #define MAKE_HOST "i386-apple-darwin9.4.0" 290 290 291 291 /* Define to 1 to enable job server support in GNU make. */ … … 427 427 428 428 #include "inlined_memchr.h" 429 -
trunk/src/kmk/kmkbuiltin/ftsfake.h
r809 r2145 142 142 } FTSENT; 143 143 144 #ifndef __sun__ 145 #ifndef _MSC_VER 146 #include <sys/cdefs.h> 147 __BEGIN_DECLS 148 #else 149 #define __RENAME(a) 150 #endif 144 #ifdef __cplusplus 145 extern "C" { 151 146 #endif 152 147 153 #if defined(__LIBC12_SOURCE__) || defined(__sun__)154 148 FTSENT *fts_children(FTS *, int); 155 149 int fts_close(FTS *); … … 158 152 FTSENT *fts_read(FTS *); 159 153 int fts_set(FTS *, FTSENT *, int); 160 #else161 FTSENT *fts_children(FTS *, int) __RENAME(__fts_children13);162 int fts_close(FTS *) __RENAME(__fts_close13);163 FTS *fts_open(char * const *, int,164 int (*)(const FTSENT **, const FTSENT **))165 __RENAME(__fts_open13);166 FTSENT *fts_read(FTS *) __RENAME(__fts_read13);167 int fts_set(FTS *, FTSENT *, int) __RENAME(__fts_set13);168 #endif169 154 170 #ifndef __sun__ 171 #ifndef _MSC_VER 172 __END_DECLS 173 #endif 155 #ifdef __cplusplus 156 } 174 157 #endif 175 158
Note:
See TracChangeset
for help on using the changeset viewer.