VirtualBox

Changeset 62765 in vbox


Ignore:
Timestamp:
Jul 31, 2016 2:49:45 PM (8 years ago)
Author:
vboxsync
Message:

More makefile nits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/Makefile.kmk

    r62764 r62765  
    2727 endif
    2828
    29  ifdef VBOX_WITH_HARDENING
    30   PROGRAMS += VBoxNetLwipNATHardened
    31   DLLS += VBoxNetLwipNAT
    32  else
    33   PROGRAMS += VBoxNetLwipNAT
    34  endif
    3529
    3630 ifdef VBOX_WITH_HARDENING
     31  #
     32  # Hardened stub exe for VBoxNetLwipNAT.
     33  #
     34  PROGRAMS += VBoxNetLwipNATHardened
    3735  VBoxNetLwipNATHardened_TEMPLATE = VBOXR3HARDENEDEXE
    3836  VBoxNetLwipNATHardened_NAME     = VBoxNetNAT
     
    4341 endif
    4442
     43
     44 #
     45 # VBoxNetLwipNAT.
     46 #
     47 ifdef VBOX_WITH_HARDENING
     48  DLLS += VBoxNetLwipNAT
     49 else
     50  PROGRAMS += VBoxNetLwipNAT
     51 endif
    4552 VBoxNetLwipNAT_TEMPLATE := VBOXMAIN$(if-expr defined(VBOX_WITH_HARDENING),DLL,CLIENTEXE)
    4653 VBoxNetLwipNAT_NAME = VBoxNetNAT
     
    4956 VBoxNetLwipNAT_DEFS.win += VBOX_COM_OUTOFPROC_MODULE _WIN32_WINNT=0x501 # Windows XP
    5057 VBoxNetLwipNAT_SOURCES += VBoxNetLwipNAT.cpp   \
    51         $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetBaseService.cpp \
    52         $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetPortForwardString.cpp \
    53         $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetIntIf.cpp \
    54         $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetUDP.cpp \
    55         $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetARP.cpp \
    56         $(VBOX_PATH_NAT_SRC)/../NetLib/ComHostUtils.cpp
     58        $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetBaseService.cpp \
     59        $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetPortForwardString.cpp \
     60        $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetIntIf.cpp \
     61        $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetUDP.cpp \
     62        $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetARP.cpp \
     63        $(VBOX_PATH_NAT_SRC)/../NetLib/ComHostUtils.cpp
    5764
    5865 VBoxNetLwipNAT_LIBS = \
    59         $(LIB_RUNTIME)
     66        $(LIB_RUNTIME)
    6067 VBoxNetLwipNAT_LIBS.solaris += socket nsl
    6168 VBoxNetLwipNAT_LDFLAGS.win = /SUBSYSTEM:windows
     
    8996
    9097 VBoxNetLwipNAT_SOURCES += \
    91      proxy_pollmgr.c \
    92      proxy_rtadvd.c \
    93      proxy.c \
    94      pxremap.c \
    95      pxtcp.c \
    96      pxudp.c \
    97      pxdns.c \
    98      fwtcp.c \
    99      fwudp.c \
    100      portfwd.c \
    101      proxy_dhcp6ds.c \
    102      proxy_tftpd.c
     98        proxy_pollmgr.c \
     99        proxy_rtadvd.c \
     100        proxy.c \
     101        pxremap.c \
     102        pxtcp.c \
     103        pxudp.c \
     104        pxdns.c \
     105        fwtcp.c \
     106        fwudp.c \
     107        portfwd.c \
     108        proxy_dhcp6ds.c \
     109        proxy_tftpd.c
    103110
    104111 ifeq ($(KBUILD_TARGET),win)
     
    125132
    126133 VBoxNetLwipNAT_SOURCES.win += \
    127      RTWinPoll.cpp \
    128      RTWinSocketPair.cpp
     134        RTWinPoll.cpp \
     135        RTWinSocketPair.cpp
    129136
    130137 VBoxNetLwipNAT_INCS += . # for lwipopts.h
    131  $(eval $(call def_vbox_lwip_public, \
    132      VBoxNetLwipNAT, $(PATH_SUB_CURRENT)/../../Devices/Network/lwip-new))
     138 $(eval $(call def_vbox_lwip_public, VBoxNetLwipNAT, $(PATH_SUB_CURRENT)/../../Devices/Network/lwip-new))
    133139
    134140 ifeq ($(KBUILD_TARGET),win)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette