VirtualBox

source: vbox/trunk/src/VBox/Main/src-helper-apps/os2/Makefile.kmk@ 96407

Last change on this file since 96407 was 96407, checked in by vboxsync, 2 years ago

scm copyright and license note update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1# $Id: Makefile.kmk 96407 2022-08-22 17:43:14Z vboxsync $
2## @file
3# Top-level makefile for src/VBox/Main/src-helper-apps/os2.
4#
5
6#
7# Copyright (C) 2022 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31#
32# OS/2 Unattended installation helper utility.
33# This is checked in as a binary, this is just the makefile for re-builting it.
34#
35ifdef VBOX_WITH_OPEN_WATCOM
36 PROGRAMS += os2_util
37endif
38os2_util_TEMPLATE = DUMMY
39os2_util_TOOL = OPENWATCOM-16
40os2_util_ASTOOL = OPENWATCOM-16
41os2_util_LDTOOL = OPENWATCOM-WL
42os2_util_BLD_TRG = os2
43os2_util_BLD_TRG_ARCH = x86
44os2_util_EXESUFF = .exe
45os2_util_INST = $(INST_UNATTENDED_TEMPLATES)
46os2_util_MODE = a+r,u+w
47os2_util_DEFS = IN_RING3
48os2_util_CFLAGS = -zl -s -ml -os
49os2_util_LDFLAGS = \
50 SYSTEM os2 \
51 OPTION START=_Os2UtilMain \
52 OPTION STACK=8192 \
53 OPTION HEAPSize=4096 \
54 OPTION NEWFile \
55 OPTION PROTmode \
56 SEGMENT IOPL IOPL EXECUTEREAD
57if 0
58os2_util_LDFLAGS += Debug Watcom All
59os2_util_CFLAGS += -d2 -hw
60endif
61
62os2_util_INCS = $(PATH_TOOL_OPENWATCOM)/h/os21x
63os2_util_SOURCES = os2_util.c os2_utilA.asm
64
65include $(FILE_KBUILD_SUB_FOOTER)
66
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