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.

98 lines
2.4 KiB

  1. !ifndef ROOT
  2. ROOT=$(MAKEDIR:\as\cpi32.95=)
  3. !endif
  4. !ifndef DEVROOT
  5. DEVROOT=$(ROOT)\dev
  6. !endif
  7. ##############################################################################
  8. # #
  9. # DC-Groupware Core Process Include File #
  10. # #
  11. # Copyright(c) Microsoft 1996 #
  12. # #
  13. ##############################################################################
  14. !include ..\ascom.inc
  15. MAJORCOMP=as
  16. MINORCOMP=cpi32.95
  17. TARGETNAME=nmas
  18. TARGETPATH=$(_OBJ_DIR)
  19. # Note: the order is important - build.exe always uses the last definition
  20. !if "$(386)" != "1"
  21. TARGETTYPE=NOTARGET
  22. !else
  23. TARGETTYPE=DYNLINK
  24. !endif
  25. DLLDEF=..\cpi32\nmas.def
  26. DLLENTRY=DllMain
  27. ALT_PROJECT_TARGET=w95
  28. ASM_DEFINES = $(ASM_DEFINES) -DIS_32=1
  29. INCLUDES = ..\cpi32;..\thk;$(INCLUDES)
  30. BBTCOMP=1
  31. 386_STDCALL=1
  32. # Note that MNMCORP.LIB (no underscore) is the common code to NT, W95
  33. # CRSP is also under LINKLIBs since we export functions it actually has
  34. LINKLIBS =..\cpi32\$(_OBJ_DIR)\*\cpi32.lib \
  35. $(ROOT)\nmutil\nmutila\$(_OBJ_DIR)\*\nmutila.lib
  36. TARGETLIBS=$(DEVROOT)\lib95\kernel32.lib \
  37. $(SDK_LIB_PATH)\advapi32.lib \
  38. $(SDK_LIB_PATH)\user32.lib \
  39. $(SDK_LIB_PATH)\gdi32.lib \
  40. $(SDK_LIB_PATH)\comctl32.lib \
  41. $(ROOT)\lib\*\mst120.lib
  42. C_DEFINES=$(C_DEFINES) -DDLL_CORE -D"_WINDOWS" \
  43. -D"_WIN32_WINNT"=0x0403 -DCPI32_W95 \
  44. -DMULTI_LEVEL_ZONES
  45. #
  46. # List of sources
  47. #
  48. # This is Win95 only
  49. SOURCES=
  50. i386_SOURCES=\
  51. nmas.rc \
  52. cpi32dll.cpp \
  53. asthkls.asm \
  54. global95.cpp \
  55. im.cpp \
  56. osi.cpp
  57. #
  58. # Precompiled specs
  59. #
  60. PRECOMPILED_INCLUDE = precomp.h
  61. PRECOMPILED_PCH = precomp.pch
  62. PRECOMPILED_OBJ = precomp.obj
  63. PRECOMPILED_CXX = 1
  64. NTTARGETFILE0= $(TARGET_DIRECTORY)\asthkls.asm \
  65. nmas.rc \
  66. cpi32dll.cpp
  67. CONDITIONAL_INCLUDES = \
  68. macocidl.h \
  69. macwin32.h \
  70. rpcerr.h \
  71. rpcmac.h \
  72. winwlm.h \
  73. macname1.h \
  74. macname2.h \
  75. macpub.h \
  76. macapi.h