# $Id: Makefile.kmk 93126 2022-01-05 01:04:16Z vboxsync $ ## @file # Top-level makefile for src/VBox/Main/src-helper-apps/os2. # # # Copyright (C) 2022 Oracle Corporation # # This file is part of VirtualBox Open Source Edition (OSE), as # available from http://www.virtualbox.org. This file is free software; # you can redistribute it and/or modify it under the terms of the GNU # General Public License (GPL) as published by the Free Software # Foundation, in version 2 as it comes in the "COPYING" file of the # VirtualBox OSE distribution. VirtualBox OSE is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. # SUB_DEPTH = ../../../../.. include $(KBUILD_PATH)/subheader.kmk # # OS/2 Unattended installation helper utility. # This is checked in as a binary, this is just the makefile for re-builting it. # ifdef VBOX_WITH_OPEN_WATCOM PROGRAMS += os2_util endif os2_util_TEMPLATE = DUMMY os2_util_TOOL = OPENWATCOM-16 os2_util_ASTOOL = OPENWATCOM-16 os2_util_LDTOOL = OPENWATCOM-WL os2_util_BLD_TRG = os2 os2_util_BLD_TRG_ARCH = x86 os2_util_EXESUFF = .exe os2_util_INST = $(INST_UNATTENDED_TEMPLATES) os2_util_MODE = a+r,u+w os2_util_DEFS = IN_RING3 os2_util_CFLAGS = -zl -s -ml -os os2_util_LDFLAGS = \ SYSTEM os2 \ OPTION START=_Os2UtilMain \ OPTION STACK=8192 \ OPTION HEAPSize=4096 \ OPTION NEWFile \ OPTION PROTmode \ SEGMENT IOPL IOPL EXECUTEREAD if 0 os2_util_LDFLAGS += Debug Watcom All os2_util_CFLAGS += -d2 -hw endif os2_util_INCS = $(PATH_TOOL_OPENWATCOM)/h/os21x os2_util_SOURCES = os2_util.c os2_utilA.asm include $(FILE_KBUILD_SUB_FOOTER)