VirtualBox

source: vbox/trunk/src/VBox/Installer/linux/install_service/Makefile.kmk@ 51287

Last change on this file since 51287 was 44092, checked in by vboxsync, 12 years ago

Installer/linux: clean up install_service.sh to put all scripts into bin/scripts and add a pattern rule to the installer for that directory.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1# $Id: Makefile.kmk 44092 2012-12-11 14:43:49Z vboxsync $
2## @file
3# Sub-Makefile for the Linux installer init file generator.
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
18SUB_DEPTH = ../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21#
22# generate_service_file
23#
24PROGRAMS.linux += generate_service_file
25
26generate_service_file_TEMPLATE = VBOXR3EXE
27generate_service_file_SOURCES = generate_service_file.cpp
28generate_service_file_INST = $(INST_BIN)helpers/
29generate_service_file_LIBS = $(LIB_RUNTIME)
30ifdef VBOX_WITH_RUNPATH
31 generate_service_file_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)'
32else ifdef VBOX_WITH_RELATIVE_RUNPATH
33 generate_service_file_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RELATIVE_RUNPATH)/..'
34endif
35
36INSTALLS.linux += linux-install-service-bin
37linux-install-service-bin_INST = bin/scripts/
38linux-install-service-bin_MODE = a+rx,u+w
39linux-install-service-bin_SOURCES = \
40 install_service.sh=>install_service
41
42INSTALLS.linux += linux-install-service-nobin
43linux-install-service-nobin_INST = bin/scripts/
44linux-install-service-nobin_MODE = a+r,u+w
45linux-install-service-nobin_SOURCES = \
46 init_template.sh
47
48include $(FILE_KBUILD_SUB_FOOTER)
49
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette