VirtualBox

Changeset 98314 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Jan 26, 2023 1:28:47 PM (2 years ago)
Author:
vboxsync
Message:

FE/SDL: Fixed some anachronisms in the Makefile. bugref:10348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/Makefile.kmk

    r98313 r98314  
    7676        $(VBOX_GRAPHICS_INCS) \
    7777        ../Common
    78 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
     78if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
    7979VBoxSDL_INCS += \
    8080        $(VBOX_XCURSOR_INCS)
    8181endif
    82 ifneq ($(filter-out solaris,$(KBUILD_TARGET)),)
    83 
     82ifn1of ($(KBUILD_TARGET), solaris) # Probably wrong with SDL2
    8483VBoxSDL_LIBS = \
    8584        $(LIB_SDK_LIBSDL_SDLMAIN)
    8685endif
    87 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
     86ifeq ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
    8887VBoxSDL_LIBS += \
    8988        $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL) \
     
    138137tstSDL_LIBS = \
    139138        $(LIB_RUNTIME)
    140 ifneq ($(filter-out solaris,$(KBUILD_TARGET)),)
     139ifn1of ($(KBUILD_TARGET), solaris)
    141140tstSDL_LIBS += \
    142141        $(LIB_SDK_LIBSDL_SDLMAIN)
     
    146145tstSDL_LIBS.linux += GL
    147146endif
    148 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
     147if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
    149148tstSDL_LIBPATH = \
    150149        $(VBOX_LIBPATH_X11)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette