1 | # $Id: Makefile.kmk 44057 2012-12-06 17:07:25Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the VBox Linux installer testcase.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2012 Oracle Corporation
|
---|
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 | #
|
---|
17 |
|
---|
18 | SUB_DEPTH = ../../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | INSTALLS += tstInstallerLinux
|
---|
22 | TESTING += tstInstallerLinux
|
---|
23 | tstInstallerLinux_INST = $(INST_TESTCASE)
|
---|
24 | tstInstallerLinux_MODE = a+rx,u+w
|
---|
25 | tstInstallerLinux_SOURCES = $(tstInstallerLinux_0_OUTDIR)/tstInstallerLinux.sh
|
---|
26 | tstInstallerLinux_CLEAN = $(tstInstallerLinux_0_OUTDIR)/tstInstallerLinux.sh
|
---|
27 |
|
---|
28 | $$(tstInstallerLinux_0_OUTDIR)/tstInstallerLinux.sh: \
|
---|
29 | $(PATH_SUB_CURRENT)/tstInstallerLinux.sh \
|
---|
30 | $(PATH_SUB_CURRENT)/../installer-common.sh \
|
---|
31 | | $$(dir $$@)
|
---|
32 | $(QUIET)$(SED) \
|
---|
33 | -e '/#include installer-common.sh/ {' \
|
---|
34 | -e "r $(PATH_ROOT)/src/VBox/Installer/linux/installer-common.sh" \
|
---|
35 | -e 'd' \
|
---|
36 | -e '}' \
|
---|
37 | --output $@ \
|
---|
38 | $<
|
---|
39 | $(QUIET)$(CHMOD) a+rx,u+w $@
|
---|
40 |
|
---|
41 | INSTALLS += tstHeadlessXOrg
|
---|
42 | TESTING += tstHeadlessXOrg
|
---|
43 | tstHeadlessXOrg_INST = $(INST_TESTCASE)
|
---|
44 | tstHeadlessXOrg_MODE = a+rx,u+w
|
---|
45 | tstHeadlessXOrg_SOURCES = tstHeadlessXOrg.sh
|
---|
46 |
|
---|
47 | INSTALLS += tstInstallInit
|
---|
48 | TESTING += tstInstallInit
|
---|
49 | tstInstallInit_INST = $(INST_TESTCASE)
|
---|
50 | tstInstallInit_MODE = a+rx,u+w
|
---|
51 | tstInstallInit_SOURCES = tstInstallInit.sh
|
---|
52 |
|
---|
53 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|