| 81 | | |
|---|
| 82 | | else # !VBOX_SINGLE_MAKEFILE |
|---|
| 83 | | DEPTH = ../.. |
|---|
| 84 | | include $(KBUILD_PATH)/header.kmk |
|---|
| 85 | | |
|---|
| 86 | | subdirs := liblzf-1.51 $(subdirs.$(KBUILD_TARGET)) |
|---|
| 87 | | |
|---|
| 88 | | ifdef IPRT_WITH_KSTUFF |
|---|
| 89 | | subdirs += kStuff |
|---|
| 90 | | endif |
|---|
| 91 | | # @todo win and os2 need that even in OSE, all others should set proper *_INCS |
|---|
| 92 | | # values by the configure script |
|---|
| 93 | | #ifndef VBOX_OSE |
|---|
| 94 | | ifeq ($(SDK_VBOX_ZLIB_INCS),$(PATH_ROOT)/src/libs/zlib-1.2.1) |
|---|
| 95 | | subdirs += zlib-1.2.1 |
|---|
| 96 | | endif |
|---|
| 97 | | ifeq ($(SDK_VBOX_LIBPNG_INCS),$(PATH_ROOT)/src/libs/libpng-1.2.8) |
|---|
| 98 | | subdirs += libpng-1.2.8 |
|---|
| 99 | | endif |
|---|
| 100 | | #endif # !VBOX_OSE |
|---|
| 101 | | ifdef VBOX_WITH_VRDP |
|---|
| 102 | | ifeq ($(SDK_VBOX_OPENSSL_INCS),$(SDK_VBOX_OPENSSL_DEFAULT_INCS)) |
|---|
| 103 | | subdirs += openssl-0.9.8h |
|---|
| 104 | | endif |
|---|
| 105 | | endif |
|---|
| 106 | | ifdef VBOX_WITH_MAIN |
|---|
| 107 | | ifdef VBOX_WITH_XPCOM |
|---|
| 108 | | subdirs += xpcom18a4 |
|---|
| 109 | | endif |
|---|
| 110 | | # Only build libxml2 if we don't use an external library. |
|---|
| 111 | | ifeq ($(SDK_VBOX_LIBXML2_INCS),$(PATH_ROOT)/src/libs/libxml2-2.6.30/include) |
|---|
| 112 | | subdirs += libxml2-2.6.30 |
|---|
| 113 | | endif |
|---|
| 114 | | # Only build libxslt if we don't use an external library. |
|---|
| 115 | | ifeq ($(SDK_VBOX_LIBXSLT_INCS),$(PATH_ROOT)/src/libs/libxslt-1.1.22) |
|---|
| 116 | | subdirs += libxslt-1.1.22 |
|---|
| 117 | | endif |
|---|
| 118 | | # FFmpeg for test videos |
|---|
| 119 | | ifndef VBOX_OSE |
|---|
| 120 | | ifdef VBOX_WITH_FFMPEG |
|---|
| 121 | | if1of ($(KBUILD_TARGET), darwin linux) |
|---|
| 122 | | subdirs += ffmpeg-20060710 |
|---|
| 123 | | endif |
|---|
| 124 | | endif |
|---|
| 125 | | endif |
|---|
| 126 | | endif |
|---|
| 127 | | |
|---|
| 128 | | ifdef VBOX_ONLY_DOCS |
|---|
| 129 | | subdirs := $(filter liblzf-1.51 zlib-1.2.1 kStuff, $(subdirs)) |
|---|
| 130 | | endif |
|---|
| 131 | | |
|---|
| 132 | | ifdef VBOX_ONLY_SDK |
|---|
| 133 | | subdirs := $(filter-out liblzf-1.51 zlib-1.2.1 libpng-1.2.8 openssl-0.9.7e openssl-0.9.8h ffmpeg-20060710, $(subdirs)) |
|---|
| 134 | | endif |
|---|
| 135 | | |
|---|
| 136 | | # optimized walking |
|---|
| 137 | | SUBDIRS_BLDPROGS = $(filter xpcom18a4,$(subdirs)) |
|---|
| 138 | | SUBDIRS_LIBRARIES = $(subdirs) |
|---|
| 139 | | SUBDIRS_BINARIES = $(filter xpcom18a4,$(subdirs)) |
|---|
| 140 | | SUBDIRS_DLLS = $(filter xpcom18a4 ffmpeg-20060710,$(subdirs)) |
|---|
| 141 | | SUBDIRS_OTHERS = $(filter xpcom18a4,$(subdirs)) |
|---|
| 142 | | SUBDIRS_INSTALLS = $(filter xpcom18a4,$(subdirs)) |
|---|
| 143 | | SUBDIRS_CLEAN = $(subdirs) |
|---|
| 144 | | SUBDIRS_NOTHING = $(subdirs) |
|---|
| 145 | | |
|---|
| 146 | | include $(KBUILD_PATH)/footer.kmk |
|---|
| 147 | | endif # !VBOX_SINGLE_MAKEFILE |
|---|
| 148 | | |
|---|