Changeset 87
- Timestamp:
- Aug 4, 2010, 10:36:04 PM (15 years ago)
- Location:
- trunk/openjdk/jdk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/make/java/jli/Makefile
r2 r87 97 97 endif 98 98 99 ifeq ($(PLATFORM), os2) 100 101 EXTRA_LIBS = 102 JAVALIB = 103 104 # exports live in .def file 105 DEF_FILE = $(OBJDIR)/$(LIBRARY).def 106 $(DEF_FILE): $(MAKEFILE) 107 @$(ECHO) 'EXPORTS \n \ 108 JLI_ParseManifest = _JLI_ParseManifest \n \ 109 JLI_JarUnpackFile = _JLI_JarUnpackFile \n \ 110 JLI_FreeManifest = _JLI_FreeManifest \n \ 111 JLI_ManifestIterate = _JLI_ManifestIterate \n \ 112 JLI_ExactVersionId = _JLI_ExactVersionId \n \ 113 JLI_PrefixVersionId = _JLI_PrefixVersionId \n \ 114 JLI_AcceptableRelease = _JLI_AcceptableRelease \n \ 115 JLI_ValidVersionString = _JLI_ValidVersionString \n \ 116 JLI_WildcardExpandClasspath = _JLI_WildcardExpandClasspath \n \ 117 JLI_MemAlloc = _JLI_MemAlloc \n \ 118 JLI_MemRealloc = _JLI_MemRealloc \n \ 119 JLI_StringDup = _JLI_StringDup \n \ 120 JLI_MemFree = _JLI_MemFree \n \ 121 ' > $@ 122 123 clean:: 124 -$(RM) $(DEF_FILE) 125 126 endif 127 99 128 OTHER_INCLUDES += -I$(LAUNCHER_SHARE_SRC) 100 129 OTHER_INCLUDES += -I$(LAUNCHER_PLATFORM_SRC) … … 117 146 # the build process. The import library is built by the standard rules 118 147 # in Library.gmk. The additional rules which follow build the standard 119 # library. 148 # library. The same thing should be done on OS/2. 120 149 # 121 ifeq ($( PLATFORM), windows)150 ifeq ($(filter-out windows os2, $(PLATFORM)),) 122 151 123 152 STATIC_LIBRARY_DIR = $(OBJDIR)/static … … 131 160 $(STATIC_LIBRARY): $(STATIC_LIBRARY_DIR) 132 161 @$(prep-target) 162 ifeq ($(PLATFORM), windows) 133 163 $(LIBEXE) -nologo -out:$@ $(FILES_o) 164 else 165 $(AR) r $@ $(FILES_o) 166 endif 134 167 135 168 library:: $(STATIC_LIBRARY) -
trunk/openjdk/jdk/src/share/bin/parse_manifest.c
r2 r87 35 35 * POSIX says it should be? 36 36 */ 37 #if def _WIN3237 #if defined(_WIN32) 38 38 #include <windows.h> 39 39 #include <io.h> 40 #elif defined(__WIN32OS2__) 41 #include <windows.h> 42 #ifdef __EMX__ 43 #include <unistd.h> 44 #include <strings.h> 45 #endif 40 46 #else /* Unix */ 41 47 #include <unistd.h> -
trunk/openjdk/jdk/src/share/bin/wildcard.c
r2 r87 94 94 #include "jli_util.h" 95 95 96 #if def _WIN3296 #if defined(_WIN32) 97 97 #include <windows.h> 98 #elif defined(__WIN32OS2__) 99 #include <windows.h> 100 #ifdef __EMX__ 101 #include <unistd.h> 102 #include <dirent.h> 103 #endif 98 104 #else /* Unix */ 99 105 #include <unistd.h>
Note:
See TracChangeset
for help on using the changeset viewer.