1 | # $Id: Makefile.kmk 93123 2022-01-04 04:08:02Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top-level makefile for src/VBox/Main/src-helper-apps/os2.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2022 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 | #
|
---|
22 | # OS/2 Unattended installation helper utility.
|
---|
23 | # This is checked in as a binary, this is just the makefile for re-builting it.
|
---|
24 | #
|
---|
25 | ifdef VBOX_WITH_OPEN_WATCOM
|
---|
26 | PROGRAMS += os2_util
|
---|
27 | endif
|
---|
28 | os2_util_TEMPLATE = DUMMY
|
---|
29 | os2_util_TOOL = OPENWATCOM-16
|
---|
30 | os2_util_ASTOOL = OPENWATCOM-16
|
---|
31 | os2_util_LDTOOL = OPENWATCOM-WL
|
---|
32 | os2_util_BLD_TRG = os2
|
---|
33 | os2_util_BLD_TRG_ARCH = x86
|
---|
34 | os2_util_EXESUFF = .exe
|
---|
35 | os2_util_INST = $(INST_UNATTENDED_TEMPLATES)
|
---|
36 | os2_util_MODE = a+r,u+w
|
---|
37 | os2_util_DEFS = IN_RING3
|
---|
38 | os2_util_CFLAGS = -zl -s -ml -os
|
---|
39 | os2_util_LDFLAGS = \
|
---|
40 | SYSTEM os2 \
|
---|
41 | OPTION START=_Os2UtilMain \
|
---|
42 | OPTION STACK=8192 \
|
---|
43 | OPTION HEAPSize=4096 \
|
---|
44 | OPTION MANYAUTODATA \
|
---|
45 | SEGMENT IOPL IOPL EXECUTEREAD
|
---|
46 | if 0
|
---|
47 | os2_util_LDFLAGS += Debug Watcom All
|
---|
48 | os2_util_CFLAGS += -d2 -hw
|
---|
49 | endif
|
---|
50 |
|
---|
51 | os2_util_INCS = $(PATH_TOOL_OPENWATCOM)/h/os21x
|
---|
52 | os2_util_SOURCES = os2_util.c os2_utilA.asm
|
---|
53 |
|
---|
54 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
55 |
|
---|