summaryrefslogtreecommitdiff
path: root/kBuild/rules.kmk
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2012-10-26 16:25:44 +0000
committer <>2012-11-12 12:15:52 +0000
commit58ed4748338f9466599adfc8a9171280ed99e23f (patch)
tree02027d99ded4fb56a64aa9489ac2eb487e7858ab /kBuild/rules.kmk
downloadVirtualBox-58ed4748338f9466599adfc8a9171280ed99e23f.tar.gz
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.2.4.tar.bz2.VirtualBox-4.2.4
Diffstat (limited to 'kBuild/rules.kmk')
-rw-r--r--kBuild/rules.kmk44
1 files changed, 44 insertions, 0 deletions
diff --git a/kBuild/rules.kmk b/kBuild/rules.kmk
new file mode 100644
index 00000000..6d5ecf6e
--- /dev/null
+++ b/kBuild/rules.kmk
@@ -0,0 +1,44 @@
+# $Id: rules.kmk 2413 2010-09-11 17:43:04Z bird $
+## @file
+# kBuild - File included at top of makefile.
+#
+
+#
+# Copyright (c) 2004-2010 knut st. osmundsen <bird-kBuild-spamx@anduin.net>
+#
+# This file is part of kBuild.
+#
+# kBuild is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# kBuild is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with kBuild; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+#
+# As a special exception you are granted permission to include this file, via
+# the kmk include directive, as you wish without this in itself causing the
+# resulting makefile, program or whatever to be covered by the GPL license.
+# This exception does not however invalidate any other reasons why the makefile,
+# program, whatever should not be covered the GPL.
+#
+#
+
+ifdef PATH_KBUILD
+# Usual location.
+include $(PATH_KBUILD)/header.kmk
+else
+# Default location.
+include $(DEPTH)/kBuild/header.kmk
+endif
+
+# PATH_KBUILD is defined now.
+include $(PATH_KBUILD)/footer.kmk
+