VirtualBox

source: vbox/trunk/src/Makefile.kmk@ 16560

Last change on this file since 16560 was 14158, checked in by vboxsync, 16 years ago

src,src/VBox: makefile fix.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
RevLine 
[2478]1# $Id: Makefile.kmk 14158 2008-11-13 02:53:38Z vboxsync $
2## @file
3# Top-level makefile for the src directory.
[1]4#
5
6#
[8155]7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
[5999]8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
[8155]17# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
[1]21
[10189]22SUB_DEPTH = ..
23include $(KBUILD_PATH)/subheader.kmk
24
[14158]25ifdef VBOX_SINGLE_MAKEFILE
26
[10189]27ifdef VBOX_ONLY_ADDITIONS
28 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
[11809]29
[12245]30else if defined(VBOX_ONLY_DOCS) || defined(VBOX_ONLY_SDK)
[10189]31 include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
32 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
33 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
[11809]34
[12245]35else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS && !VBOX_ONLY_SDK
[11809]36 include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
37 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
38 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
[13143]39 ifdef VBOX_WITH_NEW_RECOMPILER
40 include $(PATH_SUB_CURRENT)/recompiler_new/Makefile.kmk
41 else
42 include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk
43 endif
[10191]44 ifneq ($(wildcard $(PATH_SUB_CURRENT)/apps),)
[10189]45 include $(PATH_SUB_CURRENT)/apps/Makefile.kmk
46 endif
47 ifdef VBOX_WITH_TESTSUITE
48 include $(PATH_SUB_CURRENT)/tests/Makefile.kmk
49 endif
50 ifdef VBOX_WITH_TESTCASES
51 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
52 endif
[11809]53endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS && !VBOX_ONLY_SDK
[10189]54
55else # !VBOX_SINGLE_MAKEFILE
[1]56DEPTH = ..
[8760]57include $(KBUILD_PATH)/header.kmk
[1]58
[6005]59ifdef VBOX_ONLY_ADDITIONS
60 SUBDIRS = VBox
[1]61
[11809]62else ifdef VBOX_ONLY_DOCS
63 SUBDIRS = VBox/Runtime bldprogs libs VBox
64
65else ifdef VBOX_ONLY_SDK
66 SUBDIRS = bldprogs libs VBox
67
[6005]68else # !VBOX_ONLY_ADDITIONS
[11593]69 # Build IPRT first because xpcom (IPC, nspr, python) depends on it.
[14158]70 SUBDIRS = VBox/Runtime bldprogs libs VBox
[13143]71
72 ifdef VBOX_WITH_NEW_RECOMPILER
[13230]73 SUBDIRS += recompiler_new
[13143]74 else
75 SUBDIRS += recompiler
76 endif
[11809]77 ifneq ($(wildcard apps),)
78 SUBDIRS += apps
[6004]79 endif
[11809]80 ifdef VBOX_WITH_TESTSUITE
81 SUBDIRS += tests
[11703]82 endif
[11809]83 ifdef VBOX_WITH_TESTCASES
84 SUBDIRS += testcase
85 endif
[6004]86endif # !VBOX_ONLY_ADDITIONS
[1]87
[10189]88endif # !VBOX_SINGLE_MAKEFILE
89
[14158]90include $(KBUILD_PATH)/subfooter.kmk
91
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use