Source code of Windows XP (NT5)
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.

83 lines
1.2 KiB

  1. !ifndef ROOT
  2. ROOT=$(MAKEDIR:\as\hook=)
  3. !endif
  4. !ifndef DEVROOT
  5. DEVROOT=$(ROOT)\dev
  6. !endif
  7. #
  8. # SOURCES
  9. #
  10. # Makefile for nmasnt.dll
  11. #
  12. !include ..\ascom.inc
  13. C_DEFINES=$(C_DEFINES) -DDLL_HOOK -DWINABLE -D_WIN32_WINNT=0x0403
  14. MAJORCOMP=as
  15. MINORCOMP=hook
  16. TARGETNAME=nmasnt
  17. TARGETPATH=$(_OBJ_DIR)
  18. TARGETTYPE=DYNLINK
  19. DLLDEF=hook.def
  20. !if "$(BUILD_PRODUCT)" != "NT"
  21. ALT_PROJECT_TARGET = NT
  22. !endif
  23. 386_STDCALL=1
  24. #BBTCOMP=1
  25. !if $(386)
  26. !UNDEF USE_MSVCRT
  27. !UNDEF USE_LIBCMT
  28. USE_SYSDLL=1
  29. !endif
  30. DLLENTRY = DllMain
  31. LINKLIBS=\
  32. $(ROOT)\nmutil\nmutila\$(_OBJ_DIR)\*\nmutila.lib
  33. TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
  34. $(SDK_LIB_PATH)\advapi32.lib \
  35. $(SDK_LIB_PATH)\user32.lib \
  36. $(SDK_LIB_PATH)\gdi32.lib
  37. #
  38. # List of sources
  39. #
  40. SOURCES=\
  41. hook.rc \
  42. globals.cpp \
  43. het.cpp \
  44. im.cpp \
  45. osi.cpp
  46. #
  47. # Precompiled specs
  48. #
  49. PRECOMPILED_INCLUDE = precomp.h
  50. PRECOMPILED_PCH = precomp.pch
  51. PRECOMPILED_OBJ = precomp.obj
  52. PRECOMPILED_CXX = 1
  53. CONDITIONAL_INCLUDES = \
  54. macocidl.h \
  55. macwin32.h \
  56. rpcerr.h \
  57. rpcmac.h \
  58. winwlm.h \
  59. macname1.h \
  60. macname2.h \
  61. macpub.h \
  62. macapi.h