VirtualBox

Changeset 12200 in vbox for trunk/src/libs


Ignore:
Timestamp:
Sep 8, 2008 3:19:58 AM (16 years ago)
Author:
vboxsync
Message:

libs/Makefile: switch the src/libs tree to sub-makefile style.

File:
1 edited

Legend:

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

    r12195 r12200  
    2020#
    2121
    22 ifdef VBOX_SINGLE_MAKEFILE
     22if 1 #def VBOX_SINGLE_MAKEFILE
    2323SUB_DEPTH = ../..
    2424include $(KBUILD_PATH)/subheader.kmk
     
    3232# Compression libs used by IPRT and <what was it again?>.
    3333include $(PATH_SUB_CURRENT)/liblzf-1.51/Makefile.kmk
    34 ifeq ($(SDK_VBOX_ZLIB_INCS),$(PATH_ROOT)/src/libs/zlib-1.2.1)
    35  include $(PATH_SUB_CURRENT)/zlib-1.2.1/Makefile.kmk
     34if !defined(VBOX_ONLY_SDK)
     35 ifeq ($(SDK_VBOX_ZLIB_INCS),$(PATH_ROOT)/src/libs/zlib-1.2.1)
     36  include $(PATH_SUB_CURRENT)/zlib-1.2.1/Makefile.kmk
     37 endif
    3638endif
    3739
    3840# PNG support (for screenshots).
    39 ifndef VBOX_ONLY_DOCS
     41if !defined(VBOX_ONLY_DOCS) && !defined(VBOX_ONLY_SDK)
    4042 ifeq ($(SDK_VBOX_LIBPNG_INCS),$(PATH_ROOT)/src/libs/libpng-1.2.8)
    4143  include $(PATH_SUB_CURRENT)/libpng-1.2.8/Makefile.kmk
     
    4951
    5052# OpenSSL for VRDP.
    51 ifndef VBOX_ONLY_DOCS
    52  ifdef VBOX_WITH_VRDP
    53   ifeq ($(SDK_VBOX_OPENSSL_INCS),$(SDK_VBOX_OPENSSL_DEFAULT_INCS))
    54    include $(PATH_SUB_CURRENT)/openssl-0.9.8h/Makefile.kmk
    55   endif
    56  endif #  VBOX_WITH_VRDP
    57 endif # !VBOX_ONLY_DOCS
     53if defined(VBOX_WITH_VRDP) && !defined(VBOX_ONLY_DOCS) && !defined(VBOX_ONLY_SDK)
     54 ifeq ($(SDK_VBOX_OPENSSL_INCS),$(SDK_VBOX_OPENSSL_DEFAULT_INCS))
     55  include $(PATH_SUB_CURRENT)/openssl-0.9.8h/Makefile.kmk
     56 endif
     57endif
    5858
    5959
    6060# Main related things - XML and XSLT, XPCOM.
    61 ifndef VBOX_ONLY_DOCS
    62  ifdef VBOX_WITH_MAIN
    63   ifdef VBOX_WITH_XPCOM
    64    include $(PATH_SUB_CURRENT)/xpcom18a4/Makefile.kmk
    65   endif
    66   ifeq ($(SDK_VBOX_LIBXML2_INCS),$(PATH_ROOT)/src/libs/libxml2-2.6.30/include)
    67    include $(PATH_SUB_CURRENT)/libxml2-2.6.30/Makefile.kmk
    68   endif
    69   ifeq ($(SDK_VBOX_LIBXSLT_INCS),$(PATH_ROOT)/src/libs/libxslt-1.1.22)
    70    include $(PATH_SUB_CURRENT)/libxslt-1.1.22/Makefile.kmk
    71   endif
     61if defined(VBOX_WITH_MAIN) && !defined(VBOX_ONLY_DOCS)
    7262
    73   # FFmpeg for test videos.
    74   ifndef VBOX_OSE
    75    ifdef VBOX_WITH_FFMPEG
    76     if1of ($(KBUILD_TARGET), darwin)
    77      include $(PATH_SUB_CURRENT)/ffmpeg-20060710/Makefile.kmk
    78     endif
    79    endif
     63 ifdef VBOX_WITH_XPCOM
     64  include $(PATH_SUB_CURRENT)/xpcom18a4/Makefile.kmk
     65 endif
     66 ifeq ($(SDK_VBOX_LIBXML2_INCS),$(PATH_ROOT)/src/libs/libxml2-2.6.30/include)
     67  include $(PATH_SUB_CURRENT)/libxml2-2.6.30/Makefile.kmk
     68 endif
     69 ifeq ($(SDK_VBOX_LIBXSLT_INCS),$(PATH_ROOT)/src/libs/libxslt-1.1.22)
     70  include $(PATH_SUB_CURRENT)/libxslt-1.1.22/Makefile.kmk
     71 endif
     72
     73 # FFmpeg for test videos.
     74 if defined(VBOX_WITH_FFMPEG) && !defined(VBOX_OSE) && !defined(VBOX_WITH_SDK)
     75  if1of ($(KBUILD_TARGET), darwin)
     76   include $(PATH_SUB_CURRENT)/ffmpeg-20060710/Makefile.kmk
    8077  endif
    8178 endif
    82 endif
     79
     80endif # VBOX_WITH_MAIN && !VBOX_ONLY_DOCS
    8381
    8482include $(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