VirtualBox

Changeset 8758 in vbox for trunk/src/libs


Ignore:
Timestamp:
May 11, 2008 6:27:49 PM (17 years ago)
Author:
vboxsync
Message:

BUILD_TARGET* -> KBUILD_TARGET*.

Location:
trunk/src/libs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/Makefile.kmk

    r8155 r8758  
    2424
    2525
    26 subdirs := liblzf-1.51 $(subdirs.$(BUILD_TARGET))
     26subdirs := liblzf-1.51 $(subdirs.$(KBUILD_TARGET))
    2727ifdef IPRT_WITH_KSTUFF
    2828 subdirs += kStuff
     
    5757 # FFmpeg for test videos
    5858 ifdef VBOX_WITH_FFMPEG
    59   ifeq ($(BUILD_TARGET),darwin)
     59  ifeq ($(KBUILD_TARGET),darwin)
    6060   subdirs += ffmpeg-20060710
    6161  endif
  • trunk/src/libs/ffmpeg-20060710/Makefile.kmk

    r8155 r8758  
    2525DLLS                       = VBoxFFmpeg
    2626
    27 ifeq ($(BUILD_TARGET),win)
     27ifeq ($(KBUILD_TARGET),win)
    2828VBoxFFmpeg_TOOL.win.x86    = MINGW32
    2929#VBoxFFmpeg_TOOL.win.amd64  = MINGW64...
     
    302302# The import library for Windows builds.
    303303# The microsoft linker doesn't like the GNU import libraries from this MinGW version.
    304 # 
    305 ifeq ($(BUILD_TARGET),win)
     304#
     305ifeq ($(KBUILD_TARGET),win)
    306306IMPORT_LIBS += VBoxFFmpegImp
    307307VBoxFFmpegImp_TEMPLATE = VBOXR3
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r8155 r8758  
    7575                                     -fshort-wchar -fno-rtti -fno-exceptions -fpascal-strings \
    7676                                     -framework CoreServices -framework CoreFoundation -framework Foundation -framework AppKit -framework Carbon
    77 ifn1of ($(BUILD_TARGET), os2 win)
     77ifn1of ($(KBUILD_TARGET), os2 win)
    7878 TEMPLATE_XPCOM_CXXFLAGS          += -fPIC
    7979 TEMPLATE_XPCOM_CFLAGS            += -fPIC
     
    112112TEMPLATE_XPCOM_ORDERDEPS           = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $(TARGET_$(hdrinst))) \
    113113                                     $(PATH_VBox-xpcom-string)/idl_ts
    114 ifeq ($(BUILD_TARGET),os2)
     114ifeq ($(KBUILD_TARGET),os2)
    115115 ifndef USE_OS2_TOOLKIT_HEADERS
    116116  TEMPLATE_XPCOM_DEFS.os2         += OS2EMX_PLAIN_CHAR
     
    165165
    166166TEMPLATE_XPCOMBLDPROG_DEFS                      = $(TEMPLATE_BLDPROG_DEFS)                      $(TEMPLATE_XPCOMEXE_DEFS)
    167 TEMPLATE_XPCOMBLDPROG_DEFS.$(BUILD_TARGET)      = $(TEMPLATE_BLDPROG_DEFS.$(BUILD_TARGET))      $(TEMPLATE_XPCOMEXE_DEFS.$(BUILD_TARGET))
    168 TEMPLATE_XPCOMBLDPROG_DEFS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_BLDPROG_DEFS.$(BUILD_TARGET_ARCH)) $(TEMPLATE_XPCOMEXE_DEFS.$(BUILD_TARGET_ARCH))
     167TEMPLATE_XPCOMBLDPROG_DEFS.$(KBUILD_TARGET)      = $(TEMPLATE_BLDPROG_DEFS.$(KBUILD_TARGET))      $(TEMPLATE_XPCOMEXE_DEFS.$(KBUILD_TARGET))
     168TEMPLATE_XPCOMBLDPROG_DEFS.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_BLDPROG_DEFS.$(KBUILD_TARGET_ARCH)) $(TEMPLATE_XPCOMEXE_DEFS.$(KBUILD_TARGET_ARCH))
    169169TEMPLATE_XPCOMBLDPROG_CXXFLAGS          = -ansi -Wall -Wno-non-virtual-dtor
    170 TEMPLATE_XPCOMBLDPROG_CXXFLAGS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_CXXFLAGS.$(BUILD_TARGET_ARCH))
     170TEMPLATE_XPCOMBLDPROG_CXXFLAGS.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_CXXFLAGS.$(KBUILD_TARGET_ARCH))
    171171TEMPLATE_XPCOMBLDPROG_CXXFLAGS.release  = -O
    172172TEMPLATE_XPCOMBLDPROG_CXXFLAGS.profile  = -O
     
    174174TEMPLATE_XPCOMBLDPROG_CXXFLAGS.linux    = -pthread
    175175TEMPLATE_XPCOMBLDPROG_CFLAGS            = -pipe -ansi -Wall -Wno-unused
    176 TEMPLATE_XPCOMBLDPROG_CFLAGS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_CFLAGS.$(BUILD_TARGET_ARCH))
     176TEMPLATE_XPCOMBLDPROG_CFLAGS.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_CFLAGS.$(KBUILD_TARGET_ARCH))
    177177TEMPLATE_XPCOMBLDPROG_CFLAGS.release    = -O
    178178TEMPLATE_XPCOMBLDPROG_CFLAGS.profile    = -O
     
    185185                                          $(VBOX_PATH_SDK)/include/xpcom/xpcom \
    186186                                          $(VBOX_PATH_SDK)/include/xpcom/ipcd
    187 TEMPLATE_XPCOMBLDPROG_INCS.$(BUILD_TARGET)         = $(TEMPLATE_XPCOMEXE_INCS.$(BUILD_TARGET))
    188 TEMPLATE_XPCOMBLDPROG_INCS.$(BUILD_TARGET_ARCH)    = $(TEMPLATE_XPCOMEXE_INCS.$(BUILD_TARGET_ARCH))
    189 TEMPLATE_XPCOMBLDPROG_LIBPATH.$(BUILD_TARGET)      = $(TEMPLATE_XPCOMEXE_LIBPATH.$(BUILD_TARGET))
    190 TEMPLATE_XPCOMBLDPROG_LIBPATH.$(BUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_LIBPATH.$(BUILD_TARGET_ARCH))
    191 TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(BUILD_TARGET)      = $(TEMPLATE_XPCOMEXE_LDFLAGS.$(BUILD_TARGET))
    192 TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_LDFLAGS.$(BUILD_TARGET_ARCH))
     187TEMPLATE_XPCOMBLDPROG_INCS.$(KBUILD_TARGET)         = $(TEMPLATE_XPCOMEXE_INCS.$(KBUILD_TARGET))
     188TEMPLATE_XPCOMBLDPROG_INCS.$(KBUILD_TARGET_ARCH)    = $(TEMPLATE_XPCOMEXE_INCS.$(KBUILD_TARGET_ARCH))
     189TEMPLATE_XPCOMBLDPROG_LIBPATH.$(KBUILD_TARGET)      = $(TEMPLATE_XPCOMEXE_LIBPATH.$(KBUILD_TARGET))
     190TEMPLATE_XPCOMBLDPROG_LIBPATH.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_LIBPATH.$(KBUILD_TARGET_ARCH))
     191TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(KBUILD_TARGET)      = $(TEMPLATE_XPCOMEXE_LDFLAGS.$(KBUILD_TARGET))
     192TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_LDFLAGS.$(KBUILD_TARGET_ARCH))
    193193TEMPLATE_XPCOMBLDPROG_ORDERDEPS         = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $(TARGET_$(hdrinst)))
    194194
     
    272272PROGRAMS += VBoxXPCOMIPCD
    273273
    274 ifeq ($(BUILD_TARGET),linux)
     274ifeq ($(KBUILD_TARGET),linux)
    275275 XPCOM_TYPELIB = $(PATH_BIN)/VBoxXPCOMBase.xpt
    276276else
     
    577577        xpcom/typelib/xpt/src/xpt_xdr.c
    578578
    579 ifeq ($(BUILD_TARGET),os2)
     579ifeq ($(KBUILD_TARGET),os2)
    580580 # glib and libIDL needed by XPCOM on OS/2.
    581581 ifeq ($(VBOX_PATH_GLIB),)
     
    737737        nsprpub/lib/libc/src/plgetopt.c
    738738
    739 ifeq ($(filter-out darwin freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # unixish
     739ifeq ($(filter-out darwin freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # unixish
    740740VBox-xpcom-nspr_SOURCES += \
    741741        nsprpub/pr/src/md/unix/unix.c \
     
    935935VBox-xpcom-io_SOURCES.l4 = \
    936936        xpcom/io/nsLocalFileL4.cpp
    937 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),)
     937ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),)
    938938VBox-xpcom-io_SOURCES += \
    939939        xpcom/io/nsLocalFileUnix.cpp
     
    11011101        $(TARGET_VBoxXPCOMGlue_s)
    11021102
    1103 ifeq ($(filter-out freebsd l4 linux netbsd openbsd,$(BUILD_TARGET)),) # gnu ld.
     1103ifeq ($(filter-out freebsd l4 linux netbsd openbsd,$(KBUILD_TARGET)),) # gnu ld.
    11041104VBoxXPCOM_LDFLAGS = -Wl,--whole-archive \
    11051105        $(TARGET_VBox-xpcom-typelib) \
     
    11491149TEMPLATE_XPCOMIPC_EXTENDS          = XPCOM
    11501150TEMPLATE_XPCOMIPC_DEFS             = $(TEMPLATE_XPCOM_DEFS) BUILD_DCONNECT="1"
    1151 ifeq ($(filter-out win os2,$(BUILD_TARGET)),)
     1151ifeq ($(filter-out win os2,$(KBUILD_TARGET)),)
    11521152 TEMPLATE_XPCOMIPC_DEFS           += IPC_DAEMON_APP_NAME=\"VBoxXPCOMIPCD.exe\"
    11531153else
     
    12081208VBoxXPCOMIPCC_TEMPLATE = XPCOMIPC
    12091209VBoxXPCOMIPCC_NAME.os2 = VBoxIPCC
    1210 ifneq ($(BUILD_TARGET),linux)
     1210ifneq ($(KBUILD_TARGET),linux)
    12111211VBoxXPCOMIPCC_INST = $(INST_BIN)components/
    12121212endif
     
    12171217        ipc/ipcd/client/src/ipcModuleFactory.cpp \
    12181218        ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp
    1219 ifeq ($(BUILD_TARGET),win)
     1219ifeq ($(KBUILD_TARGET),win)
    12201220VBoxXPCOMIPCC_SOURCES += \
    12211221        ipc/ipcd/client/src/ipcConnectionWin.cpp
     
    12411241        ipc/ipcd/daemon/src/ipcModuleReg.cpp \
    12421242        ipc/ipcd/daemon/src/ipcCommandModule.cpp
    1243 ifeq ($(BUILD_TARGET),win)
     1243ifeq ($(KBUILD_TARGET),win)
    12441244VBoxXPCOMIPCD_SOURCES += \
    12451245        ipc/ipcd/daemon/src/ipcdWin.cpp
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