Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.2 KiB

  1. TARGETNAME=rasl2tp
  2. TARGETPATH=obj
  3. TARGETTYPE=DRIVER
  4. # System and NDIS wrapper definitions.
  5. #
  6. C_DEFINES=$(C_DEFINES) -DNDIS50 -DNDIS_MINIPORT_DRIVER -DNDIS50_MINIPORT \
  7. -DBINARY_COMPATIBLE=0 -DNT -DPSDEBUG \
  8. -DNDIS_TAPI_CURRENT_VERSION=0x00030000
  9. # L2TP conditional compile options. See code for description.
  10. #
  11. C_DEFINES=$(C_DEFINES) -DNDISBUFFERISMDL=1 -DALLOCATEIRPS=1 -DROUTEWITHREF=1
  12. # Set TESTMODE in your environment to build with talkative debug defaults
  13. # and other private test code enabled.
  14. #
  15. !ifdef TESTMODE
  16. C_DEFINES=$(C_DEFINES) -DTESTMODE
  17. !endif
  18. PRECOMPILED_INCLUDE=l2tpp.h
  19. TARGETLIBS= $(DDK_LIB_PATH)\ndis.lib \
  20. $(DS_LIB_PATH)\rsa32k.lib
  21. INCLUDES=..\inc; \
  22. $(DS_INC_PATH)\crypto;
  23. SOURCES=\
  24. version.rc \
  25. bpool.c \
  26. cm.c \
  27. debug.c \
  28. fsm.c \
  29. main.c \
  30. mp.c \
  31. ppool.c \
  32. receive.c \
  33. send.c \
  34. tdix.c \
  35. timer.c \
  36. util.c
  37. # merge RSA32K.LIB paged code & data into non-paged sections.
  38. LINKER_FLAGS = $(LINKER_FLAGS) -merge:PAGER32C=.text -merge:PAGER32D=.data -merge:PAGER32R=.rdata
  39. RUN_WPP= $(SOURCES) -km -func:WPLOG(LEVEL,FLAGS,(MSG,...))