VirtualBox

Changeset 56959 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 16, 2015 8:14:31 PM (9 years ago)
Author:
vboxsync
Message:

Main/Makefile.kmk: Sketched out how to generate code in makefiles (disabled by VBOX_WITH_MAIN_USB_ID_DATABASE not being defined yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r56854 r56959  
    509509endif
    510510
     511ifdef VBOX_WITH_MAIN_USB_ID_DATABASE  # Generate a database of USB vendor IDs and device IDs.
     512 VBoxSVC_DEFS    += VBOX_WITH_MAIN_USB_ID_DATABASE
     513 VBoxSVC_SOURCES += $(VBoxSVC_0_OUTDIR)/USBIdDatabase.cpp
     514 VBoxSVC_CLEAN   += $(VBoxSVC_0_OUTDIR)/USBIdDatabase.cpp
     515
     516 $$(VBoxSVC_0_OUTDIR)/USBIdDatabase.cpp:  $$(USBIdDatabaseGenerator_1_TARGET) \
     517                $(PATH_SUB_CURRENT)/src-server/usb.ids $(PATH_SUB_CURRENT)/src-server/custom.ids | $$(dir $$@)
     518        $(call MSG_GENERATE,SchemaDefs,$@,$<)
     519        $(QUIET)$(USBIdDatabaseGenerator_1_TARGET) -o "$@" $(filter %.ids,$^)
     520
     521 BLDPROGS += USBIdDatabaseGenerator
     522 USBIdDatabaseGenerator_TEMPLATE = VBoxAdvBldProg
     523 USBIdDatabaseGenerator_SOURCES  = src-server/USBIdDatabaseGenerator.cpp
     524endif
     525
    511526src-server/win/VBoxSVC.rc_INCS  = $(VBoxSVC_0_OUTDIR)
    512527src-server/win/VBoxSVC.rc_DEPS  = $(VBoxSVC_0_OUTDIR)/VBoxSVC.rgs $(VBoxSVC_0_OUTDIR)/VBoxSVC-icon.rc
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