64 lines
1.3 KiB
Plaintext
64 lines
1.3 KiB
Plaintext
TARGETNAME=6to4svc
|
|
TARGETPATH=OBJ
|
|
|
|
#
|
|
# Use these defines to get a service under svchost
|
|
#
|
|
TARGETTYPE=DYNLINK
|
|
C_DEFINES=-DUNICODE -D_UNICODE -DRPC_NO_WINDOWS -DMPR50=1 -DENTER_DBG -DLOCK_DBG
|
|
USE_NTDLL=1
|
|
DLLENTRY=DLLMAIN
|
|
|
|
|
|
#
|
|
# Use these defines to get a standalone executable
|
|
#
|
|
#TARGETTYPE=PROGRAM
|
|
#C_DEFINES=-DUNICODE -D_UNICODE -DRPC_NO_WINDOWS -DMPR50=1 -DENTER_DBG -DLOCK_DBG -DSTANDALONE
|
|
#USE_MSVCRT=1
|
|
#UMTYPE=console
|
|
#UMAPPL=6to4svc
|
|
|
|
TARGETLIBS= \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\wmip.lib \
|
|
$(SDK_LIB_PATH)\iphlpapi.lib \
|
|
$(SDK_LIB_PATH)\ws2_32.lib \
|
|
$(SDK_LIB_PATH)\rtutils.lib \
|
|
$(SDK_LIB_PATH)\rasapi32.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\ntdll.lib \
|
|
$(NET_LIB_PATH)\uuidnet.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\dnsapi.lib \
|
|
$(SDK_LIB_PATH)\mswsock.lib \
|
|
$(SDK_LIB_PATH)\msvcrt.lib
|
|
|
|
INCLUDES= \
|
|
.; \
|
|
..\inc; \
|
|
$(BASEDIR)\public\internal\net\inc; \
|
|
$(BASEDIR)\public\sdk\inc;
|
|
|
|
SOURCES= \
|
|
6to4svc.c \
|
|
6to4svc.rc \
|
|
dyndns.c \
|
|
getprivate.c \
|
|
ipv6.c \
|
|
main.c \
|
|
proxy.c \
|
|
io.c \
|
|
peer.c \
|
|
client.c \
|
|
server.c \
|
|
common.c \
|
|
svcmain.c
|
|
|
|
NTDEBUGTYPE=both
|
|
|
|
MSC_WARNING_LEVEL=/W4 /WX
|
|
|
|
MSC_OPTIMIZATION=
|