Changeset 113
- Timestamp:
- May 18, 2016, 4:55:47 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Makefile.kmk ¶
r14 r113 90 90 91 91 # The SDL DLLs 92 if1of ($(KBUILD_TARGET), win os2)92 if1of ($(KBUILD_TARGET), win) # os2 93 93 ifdef VBOX_WITH_VBOXSDL 94 94 include $(KBUILD_PATH)/sdks/LIBSDL.kmk -
TabularUnified trunk/configure ¶
r94 r113 1149 1149 fail 1150 1150 fi 1151 elif [ "$OS" = "os2" ]; then 1152 # OS/2 requires special SDL setup, see $KBUILD_PATH/sdks/LIBSDL.kmk 1153 if [ -n "$PATH_SDK_LIBSDL" ]; then 1154 INCSDL="-I$PATH_SDK_LIBSDL/SDL/include" 1155 FLDSDL="-L$PATH_SDK_LIBSDL/SDL -lSDL12" 1156 foundsdl=1 1157 else 1158 log_failure "PATH_SDK_LIBSDL is not set, will expect SDL in \"$DEVDIR/$OS.$BUILD_MACHINE\"" 1159 fi 1151 elif [ "$OS" = "os2" -a -n "$PATH_SDK_LIBSDL" ]; then 1152 # OS/2 requires special SDL setup for non-rpm SDL SDK case, 1153 # see $KBUILD_PATH/sdks/LIBSDL.kmk 1154 INCSDL="-I$PATH_SDK_LIBSDL/SDL/include" 1155 FLDSDL="-L$PATH_SDK_LIBSDL/SDL -lSDL12" 1156 foundsdl=1 1160 1157 else 1161 1158 if which_wrapper sdl-config > /dev/null; then … … 1168 1165 fi 1169 1166 fi 1170 [ "$OS" = " linux" -o "$OS" = "darwin" -o "$OS" = "solaris" ] && LIBSDLMAIN=""1167 [ "$OS" = "os2" -o "$OS" = "linux" -o "$OS" = "darwin" -o "$OS" = "solaris" ] && LIBSDLMAIN="" 1171 1168 if [ -n "$foundsdl" ]; then 1172 1169 cat > $ODIR.tmp_src.cc << EOF … … 1191 1188 if test_compile "$LIBSDL $LIBSDLMAIN $I_INCSDL $FLDSDL" SDL SDL; then 1192 1189 if test_execute; then 1193 if [ "$OS" = "os2" ]; then1194 cnf_append "PATH_SDK_LIBSDL" "$PATH_SDK_LIBSDL"1195 else1196 1190 cnf_append "LIB_SDK_LIBSDL_SDL" "`strip_l "$LIBSDL"`" 1197 1191 cnf_append "SDK_LIBSDL_LIBPATH" "`strip_L "$LIBSDL"`" … … 1199 1193 [ -n "$INCSDL" ] && cnf_append "SDK_LIBSDL_INCS" "$INCSDL" 1200 1194 [ -n "$FLDSDL" ] && cnf_append "SDK_LIBSDL_LDFLAGS" "$FLDSDL" 1201 fi 1195 if [ "$OS" = "os2" ]; then 1196 cnf_append "PATH_SDK_LIBSDL" "`strip_L "$LIBSDL"`" 1197 fi 1202 1198 fi 1203 1199 fi
Note:
See TracChangeset
for help on using the changeset viewer.