VirtualBox

source: vbox/trunk/src/VBox/NetworkServices/DHCP/Makefile.kmk@ 48030

Last change on this file since 48030 was 47025, checked in by vboxsync, 11 years ago

Windows build fix.

  • 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 47025 2013-07-06 20:25:21Z vboxsync $
2## @file
3# Sub-Makefile for VBoxNetDHCP.
4#
5
6#
7# Copyright (C) 2009-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# Targets.
23#
24ifdef VBOX_WITH_HARDENING
25 PROGRAMS += VBoxNetDHCPHardened
26 DLLS += VBoxNetDHCP
27else
28 PROGRAMS += VBoxNetDHCP
29endif
30
31
32#
33# Hardened VBoxNetDHCP.
34#
35VBoxNetDHCPHardened_TEMPLATE = VBOXR3HARDENEDEXE
36VBoxNetDHCPHardened_SOURCES = VBoxNetDHCPHardened.cpp
37VBoxNetDHCPHardened_NAME = VBoxNetDHCP
38
39
40#
41# VBoxNetDHCP
42#
43VBoxNetDHCP_TEMPLATE := VBOX$(if-expr defined(VBOX_WITH_HARDENING),MAINDLL,MAINCLIENTEXE)
44VBoxNetDHCP_SOURCES = \
45 VBoxNetDHCP.cpp \
46 Config.cpp \
47 ../NetLib/VBoxNetIntIf.cpp \
48 ../NetLib/VBoxNetUDP.cpp \
49 ../NetLib/VBoxNetARP.cpp \
50 ../NetLib/VBoxNetBaseService.cpp
51VBoxNetDHCP_LIBS = \
52 $(LIB_RUNTIME)
53VBoxNetDHCP_LDFLAGS.win = /SUBSYSTEM:windows
54
55ifeq ($(USERNAME),vvl)
56PROGRAMS += tstDhcpConfig
57
58#
59# VBOXMAINCLIENT here only to use DhcpOpt_T type.
60tstDhcpConfig_TEMPLATE = VBOXMAINCLIENTEXE
61#XXX: enable condtionally if user is vvl
62#tstDhcpConfig_INSTTYPE = none
63tstDhcpConfig_SOURCES = test/tstDhcpConfig.cpp \
64 Config.cpp
65endif
66
67
68include $(FILE_KBUILD_SUB_FOOTER)
69
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