VirtualBox

Ignore:
Timestamp:
Jun 25, 2009 12:45:12 PM (16 years ago)
Author:
vboxsync
Message:

Additions/x11: automatically check for missing symbols when building

Location:
trunk/src/VBox/Additions/x11/vboxmouse
Files:
7 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk

    r17452 r20934  
    144144        vboxmouse_15.c
    145145
     146# Check the undefined symbols in the X.Org modules against lists of allowed
     147# symbols.  Not very elegant, but it will catch problems early.
     148ifdef VBOX_WITH_TESTCASES
     149# ifndef VBOX_ONLY_ADDITIONS
     150  ifeq ($(KBUILD_TARGET),linux)
     151   ifeq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH))
     152    ifndef VBOX_ONLY_SDK
     153     OUR_PATH_VBOXMOUSE=$(PATH_ROOT)/src/VBox/Additions/x11/vboxmouse
     154
     155     TESTING  += $(PATH_vboxmouse_drv)/tstvboxmouse68.run
     156     OTHERS += $(PATH_vboxmouse_drv)/tstvboxmouse68.run
     157$$(PATH_vboxmouse_drv)/tstvboxmouse68.run: $$(INSTARGET_vboxmouse_drv)
     158        $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh \
     159            $(INSTARGET_vboxmouse_drv) $(OUR_PATH_VBOXMOUSE)/undefined_68 --static
     160        $(QUIET)$(APPEND) -t "$@" "done"
     161
     162     TESTING  += $(PATH_vboxmouse_drv_70)/tstvboxmouse70.run
     163     OTHERS += $(PATH_vboxmouse_drv_70)/tstvboxmouse70.run
     164$$(PATH_vboxmouse_drv_70)/tstvboxmouse70.run: $$(INSTARGET_vboxmouse_drv_70)
     165        $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh \
     166            $(INSTARGET_vboxmouse_drv_70) $(OUR_PATH_VBOXMOUSE)/undefined_70
     167        $(QUIET)$(APPEND) -t "$@" "done"
     168
     169     TESTING  += $(PATH_vboxmouse_drv_71)/tstvboxmouse71.run
     170     OTHERS += $(PATH_vboxmouse_drv_71)/tstvboxmouse71.run
     171$$(PATH_vboxmouse_drv_71)/tstvboxmouse71.run: $$(INSTARGET_vboxmouse_drv_71)
     172        $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh \
     173            $(INSTARGET_vboxmouse_drv_71) $(OUR_PATH_VBOXMOUSE)/undefined_71
     174        $(QUIET)$(APPEND) -t "$@" "done"
     175
     176     TESTING  += $(PATH_vboxmouse_drv_14)/tstvboxmouse14.run
     177     OTHERS += $(PATH_vboxmouse_drv_14)/tstvboxmouse14.run
     178$$(PATH_vboxmouse_drv_14)/tstvboxmouse14.run: $$(INSTARGET_vboxmouse_drv_14)
     179        $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh \
     180            $(INSTARGET_vboxmouse_drv_14) $(OUR_PATH_VBOXMOUSE)/undefined_14
     181        $(QUIET)$(APPEND) -t "$@" "done"
     182
     183     TESTING  += $(PATH_vboxmouse_drv_15)/tstvboxmouse15.run
     184     OTHERS += $(PATH_vboxmouse_drv_15)/tstvboxmouse15.run
     185$$(PATH_vboxmouse_drv_15)/tstvboxmouse15.run: $$(INSTARGET_vboxmouse_drv_15)
     186        $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh \
     187            $(INSTARGET_vboxmouse_drv_15) $(OUR_PATH_VBOXMOUSE)/undefined_15
     188        $(QUIET)$(APPEND) -t "$@" "done"
     189
     190     TESTING  += $(PATH_vboxmouse_drv_16)/tstvboxmouse16.run
     191     OTHERS += $(PATH_vboxmouse_drv_16)/tstvboxmouse16.run
     192$$(PATH_vboxmouse_drv_16)/tstvboxmouse16.run: $$(INSTARGET_vboxmouse_drv_16)
     193        $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh \
     194            $(INSTARGET_vboxmouse_drv_16) $(OUR_PATH_VBOXMOUSE)/undefined_16
     195        $(QUIET)$(APPEND) -t "$@" "done"
     196
     197    endif # ! VBOX_ONLY_SDK
     198   endif # eq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH))
     199  endif # eq ($(KBUILD_TARGET),linux)
     200# endif # ! VBOX_ONLY_ADDITIONS
     201endif # VBOX_WITH_TESTCASES
    146202
    147203include $(KBUILD_PATH)/subfooter.kmk
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