VirtualBox

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

Last change on this file since 53349 was 51893, checked in by vboxsync, 10 years ago

VBoxNetDHCP: Icon.

  • 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 51893 2014-07-06 22:04:12Z 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_SOURCES.win = $(VBoxNetDHCP_0_OUTDIR)/VBoxNetDHCP-icon.rc
38VBoxNetDHCPHardened_NAME = VBoxNetDHCP
39VBoxNetDHCPHardened_LDFLAGS.win = /SUBSYSTEM:windows
40
41
42#
43# VBoxNetDHCP
44#
45VBoxNetDHCP_TEMPLATE := VBOX$(if-expr defined(VBOX_WITH_HARDENING),MAINDLL,MAINCLIENTEXE)
46VBoxNetDHCP_SOURCES = \
47 VBoxNetDHCP.cpp \
48 Config.cpp \
49 NetworkManagerDhcp.cpp \
50 ../NetLib/VBoxNetIntIf.cpp \
51 ../NetLib/VBoxNetUDP.cpp \
52 ../NetLib/VBoxNetARP.cpp \
53 ../NetLib/VBoxNetBaseService.cpp \
54 ../NetLib/ComHostUtils.cpp
55VBoxNetDHCP_LIBS = \
56 $(LIB_RUNTIME)
57VBoxNetDHCP_LDFLAGS.win = /SUBSYSTEM:windows
58
59# Icon include file.
60VBoxNetDHCP_SOURCES.win += $(VBoxNetDHCP_0_OUTDIR)/VBoxNetDHCP-icon.rc
61VBoxNetDHCP_CLEAN.win += $(VBoxNetDHCP_0_OUTDIR)/VBoxNetDHCP-icon.rc
62$$(VBoxNetDHCP_0_OUTDIR)/VBoxNetDHCP-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $$(VBoxNetDHCP_DEFPATH)/Makefile.kmk | $$(dir $$@)
63 $(RM) -f $@
64 $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
65
66
67
68include $(FILE_KBUILD_SUB_FOOTER)
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