VirtualBox

Changeset 33442 in vbox for trunk


Ignore:
Timestamp:
Oct 25, 2010 10:15:42 PM (14 years ago)
Author:
vboxsync
Message:

Devices/Makefile.kmk: Removed complicated bloat from r66989 and shortened a few more DEFS.

File:
1 edited

Legend:

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

    r33408 r33442  
    269269DevicesR3_SDKS.win      = WINPSDK W2K3DDK
    270270DevicesR3_DEFS.darwin.x86 = VBOX_WITH_2X_4GB_ADDR_SPACE
    271 DevicesR3_DEFS         += VBOX_HGCM_HOST_CODE \
    272                           VBOX_WITH_HGCM
     271DevicesR3_DEFS         += \
     272        VBOX_HGCM_HOST_CODE \
     273        VBOX_WITH_HGCM \
     274        $(if $(VBOX_WITH_AUDIO_FLEXIBLE_FORMAT),VBOX_WITH_AUDIO_FLEXIBLE_FORMAT,) \
     275        $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,)
    273276DevicesR3_DEFS.linux   += _GNU_SOURCE
    274277DevicesR3_DEFS.l4      += _GNU_SOURCE
     
    301304        Audio/DevIchAc97.cpp \
    302305        Audio/DevSB16.cpp \
     306        Audio/DevIchIntelHDA.cpp \
     307        Audio/DevCodec.cpp \
    303308        PC/DevDMA.cpp \
    304309        PC/DevHPET.cpp \
     
    308313        Serial/DevSerial.cpp \
    309314        Parallel/DevParallel.cpp
    310 
    311 VBOX_DEV_HDA_SOURCES= \
    312         Audio/DevIchIntelHDA.cpp \
    313         Audio/DevCodec.cpp
    314 
    315 define def_vbox_audio_flags
    316 $(1)_DEFS += \
    317       $(if $(VBOX_WITH_AUDIO_FLEXIBLE_FORMAT),VBOX_WITH_AUDIO_FLEXIBLE_FORMAT,)
    318 endef
    319 
    320 DevicesR3_SOURCES += $(VBOX_DEV_HDA_SOURCES)
    321 
    322 $(foreach file,$(VBOX_DEV_HDA_SOURCES),$(eval $(call def_vbox_audio_flags, $(file))))
    323 
    324 
    325 ifdef VBOX_BIOS_DMI_FALLBACK
    326  DevicesR3_DEFS        += VBOX_BIOS_DMI_FALLBACK
    327 endif
    328315
    329316ifdef VBOX_WITH_E1000
     
    838825Storage/DrvHostDVD.cpp_SDKS.win = W2K3DDK
    839826Drivers_DEFS.win       += _WIN32_WINNT=0x0510
    840 Drivers_DEFS            = IN_IDE_R3
    841 ifdef VBOX_WITH_NETFLT
    842 Drivers_DEFS           += VBOX_WITH_NETFLT
    843 endif
    844 ifdef VBOX_WITH_INIP
    845 Drivers_DEFS           += VBOX_WITH_INIP
    846 endif
    847 ifdef VBOX_WITH_DRV_DISK_INTEGRITY
    848 Drivers_DEFS           += VBOX_WITH_DRV_DISK_INTEGRITY
    849 endif
     827Drivers_DEFS            = \
     828        IN_IDE_R3 \
     829        $(if $(VBOX_WITH_NETFLT),VBOX_WITH_NETFLT,) \
     830        $(if $(VBOX_WITH_INIP),VBOX_WITH_INIP,) \
     831        $(if $(VBOX_WITH_DRV_DISK_INTEGRITY),VBOX_WITH_DRV_DISK_INTEGRITY,) \
     832        $(if $(VBOX_WITH_AUDIO_FLEXIBLE_FORMAT),VBOX_WITH_AUDIO_FLEXIBLE_FORMAT,) \
    850833
    851834Drivers_INCS      := \
     
    853836        Network/slirp
    854837Drivers_SOURCES    = \
     838        Audio/audio.c \
     839        Audio/audiosniffer.c \
     840        Audio/mixeng.c \
     841        Audio/noaudio.c \
    855842        Input/DrvKeyboardQueue.cpp \
    856843        Input/DrvMouseQueue.cpp \
     
    873860        Network/Pcap.cpp
    874861
    875 VBOX_AUDIO_SOURCES = \
    876         Audio/audio.c \
    877         Audio/audiosniffer.c \
    878         Audio/mixeng.c \
    879         Audio/noaudio.c
    880 
    881 Drivers_SOURCES += $(VBOX_AUDIO_SOURCES)
    882 $(foreach file,$(VBOX_AUDIO_SOURCES),$(eval $(call def_vbox_audio_flags, $(file))))
    883 
    884862VBOX_SLIRP_SOURCES = \
    885863        Network/DrvNAT.cpp \
     
    890868        Network/slirp/ip_output.c \
    891869        Network/slirp/misc.c \
    892     Network/slirp/sbuf.c \
     870        Network/slirp/sbuf.c \
    893871        Network/slirp/slirp.c \
    894872        Network/slirp/socket.c \
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